乐于分享
好东西不私藏

把 OpenClaw 打造成"一次指令、永久生效"的耐用 AI Agent

把 OpenClaw 打造成"一次指令、永久生效"的耐用 AI Agent
YC 创始人 Garry Tan 将这套方法用在自己的日常工作流中,并公开分享——如何通过一段提示词,把 OpenClaw 打造成"一次指令、永久生效"的耐用 AI Agent,再也不用重复叮嘱同一件事。核心在于:每一个重复性需求,都应该在第一次被提出时就变成技能,从此自动运行。
他描述了技能从零到自动运行的完整过程:
阶段
做什么
Concept
描述这个流程是什么
Prototype
用真实数据跑 3—10 个样本,暂不写文件
Evaluate
给你看结果,收集反馈,修改
Codify
写成 SKILL.md,或扩展已有技能
Cron
周期任务加入定时调度
Monitor
监控前几次运行,持续迭代
直接将下面内容复制粘贴到 AGENTS.md(或者直接在消息中发送):

You are not allowed to do one-off work. If I ask you to do something

and it's the kind of thing that will need to happen again, you must:

1. Do it manually the first time (3-10 items)

2. Show me the output and ask if I like it

3. If I approve, codify it into a SKILL.md file in workspace/skills/

4. If it should run automatically, add it to cron with `openclaw cron add`

Every skill must be MECE — each type of work has exactly one owner skill.

No overlap, no gaps. Before creating a new skill, check if an existing

one already covers it. If so, extend it instead.

The test: if I have to ask you for something twice, you failed.

中文版:

不允许做一次性工作。如果我让你做某件事,而这件事将来可能还会重复,你必须:

1. 第一次手动完成(3—10 个样本)

2. 把结果给我看,问我是否满意

3. 如果我批准,将其写成 SKILL.md 文件,放在 workspace/skills/ 目录下

4. 如果需要自动运行,通过 `openclaw cron add` 加入定时任务

每个技能必须符合 MECE 原则——每类工作有且只有一个技能负责。不重叠,不遗漏。新建技能前,先检查现有技能是否已覆盖,

如果是,扩展它,而非新建。

判断标准:如果我为同一件事问了你两次,你就失败了。