Setup
If ~/garden/ doesn't exist or is empty, read setup.md and follow it. The user engaging with the skill implies interest — start helping them naturally.
When to Use
User needs help managing their garden: tracking plants, logging activities, planning rotations, diagnosing problems, or reviewing harvests. Agent maintains structured memory across seasons.
Architecture
Memory lives in ~/garden/. See memory-template.md for templates.
CODEBLOCK0
Start minimal (just memory.md). Add others only if user wants detailed tracking.
Quick Reference
| Topic | File |
|---|
| Setup process | INLINECODE4 |
| Memory template |
memory-template.md |
| Plant & zone templates |
tracking.md |
| Climate configuration |
climate-setup.md |
| Problem diagnosis |
diagnostics.md |
| Rotation planning |
planning.md |
Core Rules
1. Plant Registry
Each plant gets a file in
plants/ with: variety, planting date, zone, care schedule, health history. Load on request, not by default.
2. Zone Management
Each garden area gets a file in
zones/ with: conditions, current plants, rotation history. Enforce 3-year minimum before repeating same plant family.
3. Activity Logging
Log actions in
log/YYYY-MM.md with icons: 🌱 plant, 💧 water, 🐛 pest, 🍅 harvest, ✂️ prune, 🌡️ weather event.
4. Climate Awareness
User configures climate file with USDA zone and frost dates. Use for planting window calculations and seasonal alerts.
5. Harvest Tracking
Log yields in harvests file with date, plant, zone, quantity. Enables season-over-season comparison and variety evaluation.
6. Problem Diagnosis
When user reports issue: check plant health history, zone conditions, recent weather. See
diagnostics.md for symptom reference.
7. Tiered Storage
- - Memory file = current focus, always loaded first
- Plant/zone files = load on demand
- Log archives = historical reference only
Common Queries
- - "What needs water?" - check care schedules vs last log
- "What can I plant now?" - frost dates + rotation rules
- "Why yellow leaves?" - diagnostic flow in INLINECODE14
- "Show tomato history" - load plant file
- "Last year's harvest?" - aggregate from harvests file
Garden Traps
- - Planting same family in same zone within 3 years - diseases compound
- Ignoring microclimate differences between zones - timing varies
- Not logging problems when they occur - diagnosis harder later
- Overwatering based on schedule not soil - check before watering
Security & Privacy
Data that stays local:
- - All garden data stored in INLINECODE15
- No external APIs or network calls
- No telemetry, analytics, or data collection
What this skill writes:
- - Files in
~/garden/ (memory.md, plants/, etc.) - Optionally: one line in user's workspace MEMORY.md (e.g., ~/MEMORY.md or equivalent) — only after asking and receiving explicit "yes"
This skill does NOT:
- - Infer or save preferences without user confirmation
- Access weather APIs (climate is manually configured)
- Control hardware or irrigation systems
- Write outside
~/garden/ without asking first - Make any network requests
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
plants — Plant care and identification - INLINECODE20 — Daily habit tracking
- INLINECODE21 — General journaling
- INLINECODE22 — Reminder scheduling
- INLINECODE23 — Day planning
Feedback
- - If useful: INLINECODE24
- Stay updated: INLINECODE25
技能名称:花园
设置
如果 ~/garden/ 不存在或为空,请阅读 setup.md 并按照说明操作。用户使用该技能即表示有兴趣——自然地开始帮助他们。
使用时机
用户需要管理他们的花园:追踪植物、记录活动、规划轮作、诊断问题或回顾收成。智能体需跨季节维护结构化记忆。
架构
记忆存储在 ~/garden/ 中。模板请参见 memory-template.md。
~/garden/
├── memory.md # 必需:上下文和状态
├── climate.md # 可选:区域、霜冻日期
├── plants/ # 可选:详细的植物文件
├── zones/ # 可选:区域追踪
└── harvests.md # 可选:产量记录
从最小配置开始(仅 memory.md)。仅在用户需要详细追踪时添加其他文件。
快速参考
memory-template.md |
| 植物和区域模板 | tracking.md |
| 气候配置 | climate-setup.md |
| 问题诊断 | diagnostics.md |
| 轮作规划 | planning.md |
核心规则
1. 植物登记
每株植物在 plants/ 中有一个文件,包含:品种、种植日期、区域、养护计划、健康历史。按需加载,默认不加载。
2. 区域管理
每个花园区域在 zones/ 中有一个文件,包含:条件、当前植物、轮作历史。同一植物科属重复种植前,强制间隔至少3年。
3. 活动记录
在 log/YYYY-MM.md 中记录活动,使用图标:🌱 种植、💧 浇水、🐛 虫害、🍅 收获、✂️ 修剪、🌡️ 天气事件。
4. 气候感知
用户配置气候文件,包含 USDA 耐寒区和霜冻日期。用于种植窗口计算和季节性提醒。
5. 收获追踪
在收获文件中记录产量,包含日期、植物、区域、数量。支持跨季节比较和品种评估。
6. 问题诊断
当用户报告问题时:检查植物健康历史、区域条件、近期天气。症状参考见 diagnostics.md。
7. 分层存储
- - 记忆文件 = 当前关注点,始终优先加载
- 植物/区域文件 = 按需加载
- 日志归档 = 仅作为历史参考
常见查询
- - 哪些需要浇水? - 检查养护计划与上次记录
- 现在可以种什么? - 霜冻日期 + 轮作规则
- 为什么叶子发黄? - 按 diagnostics.md 中的诊断流程
- 查看番茄历史 - 加载植物文件
- 去年的收成? - 从收获文件汇总
花园陷阱
- - 同一科属植物在3年内种在同一区域——病害会累积
- 忽略区域间的微气候差异——生长时机不同
- 问题发生时未记录——后期诊断更困难
- 按计划而非土壤状况过度浇水——浇水前先检查
安全与隐私
本地存储的数据:
- - 所有花园数据存储在 ~/garden/ 中
- 无外部 API 或网络调用
- 无遥测、分析或数据收集
本技能会写入:
- - ~/garden/ 中的文件(memory.md、plants/ 等)
- 可选:在用户工作区的 MEMORY.md(例如 ~/MEMORY.md 或等效文件)中添加一行——仅在询问并获得明确是后
本技能不会:
- - 未经用户确认推断或保存偏好
- 访问天气 API(气候为手动配置)
- 控制硬件或灌溉系统
- 未经询问写入 ~/garden/ 之外
- 发起任何网络请求
相关技能
如果用户确认,使用 clawhub install
安装:
- - plants — 植物养护和识别
- habits — 日常习惯追踪
- journal — 通用日记
- remind — 提醒安排
- daily-planner — 每日规划
反馈
- - 如果觉得有用:clawhub star garden
- 保持更新:clawhub sync