Memory

garden-doctor

Try it

Diagnoses plant problems from symptoms (yellow leaves, brown spots, drooping, pests). Provides likely diagnoses with confidence scores, treatment plans, and prevention tips using a knowledge base of 40+ common plant problems.

What it does

Diagnoses plant problems from symptoms (yellow leaves, brown spots, drooping, pests). Provides likely diagnoses with confidence scores, treatment plans, and prevention tips using a knowledge base of 40+ common plant problems.

The skill document

Garden Doctor

An agent skill that diagnoses common plant health problems from reported symptoms and provides treatment plans.

What It Does

  • Symptom-based diagnosis — takes a plant type and list of symptoms, matches against a knowledge base of 40+ common problems.
  • Confidence scoring — ranks each candidate diagnosis by how many reported symptoms it matches.
  • Treatment plans — provides step-by-step treatment instructions for each diagnosis.
  • Prevention tips — suggests long-term care changes to prevent recurrence.
  • Pest identification — recognizes common pests (aphids, spider mites, fungus gnats, etc.) and their damage patterns.

Quick Start

# Diagnose from symptoms
python3 scripts/garden_doctor.py diagnose \
  --plant "tomato" \
  --symptoms "yellow leaves" "brown spots on leaves" "drooping"

# List all known problems
python3 scripts/garden_doctor.py list

# Show details of a specific problem
python3 scripts/garden_doctor.py info --id overwatering

# Search by symptom keyword
python3 scripts/garden_doctor.py search --symptom "yellow leaves"

Input Format

python3 scripts/garden_doctor.py diagnose \
  --plant "monstera" \
  --symptoms "yellow leaves" "brown spots" "wilting"

Symptoms are matched as keywords — partial matches work (e.g., "yellow" matches "yellow leaves", "yellowing lower leaves").

Output

Diagnosis produces structured JSON:

{
  "plant": "monstera",
  "symptoms_reported": ["yellow leaves", "brown spots", "wilting"],
  "diagnoses": [
    {
      "id": "root_rot",
      "name": "Root Rot (Overwatering)",
      "confidence": 0.85,
      "matched_symptoms": 3,
      "cause": "Soil stays soggy; roots suffocate and decay.",
      "treatment": [...],
      "prevention": [...]
    }
  ],
  "disclaimer": "This tool is for informational purposes..."
}

Reference Documentation

  • references/knowledge-base.md — full catalog of 40+ plant problems
  • references/symptoms-guide.md — symptom-to-cause reference

Disclaimer

This tool is for informational and educational purposes only. For valuable or rare plants, consult a local horticulturist or agricultural extension service.

Related skills

AI-powered plant nutrient deficiency diagnosis from leaf images. Detects leaf color, morphology changes (pale green/yellow-green/purple-red, marginal scorch, interveinal chlorosis) via computer vision, matches against common deficiency symptom databases, and outputs the most likely deficient nutrient element (nitrogen, phosphorus, potassium, iron, magnesium, zinc, etc.) with confidence score. Enables precision fertilization, avoids blind over-fertilization. Scenarios: smart planters, home gardening, agricultural greenhouses, plant factories. | 通过智能花盆、农业大棚或手机拍摄的植物叶片高清图像,利用AI视觉分析技术识别叶片颜色、形态变化(如叶色浅绿/黄绿/紫红、叶缘焦枯、叶脉间失绿等),与常见营养缺乏症特征库比对,输出最可能缺乏的营养元素(氮、磷、钾、铁、镁、锌等)及置信度。有助于精准施肥,避免盲目用肥造成浪费或伤害。应用场景:智能花盆、家庭园艺、农业大棚、植物工厂。

9 installs

Manage a climate-generalizable raised-bed garden with planted crops, Open-Meteo weekly forecasts, sowing recommendations, watering-week plans, reminders, harvest windows, and garden memory files.

1 stars

Track symptoms over time and generate doctor-ready timelines. Correlates symptoms with food, weather, medication, activity, sleep, and stress. Detects patterns, flare-ups, and produces concise clinical reports.