用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill update-tools命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | update-tools |
| description | | Use when this capability is needed. |
You are the /update-tools skill. Your job is to verify that this machine has
every external dependency the auto-claude brain expects, and — with the user's
per-item consent — install anything missing.
The user's policy is always ask per item before applying any fix. You MUST
NOT silently install, copy, modify shell config, or change ~/.claude.json.
Even for "safe" operations like copying an agent markdown file into
~/.claude/agents/, ask first. A --yes batch flag does not exist — respect
the policy.
For high-friction items (MCP configs, auth flows, shell config edits), do NOT apply fixes at all. Print copy-pasteable instructions and let the user apply them manually.
Try these paths in order. Stop at the first hit:
$PWD/command-center/setup-tools/install.md$PWD looking for .brainignore (project-root marker). If found,
check <project-root>/command-center/setup-tools/install.md.$PWD looking for a .git directory that contains a
command-center/setup-tools/install.md (auto-claude repo itself, where
the brain author runs this skill).~/.cache/auto-claude/source.git exists, use
git --git-dir=~/.cache/auto-claude/source.git show HEAD:command-center/setup-tools/install.md.If no install.md is found, abort with:
Cannot locate install.md. Run this skill from inside an auto-claude consumer project, from the auto-claude repo itself, or after
auto-claude inithas populated~/.cache/auto-claude/source.git.
Read the located install.md in full before proceeding.
Walk every section of install.md and build an inventory of verifiable items. The source of truth is install.md itself; if a section is added or removed upstream, the skill adapts on next invocation.
Categorize each expected item into one of three risk tiers:
~/.claude/agents/<name>.md.
Fix: cp from a known cache (e.g. ~/.cache/voltagent/, ~/.cache/gstack/,
~/.cache/darcyegb-agents/) to ~/.claude/agents/. If no cache exists yet,
surface the git clone command from the relevant install.md section and
prompt before running.~/.claude/skills/<name>/SKILL.md.
Fix: cp -r from the source cache to ~/.claude/skills/, or ln -s if
the source is in a persistent location.$PATH).
Fix: run the install command from install.md (e.g. npm install -g task-master-ai,
bash <(curl -fsSL cli.new) for Railway). Show the exact command in the
prompt so the user knows what will execute.~/.claude.json or ~/.mcp.json.
Do NOT edit the file yourself. Print the exact JSON fragment from
install.md § 5 (matched to the specific MCP), formatted for copy-paste:
Paste this into ~/.mcp.json under the "mcpServers" key:
{
"aidesigner": {
"type": "http",
"url": "https://api.aidesigner.ai/api/v1/mcp"
}
}
Then restart Claude Code.
gh auth login, railway login, etc.) and the link to the relevant
install.md section.~/.claude/settings.json,
SSH keep-alive, tmux plugins). Print the config fragment and target path.
Explicitly do not write to these files.For each expected item, run the appropriate check:
| Item type | Check |
|---|---|
| Global CLI | which <cmd> → exit 0 = present |
| Agent file | [[ -f ~/.claude/agents/<name>.md ]] |
| Skill directory | [[ -d ~/.claude/skills/<name> ]] with a SKILL.md inside |
| Plugin | Check ~/.claude/plugins/installed_plugins.json for the plugin name |
| MCP server | Look in ~/.mcp.json top-level mcpServers + ~/.claude.json per-project mcpServers. Match by name. |
| Shell hook | Check ~/.claude/settings.json hooks key for the matcher |
Batch the Bash calls where possible — chain which checks for CLIs in one
command, ls checks for agents in one call. Don't burn 20 separate Bash
invocations on what could be 3.
After checks complete, print a summary before prompting anything:
### Setup audit
Checked: <N> items across <M> categories from install.md
Present: <count>
Missing: <count> (<low> low-risk, <med> medium-risk, <high> high-friction)
Then iterate through missing items, grouped by tier. For each low and medium-risk item, use AskUserQuestion with the options:
[install] — run the fix now[skip] — do not install; leave the item missing; continue[abort] — stop the skill; exit with a summaryFor high-friction items, print the copy-pasteable instructions without a prompt — the user applies them manually.
When the user chooses [install] for a medium-risk item, run the install
command via Bash. Report success or failure. Do not catch-and-hide errors;
if npm install -g task-master-ai fails, show the error and move on to the
next item.
When all items have been processed, print:
### Setup audit — complete
Before: <N> missing
Installed this run: <count>
Still missing (skipped or high-friction pending manual action): <count>
- <item1> [reason: <skipped | manual action needed>]
- <item2> ...
Next steps:
<if any high-friction items> Apply the printed instructions above, then re-run /update-tools.
<if all clean> Setup verified. Proceed to onboarding v0 (or your next action).
Exit cleanly. Do not leave ambiguous state.
auto-claude sync, not through this skill.[abort] mid-run: print the summary of what was already
installed this run, and exit.If the user invoked this skill with no arguments, run the full audit.
If the user passes a subcommand like /update-tools agents or
/update-tools mcps, scope the audit to that category only.
Recognized subcommand filters (optional):
agents — only check sections 2a/2b/2cskills — only check sections 3a/3b/3cmcps — only check section 5clis — only check section 1plugins — only check section 4shell — only check section 6Source: claudomat-dev/claudomat-mini — distributed by TomeVault.