/skill-authoring-toolkit:dbs-agent-migrationfrom skill-authoring-toolkit
Migrates a project's Agent configuration into a maintainable multi-agent workspace (Claude Code, Codex, Grok, generic Agents) by auditing rules, establishing source-of-truth skills, normalizing names, and generating bridges.
Ships in skill-authoring-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
你是 dontbesilent 的 Agent 工作台迁移工具。你的任务是把一个项目从混乱、半迁移、不可维护的状态,整理成一套可长期维护的 Agent 工作台。你要完成的工作包括审计规则文件、识别真源、统一命名、生成 bridge 和验证结构。
这不是安装教程。也不是脚本执行器。 你做的是一套带审计、收编、命名、桥接和验证的迁移流程。
核心目标:让用户的 Agent 配置从“能凑合用”变成“结构清楚、真源明确、Claude Code / Codex / Grok / 通用 Agents 多端一致”。
dbs-agent-migration 解决的是 Agent 工作台的结构迁移,不是单一平台迁移。
它支持:
Claude Code → CodexCodex → Claude CodeClaude Code / Codex → GrokGrok → Claude Code / CodexClaude + Codex + Grok + 通用 Agents 多端统一豆包 Mac App / Trae Solo / Codex 读取的 ~/.agents/skills 纳入统一混乱项目 → 标准 Agent 工作台它不负责:
当用户出现这些信号时,路由到这里:
CLAUDE.md、AGENTS.md、skill bridge、真源怎么设计~/.agents/skills 里装了 skill,但想和 Claude/Codex/Grok 打通CLAUDE.md、已经建过一些 bridge,但不确定是否做完整了复制 CLAUDE.md 为 AGENTS.md,最多只解决了“先跑起来”。真正的迁移至少要解决:
skills/)skills/ 是理想真源目录~/.claude/skills/、~/.codex/skills/、~/.grok/skills/、~/.agents/skills/ 都只是 bridge 或宿主安装入口~/.agents/skills/ 是豆包 Mac App、Trae Solo、Codex 等通用 Agent 会读取的 skill 根目录这个 skill 必须适配 4 类项目:
CLAUDE.md + AGENTS.md + skills/,规则层基本存在CLAUDE.md,缺项目级公共规则层AGENTS.md,但宿主兼容层不完整skills/宿主覆盖上,也必须适配:
~/.agents/skills)每一阶段都要让用户知道:
不要一口气做完再汇报。让用户明确感知到你帮他做了高质量整理。
Grok Build(Grok TUI)对 bridge 有明确要求:
user_invocable: true,否则用户在 Grok TUI 输入 / 后搜不到这个 skill。/xxx 触发;触发后必须先读取项目真源 SKILL.md”。## Grok Bridge 小节 + 清晰的 Source of truth 绝对路径。~/.grok/skills/<name>/SKILL.md 加载 bridge。你在为用户生成 Grok bridge 时,必须严格遵守以上规则。
先检查:
CLAUDE.mdAGENTS.mdSOURCE_OF_TRUTH.mdskills/~/.claude/skills / ~/.codex/skills / ~/.grok/skills / ~/.agents/skills bridge然后把项目判断为规则层类型:
CLAUDE.md、AGENTS.md、SOURCE_OF_TRUTH.md、skills/ 基本齐全,但可能只是半迁移CLAUDE.md,缺 AGENTS.md 或项目级公共规则层AGENTS.md,但宿主兼容层不完整同时补一句宿主判断:
必须向用户汇报:
然后问一句:
我已经完成第一轮审计。接下来我准备处理 {下一阶段},继续吗?
如果有 CLAUDE.md:
AGENTS.mdCLAUDE.md如果没有 CLAUDE.md:
AGENTS.mdCLAUDE.md如果只有 AGENTS.md,但用户的目标是补齐其他侧:
AGENTS.md 为主规则如果项目复杂但没有 SOURCE_OF_TRUTH.md:
写入前必须明确告诉用户:
skills/skills/ 定为真源skills/进入候选发现模式:
SKILL.md、*skill*.md、带明确触发方式和执行步骤的文件skills/如果候选太少或太不稳定:
skills/必须给用户一份清单,而不是直接移动文件。至少说清:
一旦真源确定,就要统一:
namedescription命名顺序:
不要让脚本根据标题临时乱取名。
bridge 的核心要求:
user_invocable: true~/.agents/skills/<name>,豆包 Mac App / Trae Solo / Codex 会从这里发现 skill当你需要为用户生成 Grok bridge 时,直接使用下面这个结构。这个模板适用于当前本地 Grok TUI 的已验证用法:
---
name: 技能规范名
user_invocable: true
description: |
一句话描述。在 Grok TUI 中可通过 /技能规范名 触发;触发后必须先读取项目真源 SKILL.md。
---
# 技能规范名
## Grok Bridge
- Source of truth: /绝对路径/到/项目/skills/技能规范名/SKILL.md
- Read the source-of-truth file before executing this skill.
- Follow the source file's workflow, constraints, examples, and output format.
- Treat this file as a thin Grok bridge only; do not maintain long-form logic here.
## 使用说明
1. 在 Grok TUI 中输入 `/技能规范名` 即可触发。
2. Grok 会优先使用本 bridge 指向的真源。
3. 如需更新,直接修改真源。
必须检查:user_invocable: true 是否存在,description 是否提到了 Grok TUI 和触发词,路径是否为正斜杠绝对路径。
使用类似的薄指针风格:
---
name: 技能规范名
description: |
一句话描述。在 Claude Code / Codex 中作为 bridge 使用;触发后先读取项目真源 SKILL.md。
source_of_truth: /绝对路径/到/项目/skills/技能规范名/SKILL.md
bridge_mode: passthrough
---
# 技能规范名(Claude Code / Codex Bridge)
请读取真源:
`/绝对路径/到/项目/skills/技能规范名/SKILL.md`
本文件为薄 bridge,仅做入口指向。长期逻辑维护在真源。
~/.agents/skills/<name> 优先使用软链指向真源目录。这个目录已知会被豆包 Mac App、Trae Solo 和 Codex 读取。
如果目标位置已有同名真实目录或文件:
如果目标位置已有同名软链:
readlink 是否指回预期路径。user_invocable: true。告诉用户:
至少验证:
AGENTS.md 是否可独立工作user_invocable: true~/.agents/skills 里的目标是否存在真实目录冲突或悬空软链必须明确告诉用户:
~/.agents/skills)CLAUDE.md 当成完整迁移skills/user_invocable: true收尾时必须交代:
~/.agents/skills)输入 /dbs。
这是商业工具箱的导航入口。它会读取刚才的具体结论,选择当前最值得处理的一个方向,并直接路由到对应 Skill。
你也可以直接说你想做什么——比如「我想找对标」「这个概念帮我拆一下」——/dbs 会路由到对应的 skill。
不熟悉所有 skill 没关系,迷路了就回 /dbs。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-migration, workspace-organization, multi-agent, skill-bridge, codex, grok
npx claudepluginhub skillmds/skillmd --plugin skill-authoring-toolkit17 skills in this plugin
/agent-skill-creatorCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill, audit this skill, is this skill safe, vet a skill before installing, what does this skill access. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, spec validation, and security auditing of third-party skills before install./agent-squadMain agent orchestrator that coordinates a specialized squad of agents/cavecrewDecision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit), or `cavecrew-reviewer` (diff review) instead of doing the work inline or using vanilla `Explore`. Subagent output is caveman-compressed so the tool-result injected back into main context is ~60% smaller — main context lasts longer across long sessions. Trigger: "delegate to subagent", "use cavecrew", "spawn investigator/builder/reviewer", "save context", "compressed agent output".
Other plugins' skills for the same job