规划设计小型花园与农场布局,支持伴生种植、间距、光照、轮作及布局导出管理。
园林布局规划器是一项面向实际任务的技能,主要用于设计您的园林, 并配有智能的规划工具, 用于同伴的种植、 间隔和日光需求;@ 快速启动;
它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。使用时应结合输入条件选择合适的执行方式,核对必要参数、依赖环境与输出内容,并按原始要求处理异常情况。该技能适合需要稳定复用相关能力的场景,可作为自动化工作流的一部分,也便于后续检查、调整和扩展。从功能定位来看,该技能强调把分散的操作要求整理成清晰、可复用的处理流程,使用户能够围绕既定目标快速准备输入、选择执行方式并获得结构化结果。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
使用智能规划工具设计您的花园,支持伴生种植(companion planting)、植株间距规划及光照需求分析。
garden_layout.py add-bed "" --width --length --sun "full/partial/shade"
garden_layout.py add-plant "" " " --row --col
garden_layout.py companions ""
garden_layout.py spacing ""
garden_layout.py layout
garden_layout.py export ""
# 定义您的种植床 garden_layout.py add-bed "Bed 1" --width 4 --length 8 --sun "full" garden_layout.py add-bed "Bed 2" --width 3 --length 6 --sun "partial" # 查看伴生种植建议 garden_layout.py companions "tomato" # 最宜与罗勒、胡萝卜、洋葱搭配 garden_layout.py companions "cucumber" # 最宜与豆类、玉米、豌豆搭配 # 按推荐间距添加植物 garden_layout.py add-plant "Bed 1" "tomato" --row 1 --col 1 garden_layout.py add-plant "Bed 1" "basil" --row 1 --col 3 # 伴生植物! garden_layout.py add-plant "Bed 2" "beans" --row 1 --col 1 garden_layout.py add-plant "Bed 2" "corn" --row 2 --col 1 # 伴生植物! # 审阅当前布局 garden_layout.py layout
# 查询哪些植物可良好共存 garden_layout.py companions "carrots" # 适宜与番茄、洋葱、生菜搭配 garden_layout.py companions "onions" # 适宜与胡萝卜、番茄、甜菜搭配 # 避免不良组合 garden_layout.py incompatible "potatoes" # 应避免与番茄、黄瓜同种
# 利用垂直种植提升空间效率 garden_layout.py add-bed "Trellis" --width 1 --length 6 --sun "full" garden_layout.py add-plant "Trellis" "cucumber" --row 1 --col 1 garden_layout.py add-plant "Trellis" "peas" --row 2 --col 1 # 密集种植 + 轮作衔接 garden_layout.py add-bed "Intensive Bed" --width 3 --length 4 --sun "full" garden_layout.py add-plant "Intensive Bed" "lettuce" --row 1 --col 1 garden_layout.py add-plant "Intensive Bed" "radishes" --row 1 --col 2 # 采收快
# 追踪每年种植内容 garden_layout.py add-season "2026" # 初始化全新布局 garden_layout.py add-plant "Bed 1" "tomatoes" --row 1 --col 1 garden_layout.py add-plant "Bed 2" "beans" --row 1 --col 1 # 来年更换作物科属 garden_layout.py add-season "2027" # 新建布局 garden_layout.py add-plant "Bed 1" "carrots" --row 1 --col 1 # 不同科属 garden_layout.py add-plant "Bed 2" "corn" --row 1 --col 1 # 不同科属
| 植物 | 适宜搭配 | 原因 |
|---|---|---|
| Tomatoes | Basil, carrots, onions, marigolds | 罗勒增强风味;胡萝卜驱避害虫 |
| Cucumbers | Beans, corn, peas, radishes | 豆类固氮;玉米提供攀援支撑 |
| Lettuce | Carrots, radishes, onions | 萝卜标记行距;胡萝卜疏松土壤 |
| Peppers | Basil, onions, carrots | 罗勒驱避蚜虫 |
| Beans | Corn, potatoes, cucumbers | 固氮作用惠及邻近作物 |
| Carrots | Tomatoes, onions, lettuce | 洋葱驱避胡萝卜蝇 |
| Corn | Beans, squash, cucumbers | “三姐妹”种植法 |
| Squash | Corn, beans, radishes | 豆类驱避南瓜甲虫 |
| 植物 | 应避免搭配 | 原因 |
|---|---|---|
| Tomatoes | Potatoes, cucumbers, fennel | 易感染相同病虫害 |
| Beans | Onions, garlic | 抑制生长 |
| Carrots | Dill, parsnips | 莳萝吸引胡萝卜蝇 |
| Cucumbers | Potatoes, sage | 土豆争夺空间 |
| Onions | Beans, peas | 抑制豆类生长 |
# 经典北美原住民伴生种植 garden_layout.py add-bed "Three Sisters" --width 8 --length 8 --sun "full" # 在中心种植玉米(提供支撑) garden_layout.py add-plant "Three Sisters" "corn" --row 4 --col 4 # 在玉米周围种植豆类(固氮) garden_layout.py add-plant "Three Sisters" "beans" --row 4 --col 2 garden_layout.py add-plant "Three Sisters" "beans" --row 4 --col 6 # 在边缘种植南瓜(覆盖地表) garden_layout.py add-plant "Three Sisters" "squash" --row 1 --col 1 garden_layout.py add-plant "Three Sisters" "squash" --row 1 --col 8 garden_layout.py add-plant "Three Sisters" "squash" --row 8 --col 1 garden_layout.py add-plant "Three Sisters" "squash" --row 8 --col 8
# 简单伴生种植方案 garden_layout.py add-bed "Tomato Patch" --width 4 --length 6 --sun "full" garden_layout.py add-plant "Tomato Patch" "tomato" --row 1 --col 1 garden_layout.py add-plant "Tomato Patch" "basil" --row 1 --col 3 # 伴生植物! garden_layout.py add-plant "Tomato Patch" "carrots" --row 2 --col 1 # 种于番茄下方 garden_layout.py add-plant "Tomato Patch" "carrots" --row 2 --col 3
# 密集种植方案 garden_layout.py add-bed "Small Space" --width 3 --length 4 --sun "partial" garden_layout.py add-plant "Small Space" "lettuce" --row 1 --col 1 garden_layout.py add-plant "Small Space" "radishes" --row 1 --col 2 # 生长快,可标记行距 garden_layout.py add-plant "Small Space" "lettuce" --row 1 --col 3 garden_layout.py add-plant "Small Space" "spinach" --row 2 --col 1 garden_layout.py add-plant "Small Space" "onions" --row 2 --col 2 garden_layout.py add-plant "Small Space" "spinach" --row 2 --col 3
export 功能会对输出路径执行严格校验,防止恶意写入:
~/.openclaw/workspace/、/tmp/ 及用户主目录/etc/、/usr/、/var/ 等)~/.bashrc、~/.ssh 等)~/.openclaw/workspace/garden_layout_db.json组合使用,实现完整花园管理!
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章