nanoclaw_flexagents: Skill for Claude Code

.claude/skills/update-skills/SKILL.md

update-skills is a skill for Claude Code from chiptoe-svg/nanoclaw_flexagents. It costs 16 tokens per session (1,197 once invoked), scanned A, a copy of update-skills, MIT.

A tool for checking whether installed skills have newer commits available in their upstream Git branches. A Git branch is a separate line of project history, and upstream means the source repository used for updates.

In plain words
What is it for?
Use it to find and merge updates for previously installed skills while preserving local customizations and resolving conflicts when necessary.
Why use it?
It shows which installed skills can be updated without manually comparing files. It checks the working tree first and validates selected updates with builds and tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool; mentions Claude Code.

This is chiptoe-svg/nanoclaw_flexagents's own configuration. It tells Claude Code how to work on nanoclaw_flexagents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nanoclaw_flexagents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chiptoe-svg/nanoclaw_flexagents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chiptoe-svg/nanoclaw_flexagents/main/.claude/skills/update-skills/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/chiptoe-svg/nanoclaw_flexagents

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/chiptoe-svg/nanoclaw_flexagents/update-skills/github.svg)](https://agentmods.dev/skills/chiptoe-svg/nanoclaw_flexagents/update-skills)
Your own site
<a href="https://agentmods.dev/skills/chiptoe-svg/nanoclaw_flexagents/update-skills"><img src="https://agentmods.dev/badge/skills/chiptoe-svg/nanoclaw_flexagents/update-skills/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/chiptoe-svg/nanoclaw_flexagents/update-skills"><img src="https://agentmods.dev/badge/skills/chiptoe-svg/nanoclaw_flexagents/update-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.01197
Opus 5.5 $0.00006 $0.00479
Sonnet 5.5 $0.00003 $0.00239
Haiku 4.5 $0.00002 $0.00120

Measured 3mo ago against content hash 77e989f2f52b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-skills scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to update-skills — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/update-skills/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

About

Skills are distributed as git branches (skill/*). When you install a skill, you merge its branch into your repo. This skill checks upstream for newer commits on those skill branches and helps you update.

Run /update-skills in Claude Code.

How it works

Preflight: checks for clean working tree and upstream remote.

Detection: fetches upstream, lists all upstream/skill/* branches, determines which ones you've previously merged (via merge-base), and checks if any have new commits.

Selection: presents a list of skills with available updates. You pick which to update.

Update: merges each selected skill branch, resolves conflicts if any, then validates with build + test.


Goal

Help users update their installed skill branches from upstream without losing local customizations.

Operating principles

  • Never proceed with a dirty working tree.
  • Only offer updates for skills the user has already merged (installed).
  • Use git-native operations. Do not manually rewrite files except conflict markers.
  • Keep token usage low: rely on git commands, only open files with actual conflicts.

Step 0: Preflight

Run:

  • git status --porcelain

If output is non-empty:

  • Tell the user to commit or stash first, then stop.

Check remotes:

  • git remote -v

If upstream is missing:

  • Ask the user for the upstream repo URL (default: https://github.com/qwibitai/nanoclaw.git).
  • git remote add upstream <url>

Fetch:

  • git fetch upstream --prune

Step 1: Detect installed skills with available updates

List all upstream skill branches:

  • git branch -r --list 'upstream/skill/*'

For each upstream/skill/<name>:

  1. Check if the user has merged this skill branch before:
    • git merge-base --is-ancestor upstream/skill/<name>~1 HEAD — if this succeeds (exit 0) for any ancestor commit of the skill branch, the user has merged it at some point. A simpler check: git log --oneline --merges --grep="skill/<name>" HEAD to see if there's a merge commit referencing this branch.
    • Alternative: MERGE_BASE=$(git merge-base HEAD upstream/skill/<name>) — if the merge base is NOT the initial commit and the merge base includes commits unique to the skill branch, it has been merged.
    • Simplest reliable check: compare git merge-base HEAD upstream/skill/<name> with git merge-base HEAD upstream/main. If the skill merge-base is strictly ahead of (or different from) the main merge-base, the user has merged this skill.
  2. Check if there are new commits on the skill branch not yet in HEAD:
    • git log --oneline HEAD..upstream/skill/<name>
    • If this produces output, there are updates available.

Read the full file on GitHub · 131 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 131 lines · 16 tokens per session scan A 77e989f2f52b

Subscribe to this mod's changes

update-skills is a skill published in the GitHub repository chiptoe-svg/nanoclaw_flexagents (5 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 1,197 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to update-skills, differing in 2 lines, and is treated as a copy.

Related

update-skills compared with skills from other repositories

update-skills next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-skillschiptoe-svg/nanoclaw_flexagentsSkill57mo agoMITA16Claude Code
merge-batchdiegosouzapw/OmniRouteSkill92ktodayMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k5d agoMITA51Claude Code
re0-mergeLilMGenius/paperthinSkill1.5kyesterdayMITA51Claude Code, Codex