AI & Integration v0.1.0

clawdbot-workspace-template-review

Compare a Clawdbot workspace against the official templates installed with Clawdbot (npm or source) and list missing...

xadenryan 更新于 2026-01-13 1 浏览
下载 SKILL

技能说明

Compare a Clawdbot workspace against the official templates installed with Clawdbot (npm or source) and list missing sections to pull in, especially after upgrades.

使用场景

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.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/clawdbot-workspace-template-review
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 18 kB
SKILL.md text/markdown
---
name: clawdbot-workspace-template-review
description: Compare a Clawdbot workspace against the official templates installed with Clawdbot (npm or source) and list missing sections to pull in, especially after upgrades.
---

# 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 `clawdbot` is installed via npm/pnpm globally:
  - `command -v clawdbot`
  - If it points into `.../node_modules/.bin/`, resolve to the sibling `node_modules/clawdbot`
  - Or use `npm root -g` / `pnpm root -g` and look for `clawdbot/`
- 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

1. Identify the workspace root (the user’s “our version” directory).
2. 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

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。