clawdbot-workspace-template-review
Compare a Clawdbot workspace against the official templates installed with Clawdbot (npm or source) and list missing sections to pull in, especially after upgrades.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Workspace Template Diff
Use this skill when the user wants to compare their workspace .md files (AGENTS, SOUL, USER, IDENTITY, TOOLS, HEARTBEAT, etc.) against the official Clawdbot templates, then review missing sections and decide what to add.
Locate the official templates
Find the installed Clawdbot source root:
- If
clawdbotis installed via npm/pnpm globally:-
command -v clawdbot - If it points into
.../node_modules/.bin/, resolve to the siblingnode_modules/clawdbot - Or use
npm root -g/pnpm root -gand look forclawdbot/
-
- If Clawdbot runs from source, use that checkout root (must contain
package.json).
Templates live at:
<clawdbot-root>/docs/reference/templates/
If you can’t find the source root, ask the user where their Clawdbot is installed.
Comparison workflow
- Identify the workspace root (the user’s “our version” directory).
- For each template file in
docs/reference/templates(skip*.dev.md):- Open the official template and the workspace file with the same name.
- Ignore template frontmatter (
---block) and any “First Run”/“Bootstrap” sections. - Compare the remaining sections and list any missing blocks.
Helpful commands (use ad‑hoc CLI tools like diff):
ls <clawdbot-root>/docs/reference/templates
sed -n '1,200p' <clawdbot-root>/docs/reference/templates/AGENTS.md
sed -n '1,200p' <workspace>/AGENTS.md
diff -u <clawdbot-root>/docs/reference/templates/AGENTS.md <workspace>/AGENTS.md
When reporting diffs:
- Show the missing sections verbatim from the official template.
- Explain briefly why they matter, then ask whether to add them.
- Move file by file; skip files that only differ by frontmatter or bootstrap content.
Output format
Use the “missing section” format we used previously:
- File path
- Missing block(s)
- Suggestion + question to proceed
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-30
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!