Pest & Disease Tracker
Track and manage garden pests and diseases with treatment tracking.
Quick Start
Add a pest or disease
CODEBLOCK0
Record treatment
CODEBLOCK1
List all issues
CODEBLOCK2
Show problem details
CODEBLOCK3
Search issues
CODEBLOCK4
Get treatment recommendations
CODEBLOCK5
Export data
CODEBLOCK6
Usage Patterns
For pest identification and tracking
CODEBLOCK7
For disease management
CODEBLOCK8
For preventive planning
CODEBLOCK9
Problem Types
Common Pests
- - Aphids - Small sap-suckers, distort new growth
- Slugs - Eat leaves, leave slime trails
- Caterpillars - Eat foliage and fruit
- Cucumber Beetles - Chew leaves, spread wilt disease
- Japanese Beetles - Skeletonize leaves
- Squash Bugs - Pierce stems, cause wilting
- Spider Mites - Webbing, yellow stippling
- Thrips - Scarring, distorted growth
- Whiteflies - Yellow leaves, sticky honeydew
Common Diseases
- - Early Blight - Dark spots on tomatoes
- Late Blight - White fuzzy growth
- Powdery Mildew - White powdery coating
- Downy Mildew - Yellow patches, purple growth
- Blossom End Rot - Blossoms fall off
- Verticillium Wilt - Plants wilt and die
- Bacterial Spot - Water-soaked spots
- Anthracnose - Sunken lesions
Treatment Recommendations
Organic/Natural Treatments
- - Neem Oil - Broad-spectrum insecticide, safe for beneficials
- Insecticidal Soap - Kills soft-bodied insects on contact
- Diatomaceous Earth - Mechanical insect control
- Bacillus thuringiensis - Bt for caterpillars
- Copper Fungicide - Organic disease control
- Sulfur Fungicide - Powdery mildew control
- Compost Tea - Boosts plant immunity
- Beneficial Insects - Ladybugs, lacewings, parasitic wasps
- Barriers - Row covers, collars, netting
Chemical Treatments
- - Pyrethrin - Synthetic insecticide
- Imidacloprid - Systemic insecticide
- Chlorothalonil - Broad-spectrum fungicide
- Mancozeb - Multi-site fungicide
- Captan - Seed treatment and fungicide
Always follow label directions and safety precautions.
Severity Levels
| 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 |
Examples
Aphid outbreak on tomatoes
CODEBLOCK10
Early blight on tomatoes
CODEBLOCK11
Slug problem on lettuce
CODEBLOCK12
Search Features
- - Search by problem name
- Filter by type (pest/disease)
- Search by affected plants
- View treatment history
- Track treatment effectiveness
Security
Path Validation
The
export function validates output paths to prevent malicious writes:
- - ✅ Allowed:
~/.openclaw/workspace/, /tmp/, and home directory - ❌ Blocked: System paths (
/etc/, /usr/, /var/, etc.) - ❌ Blocked: Sensitive dotfiles (
~/.bashrc, ~/.ssh, etc.)
Data Storage
- - Pest data stored in: INLINECODE8
- Each problem tracks: type, name, affected plants, severity, treatments, status
- Treatment history includes: method, product, date, effectiveness, notes
- JSON format makes it easy to backup or migrate
Best Practices
- 1. Identify early - Treat problems before they spread
- Monitor regularly - Check plants daily during growing season
- Use IPM - Integrated Pest Management combines methods for best results
- Document treatments - Track what worked and what didn't
- Prevent first - Barriers and beneficials reduce need for treatments
- Rotate treatments - Prevent pest resistance
- Follow labels - Chemical treatments need proper application
- Improve conditions - Many problems thrive in stressed plants
Prevention Tips
Prevent Pests
- - Crop rotation - Breaks pest life cycles
- Barriers - Row covers, netting, collars
- Beneficial insects - Ladybugs, lacewings, praying mantises
- Clean garden - Remove debris that harbors pests
- Companion planting - Repel pests with specific plants
Prevent Diseases
- - Water correctly - Avoid wetting foliage
- Improve airflow - Space plants properly, prune regularly
- Clean tools - Disinfect between plants
- Use disease-resistant varieties - When available
- Sanitize soil - Solarization, crop rotation
Related Skills
- - plant-tracker - Track individual plants and care schedules
- seasonal-planting-guide - What to plant when, by zone
- garden-layout-planner - Design gardens with companion planting
Use together for complete garden management!
病虫害追踪器
追踪并管理花园病虫害,附带治疗记录功能。
快速入门
添加病虫害
bash
pest_tracker.py add --type pest --name aphids --plants tomatoes,peppers
记录治疗
bash
pest_tracker.py treat
--method --product --notes
列出所有问题
bash
pest_tracker.py list
查看问题详情
bash
pest_tracker.py show
搜索问题
bash
pest_tracker.py search
获取治疗建议
bash
pest_tracker.py recommend
导出数据
bash
pesttracker.py export