- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add nanocoai/nanoclaw --skill update-skills -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add nanocoai/nanoclaw --skill update-skills -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add nanocoai/nanoclaw --skill update-skills -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add nanocoai/nanoclaw --skill update-skills -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/nanocoai/nanoclaw/tree/HEAD/.claude/skills/update-skills來自發布者
Refresh the code carried by installed channel and provider skills. This does
not re-run credential setup, change .env, alter wiring, or restart services.
Run from the NanoClaw project root. Use ordinary conversation for any choice; do not depend on a provider-specific question or skill-invocation tool.
Require a clean working tree:
git status --porcelain
If it is dirty, stop. Never mix a refresh with unrelated changes.
The default is every installed channel/provider. If the user asked for a
subset, pass its comma-separated names. Otherwise use all:
pnpm exec tsx scripts/update-skills.ts --skills all
# Example subset: --skills slack,opencode
The helper detects installed skills from the real channel/provider barrels. It
resolves each registry branch by checking configured remotes, so a fork whose
origin is the user's repo and whose official source is upstream works
without special handling. NANOCLAW_REGISTRY_REMOTE=<name> is an explicit
override and is validated before use.
The command prints nanoclaw-skill-refresh/v1-shaped JSON fields with one
result per selected skill and exits nonzero unless every selected skill was
fully refreshed.
success is true and every status is refreshed.The refresh engine overwrites skill-owned registry files and advances exact
dependency/CLI-manifest pins. It skips prompts, operator walkthroughs, .env
writes, wiring, restarts, and ordinary build/test directives.
After a successful refresh:
pnpm run build
pnpm test
If files under container/agent-runner/src/ changed, also run:
pnpm exec tsc -p container/agent-runner/tsconfig.json --noEmit
If anything under container/ changed, update the install's agent image using
the source mode already selected in .env:
if grep -q '^NANOCLAW_HARDENED_IMAGE=true$' .env 2>/dev/null; then
./container/build.sh pull
else
./container/build.sh
fi
Any validation or image failure is blocking. Do not restart or report success.
Show the selected skills, the registry remote used for each branch, changed
files, validation results, and any blocking error. If this was a standalone
refresh and the service was running, restart it through the service mode that
actually owns this install and verify data/ncl.sock plus bin/ncl groups list. When called inside /update-nanoclaw, leave restart and health checking
to that transaction.
Refresh installed NanoClaw channel and provider payloads from their registry branches with fork-safe remote resolution and a blocking structured result. Use after updating NanoClaw or whenever install
---name: update-skillsdescription: Refresh installed NanoClaw channel and provider payloads from their registry branches with fork-safe remote…---# .claude/skills/update-skills/SKILL.md總覽
Refresh installed NanoClaw channel and provider payloads from their registry branches with fork-safe remote resolution and a blocking structured result. Use after updating NanoClaw or whenever installed channel/provider code may be stale.
常見問題
從發布者下載 .claude/skills/update-skills/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/nanocoai/nanoclaw。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。