Agent skill

NanoClaw Skill Payload Refresh

by nanocoai in nanocoai/nanoclaw

Refreshes the code of installed NanoClaw channel and provider skills from their registry branches, with fork-aware remotes and a result that must be fully successful.

MITAuto-check: notesAgent Workflows

Install NanoClaw Skill Payload Refresh

skills CLI
$ npx skills add nanocoai/nanoclaw --skill update-skills -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nanocoai/nanoclaw update-skills --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nanocoai/nanoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/update-skills .claude/skills/update-skills && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
update-skills
GitHub stars
31k
Token cost
~786 tokens
SKILL.md length
350 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Refreshes the code of installed NanoClaw channel and provider skills from their registry branches, with fork-aware remotes and a result that must be fully successful.

  • Works in 4 steps: Preflight and selection → Treat the JSON result as a gate → Validate the composed checkout → …
  • After updating NanoClaw, when installed channel or provider code may be stale
  • SKILL.md covers 1. Preflight and selection, 2. Treat the JSON result as a…, 3. Validate the composed… and 4. Report
  • Calls pnpm and git

What it does

After a NanoClaw update, installed channel and provider code can fall behind. This skill refreshes it without re-running credential setup, editing `.env`, changing wiring or restarting services. It requires a clean working tree, then runs `scripts/update-skills.ts` for all installed skills or a comma-separated subset. The helper finds installed skills from the real barrels and resolves each registry branch through configured remotes, so a fork whose `origin` is yours and whose official source is `upstream` works, with `NANOCLAW_REGISTRY_REMOTE` as a validated override.

The command prints structured JSON with one result per skill and exits nonzero unless every skill refreshed, and the agent treats that as a gate: a missing skill, fetch error or dependency error blocks progress and nothing is recorded as done. Afterwards it runs the build and tests, a type check of the container agent runner if its sources changed, and an agent image update, pulling when the hardened image setting is on. Any failure means no restart and no success report.

When your agent uses it

  • After updating NanoClaw, when installed channel or provider code may be stale
  • Refreshing only a few installed skills, such as slack and opencode
  • Updating a fork where the official source is a separate upstream remote

Example prompts

  • “Refresh all installed NanoClaw channel and provider skills after my update.”
  • “Update only the slack and opencode payloads and show me the JSON result.”
  • “My working tree has unrelated edits. Can I run the skill refresh now?”

Requirements

  • A NanoClaw checkout with a clean git working tree
  • pnpm and Git

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Preflight and selection
  2. Treat the JSON result as a gate
  3. Validate the composed checkout
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit af699e7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

NanoClaw Skill Payload Refresh loads about 786 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 350 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~786

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:9
    not re-run credential setup, change `.env`, alter wiring, or restart services.
  • NoteMentions a .env fileSKILL.md:51
    t skips prompts, operator walkthroughs, `.env`
  • NoteMentions a .env fileSKILL.md:70
    the source mode already selected in `.env`:
  • NoteMentions a .env fileSKILL.md:73
    grep -q '^NANOCLAW_HARDENED_IMAGE=true$' .env 2>/dev/null; then

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nanocoai/nanoclaw at commit af699e7, republished under its MIT licence (© nanocoai). 350 words, ~786 tokens.

Download SKILL.mdSave it as .claude/skills/update-skills/SKILL.md (or your agent's skills folder).
name
update-skills
description
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.

Update installed 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.

1. Preflight and selection

Require a clean working tree:

bash
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:

bash
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.

2. Treat the JSON result as a gate

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.

  • Continue only when success is true and every status is refreshed.
  • A missing skill, missing structured apply contract, unresolved input, agent fallback, fetch error, or dependency error is blocking.
  • Never record a failed skill and continue toward an upgrade completion stamp.
  • Preserve the full report in the update summary.

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.

Show full SKILL.md (109 more words)Show less

3. Validate the composed checkout

After a successful refresh:

bash
pnpm run build
pnpm test

If files under container/agent-runner/src/ changed, also run:

bash
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:

bash
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.

4. Report

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.

© nanocoai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/update-skills of nanocoai/nanoclaw.

Open the folder on GitHubat commit af699e7

Compare with similar skills

NanoClaw Skill Payload Refresh next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

NanoClaw Skill Payload Refresh compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
NanoClaw Skill Payload Refresh this skillnanocoai/nanoclaw31k—~786Automated safety check: NotesMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Agent SDK Version Bumppreset-io/agor1.4k—~1.4kAutomated safety check: PassCustom licence
ToolJet Skill ManagerToolJet/ToolJet41k—~867Automated safety check: PassAGPL-3.0
Dotagentsgetsentry/sentry-wizard295—~900Automated safety check: PassCustom licence
Sandboxed.sh Library ManagementTh0rgal/sandboxed.sh516—~931Automated safety check: PassNone

Similar skills

  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Upgrades a pinned agent SDK in the agor project, such as the Claude, Codex or Gemini CLI one, and plans the release that carries it to packaged installs.

    1.4k GitHub stars~1.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • ToolJet Skill Manager

    ToolJet/ToolJet

    Decides where a new agent skill belongs in the ToolJet repo, public root or private ee submodule, then wires the symlinks so it loads in Claude Code, Cursor and Codex.

    41k GitHub stars~867 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Dotagents

    getsentry/sentry-wizard

    Official

    Manage agent skill dependencies with dotagents. An agent skill from getsentry/sentry-wizard.

    295 GitHub stars~900 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Reads and updates the Sandboxed.sh Library, a git-backed store of skills, agents, commands, tools, rules and MCP servers, through its library tools.

    516 GitHub stars~931 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Skill Manager

    buzhangsan/skill-manager

    A Claude Code skill that allows you to search, browse, and install skills from a database of 31,767+ community skills with intelligent folder-level downloads.

    321 GitHub stars~1.8k tokensUpdated 8 mo ago
    Agent WorkflowsAuto-check: notes

More from nanocoai/nanoclaw

All 59 skills in this repo
  • Installs or refreshes Iron Proxy and its Iron Control web console for NanoClaw, with a local Docker setup, database, credentials and a human approval bridge.

    31k GitHub stars~4.6k tokensUpdated today
    Auto-check: notes
  • Installs or refreshes OneCLI as the gateway provider for NanoClaw, copying the adapter files, registering the provider and running the setup script.

    31k GitHub stars~1.1k tokensUpdated today
    Auto-check: notes
  • Agent Browser

    nanocoai/nanoclaw

    Drives a web browser from the shell with the agent-browser CLI: open pages, read an element snapshot, click and fill by reference, grab text and screenshots.

    31k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Add Dial Tool

    nanocoai/nanoclaw

    Installs the `dial` CLI and a credential in NanoClaw agent containers so chosen agents can send SMS, place AI voice calls and receive verification codes.

    31k GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Guides a conversational migration from an OpenClaw install to NanoClaw v2, carrying over identity, channel credentials, scheduled tasks and workspace files.

    31k GitHub stars~6k tokensUpdated today
    Auto-check: notes
  • Wires up an additional phone number onto an already-installed Dial channel, so one NanoClaw install answers SMS and AI voice calls on more than one line.

    31k GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Works with

Questions about NanoClaw Skill Payload Refresh

What does NanoClaw Skill Payload Refresh do?

Refreshes the code of installed NanoClaw channel and provider skills from their registry branches, with fork-aware remotes and a result that must be fully successful. After a NanoClaw update, installed channel and provider code can fall behind.env`, changing wiring or restarting services.

When should I use NanoClaw Skill Payload Refresh?

NanoClaw Skill Payload Refresh fits situations like: after updating NanoClaw, when installed channel or provider code may be stale; refreshing only a few installed skills, such as slack and opencode; updating a fork where the official source is a separate upstream remote.

How do I install NanoClaw Skill Payload Refresh in Claude Code?

Run `npx skills add nanocoai/nanoclaw --skill update-skills -a claude-code`. Or copy the skill folder (.claude/skills/update-skills in nanocoai/nanoclaw) into .claude/skills/update-skills in your project. Claude Code loads it when a task matches its description.

How do I install NanoClaw Skill Payload Refresh in Codex?

Run `npx skills add nanocoai/nanoclaw --skill update-skills -a codex`. Or copy the skill folder (.claude/skills/update-skills in nanocoai/nanoclaw) into .agents/skills/update-skills in your project. Codex loads it when a task matches its description.

Can I use NanoClaw Skill Payload Refresh in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nanocoai/nanoclaw --skill update-skills -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-skills, .gemini/skills/update-skills, .github/skills/update-skills and .opencode/skills/update-skills in your project.

What does NanoClaw Skill Payload Refresh need to run?

Going by SKILL.md and its folder, NanoClaw Skill Payload Refresh needs the command-line tools its instructions call (pnpm and git). Our summary lists: A NanoClaw checkout with a clean git working tree; pnpm and Git.

Does NanoClaw Skill Payload Refresh access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is NanoClaw Skill Payload Refresh safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does NanoClaw Skill Payload Refresh use?

NanoClaw Skill Payload Refresh is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does NanoClaw Skill Payload Refresh use?

About 786 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to NanoClaw Skill Payload Refresh?

Skills that share tags, products or a category with NanoClaw Skill Payload Refresh: Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars), Agent SDK Version Bump (preset-io/agor, 1.4k stars), ToolJet Skill Manager (ToolJet/ToolJet, 41k stars) and Dotagents (getsentry/sentry-wizard, 295 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains NanoClaw Skill Payload Refresh?

nanocoai (a GitHub organization) maintains it in nanocoai/nanoclaw, which has 30,906 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on October 9, 2026.

Source: nanocoai/nanoclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.