Track garden pests and diseases with treatments. Identify problems, track treatments, and monitor effectiveness. Use when dealing with garden pests, plant diseases, or treatment planning. Security: file exports restricted to safe directories. Perfect for home gardeners and small farmers managing plant health.
Track and manage garden pests and diseases with treatment tracking.
pest_tracker.py add --type "pest" --name "aphids" --plants "tomatoes,peppers"
pest_tracker.py treat "<id>" --method "<method>" --product "<product>" --notes "<notes>"
pest_tracker.py list
pest_tracker.py show "<id>"
pest_tracker.py search "<query>"
pest_tracker.py recommend "<problem>"
pest_tracker.py export "<output_file>"
# Add pest sightings
pest_tracker.py add --type "pest" --name "aphids" --plants "tomatoes" --severity "moderate"
pest_tracker.py add --type "pest" --name "slugs" --plants "lettuce,hostas" --severity "high"
# Get treatment recommendations
pest_tracker.py recommend "aphids"
# Output: Neem oil, insecticidal soap, ladybugs
# Record treatments
pest_tracker.py treat <id> --method "spray" --product "neem oil" --notes "Apply in evening, reapply in 7 days"
pest_tracker.py treat <id> --method "natural" --product "ladybugs" --notes "Released 100 ladybugs"
# Add diseases
pest_tracker.py add --type "disease" --name "early blight" --plants "tomatoes" --severity "critical"
pest_tracker.py add --type "disease" --name "powdery mildew" --plants "squash" --severity "moderate"
# Get treatment options
pest_tracker.py recommend "early blight"
# Output: Copper fungicide, remove affected leaves, improve air circulation
# Track treatment effectiveness
pest_tracker.py treat <id> --method "remove" --product "fungicide" --status "effective"
# Document common issues in your garden
pest_tracker.py add --type "pest" --name "cucumber beetles" --plants "cucumbers,melons" --severity "low" --notes "Prevent with row covers"
# Set up prevention schedule
pest_tracker.py recommend "cucumber beetles"
# Output: Row covers, beneficial nematodes, crop rotation
Always follow label directions and safety precautions.
| Level | Description | Action Timeline |
|---|---|---|
| low | Minor annoyance, limited damage | Treat within 7 days |
| moderate | Noticeable damage, spreading | Treat within 3-5 days |
| high | Significant damage, severe impact | Treat within 1-2 days |
| critical | Plant death or total crop loss | Treat immediately |
# Add the problem
pest_tracker.py add --type "pest" --name "aphids" --plants "tomatoes" --severity "high" \
--notes "Found on new growth, honeydew present"
# Get treatment options
pest_tracker.py recommend "aphids"
# Output: Neem oil, insecticidal soap, ladybugs, strong water spray
# Apply treatment
pest_tracker.py treat <id> --method "spray" --product "neem oil" \
--notes "Spray every 2-3 days for 2 weeks, apply in evening"
# Add disease
pest_tracker.py add --type "disease" --name "early blight" --plants "tomatoes" --severity "critical" \
--notes "Found on lower leaves, rainy weather, needs immediate action"
# Get recommendations
pest_tracker.py recommend "early blight"
# Output: Copper fungicide, remove affected leaves, improve air circulation, avoid overhead watering
# Apply treatment
pest_tracker.py treat <id> --method "remove" --product "copper fungicide" \
--notes "Applied fungicide, removed worst leaves, spaced plants for airflow"
# Add pest
pest_tracker.py add --type "pest" --name "slugs" --plants "lettuce,hostas" --severity "moderate" \
--notes "Slime trails visible, holes in leaves"
# Get options
pest_tracker.py recommend "slugs"
# Output: Beer traps, diatomaceous earth, copper tape, beneficial nematodes
# Set up traps
pest_tracker.py treat <id> --method "traps" --product "beer traps" \
--notes "Set up 5 beer traps around bed, check daily"
The export function validates output paths to prevent malicious writes:
~/.openclaw/workspace/, /tmp/, and home directory/etc/, /usr/, /var/, etc.)~/.bashrc, ~/.ssh, etc.)~/.openclaw/workspace/pest_tracker_db.jsonUse together for complete garden management!