Agent Essentials
This skill has two jobs:
- 1. Expand capabilities — discover better capability paths before declaring failure.
- Self-improve — capture important lessons and route them to the right durable layer.
Capability Expansion
Core idea
Do not stop at “I can’t,” “there’s no built-in way,” or “I don’t have a skill for that” without checking whether a better capability path exists.
Trigger signals
Use this skill when the request implies:
- - external platform support
- workflow automation
- system integration
- repeatable operational tasks
- a likely capability gap that built-in tools do not clearly cover
Common user phrasing includes:
- - “automate X”
- “integrate with X”
- “add a workflow for X”
- “support X platform”
- “help me do this in X”
Workflow
- 1. Detect the gap
- Determine whether the request requires a reusable capability, external platform workflow, or operational integration rather than a one-off answer.
- Ask whether the current tool/skill set is clearly sufficient.
- 2. Search
- Check local skills and ClawHub before concluding that nothing exists.
- Prefer thorough discovery over improvising a weak workaround too early.
- Recommend
1–3 candidates with
one clear best fit.
- 3. Act
- Install the recommended skill if the user wants it.
- If no strong match exists, choose the best fallback:
- do the task directly
- create a custom skill
- refine the search
Self-Improvement
Core idea
When something meaningful is learned, preserve the minimum useful lesson so future behavior improves.
Trigger signals
Use this part of the skill after:
- - a meaningful failure
- a user correction
- a recurring mistake
- discovery of a better workflow
Do not log trivial failures or one-off noise.
Workflow
- 1. Capture
- Record the smallest useful unit:
- what happened
- what is actually correct
- what to do next time
- 2. Route
- Store the learning in the right place:
| Type | Destination |
|---|
| Session note | Daily memory / learnings file |
| Workflow rule |
AGENTS.md |
| Tool gotcha |
TOOLS.md |
| Voice / boundary pattern |
SOUL.md |
| User preference |
USER.md or long-term memory |
| Missing capability | Skill discovery or skill creation |
- 3. Promote
- Promote a lesson into durable guidance only if it is:
-
recurring
-
high-value
-
broadly reusable
-
likely to prevent future mistakes
- Keep one-off lessons local.
Decision Tree
CODEBLOCK0
Principles
- - Search before saying “nothing exists.”
- Prefer short useful learnings over elaborate templates.
- Do not promote one-off lessons into permanent doctrine.
- Do not install weak-matching skills just to reduce uncertainty.
- Do not rewrite major workspace files casually.
Agent Essentials
此技能有两个职责:
- 1. 扩展能力 — 在宣告失败前,先探索更优的能力路径。
- 自我改进 — 捕捉重要经验教训,并将其路由至正确的持久化层。
能力扩展
核心理念
不要止步于我做不到、没有内置方法或我没有相关技能,而应先检查是否存在更优的能力路径。
触发信号
当请求涉及以下内容时使用此技能:
- - 外部平台支持
- 工作流自动化
- 系统集成
- 可重复的操作任务
- 内置工具无法明确覆盖的能力缺口
常见用户表述包括:
- - 自动化X
- 与X集成
- 为X添加工作流
- 支持X平台
- 帮我在X中完成这个
工作流程
- 1. 检测缺口
- 判断请求是否需要可复用的能力、外部平台工作流或操作集成,而非一次性答案。
- 询问当前工具/技能集是否明显足够。
- 2. 搜索
- 在得出不存在的结论前,先检查本地技能和ClawHub。
- 优先进行彻底搜索,而非过早拼凑临时方案。
- 推荐
1-3个候选方案,并明确
最佳匹配项。
- 3. 执行
- 如果用户需要,安装推荐的技能。
- 若无强匹配项,选择最佳后备方案:
- 直接完成任务
- 创建自定义技能
- 优化搜索
自我改进
核心理念
当学到有意义的内容时,保留最小有用的经验教训,以便未来行为得到改进。
触发信号
在以下情况后使用此技能部分:
不要记录琐碎的失败或一次性噪音。
工作流程
- 1. 捕捉
- 记录最小有用单元:
- 发生了什么
- 实际正确做法是什么
- 下次该怎么做
- 2. 路由
- 将学习内容存储到正确位置:
AGENTS.md |
| 工具陷阱 | TOOLS.md |
| 语气/边界模式 | SOUL.md |
| 用户偏好 | USER.md 或长期记忆 |
| 缺失能力 | 技能发现或技能创建 |
- 3. 提升
- 仅当经验教训满足以下条件时才提升为持久化指导:
-
重复出现
-
高价值
-
广泛可复用
-
可能防止未来错误
- 将一次性经验教训保留在本地。
决策树
text
发生了值得注意的事情
├─ 能力缺口?
│ └─ 搜索 → 推荐 → 安装或后备方案
├─ 值得保留的经验教训?
│ └─ 捕捉 → 路由 → 如重复出现则提升
└─ 两者都不是
└─ 正常继续
原则
- - 在说不存在之前先搜索。
- 优先使用简短有用的学习内容,而非复杂模板。
- 不要将一次性经验教训提升为永久准则。
- 不要为了减少不确定性而安装匹配度低的技能。
- 不要随意重写主要工作区文件。