renumber

renumber is a skill for Claude Code from chan4lk/specclaw. It costs 111 tokens per session (635 once invoked), scanned A, original, MIT.

A workflow for adding permanent ordinal prefixes to existing SpecClaw change folders in creation-date order.

In plain words
What is it for?
Previewing a rename plan and, after explicit approval, renaming unnumbered folders under .specclaw/changes and its archive.
Why use it?
It makes directory listings follow the order in which changes were created, including both active and archived changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the specclaw plugin — 32 skills, 21 agents shipped together

Good fit Previewing a rename plan and, after explicit approval, renaming unnumbered folders under .specclaw/changes and its archive.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chan4lk/specclaw/renumber
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chan4lk/specclaw --skill renumber
Clone the repo
git clone --depth 1 https://github.com/chan4lk/specclaw

Made for: Claude Code.

Or install specclaw, the plugin that ships this one along with the rest of its 32 skills, 21 agents.

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 renumber

README.md
[![agentmods](https://agentmods.dev/badge/skills/chan4lk/specclaw/renumber/github.svg)](https://agentmods.dev/skills/chan4lk/specclaw/renumber)
Your own site
<a href="https://agentmods.dev/skills/chan4lk/specclaw/renumber"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/renumber/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 renumber

Your own site · 80×15
<a href="https://agentmods.dev/skills/chan4lk/specclaw/renumber"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/renumber.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 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 original No closer match found 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.00111 $0.00635
Opus 5 $0.00056 $0.00318
Sonnet 5 $0.00022 $0.00127
Haiku 4.5 $0.00011 $0.00064

Measured 9d ago against content hash d4aab9fbbefa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

renumber 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 9d 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.

plugins/specclaw/skills/renumber/SKILL.md · 23 lines

How it starts

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

specclaw renumber

First, run specclaw-ensure-init .specclaw — idempotently creates .specclaw/ if it doesn't exist (silent if already initialized; auto-inits using the current directory's basename as the project name).

Assign permanent <NNN>- prefixes to change folders that don't have them, so ls reads chronologically.

  1. Dry run: specclaw-renumber-changes .specclaw. The tool is dry-run by default — without --apply it prints the plan and makes no filesystem modification whatsoever. If it prints nothing, every folder is already numbered; say so and stop.
  2. Show the user the full old → new plan, every line of it, not a summary or a count. The plan is the only thing they have to judge before anything moves, and it covers both changes/ and changes/archive/.
  3. Get explicit confirmation. A "yes" to this plan and nothing weaker. Renaming is the one destructive operation in this skill; do not infer approval from a user asking a question about the plan.
  4. Apply: re-run as specclaw-renumber-changes .specclaw --apply. Ordering is by creation date ascending, ties broken by folder name, so the applied result matches the plan the user just approved. After each rename the change's state.json is refreshed through specclaw-set-phase — the only writer of phase state.
  5. Update the dashboard: specclaw-update-status .specclaw. The unnumbered-folders hint disappears once the backfill covers every folder.
  6. Confirm the new names to the user.

Refusals and --force

The tool refuses, before any rename, when a change is mid-build (a live worktree or checked-out branch still points at the old path), when a planned target path already exists, or when any folder is already numbered. Report the message and stop — each refusal names something the user must resolve first.

--force overrides only the already-numbered refusal, renumbering every folder from 001 in date order. Its one intended use is recovering from an interrupted --apply, which leaves a mixed part-numbered state that the ordinary run then declines to touch. Use it there and nowhere else: on a healthy repo it rewrites numbers that are already correct and already referenced from commit messages and branch names.

Read the full file on GitHub · 23 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. 9d ago First seen · 23 lines · 111 tokens per session scan A d4aab9fbbefa

Subscribe to this mod's changes

renumber is a skill published in the GitHub repository chan4lk/specclaw (12 stars, last pushed 5d ago), licensed MIT. It adds 111 tokens to every session and 635 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

managing-github

Use when work reaches a GitHub-hosted issue, pull request or review, release, tag, or live deployment-branch boundary, including indirectly after investigation, completed development, or repository policy requires delivery. Also trigger when work discovers a repository defect that may need duplicate search or an issue…

rundesk-ai/rundesk-cli · 134 tokens

are-we-done

Deterministic close-out gate for a session or work tree. Sweeps a fixed set of sources — the todo list, this session's own promises, git state, TODO/FIXME markers the diff introduced, test and build state, and any issue or ticket referenced — and checks that every open point has been explicitly decided: done, won't…

adamlinscott/claude-skills · 199 tokens

ship-it

Get the work done in this conversation all the way out — merged, and deployed to every environment the repo has, production included. Grounds itself first in the branches written during this session, the open and closed PRs behind them, and the environments and CI/CD workflows the repo actually defines, then lands and…

adamlinscott/claude-skills · 134 tokens

pair

Dual-agent development workflow - Claude Code plans and reviews, Codex implements headlessly, git automated. ONLY runs when the user explicitly types /pair. NEVER activate automatically, no matter how well a task seems to match this workflow.

hyj28/claude-codex-pair · 48 tokens

ship-it-now

Same skill as /ship-it, with the ride-along confirmation gate turned off.

adamlinscott/claude-skills · 135 tokens

capture-lessons

Ship and capture lessons workflow. Creates the PR, updates lessons learned, updates documentation, generates the sprint retrospective, and updates the backlog. Use at the end of a sprint cycle, or when the user says "ship", "capture", "lessons", "retro", "retrospective", "wrap up", or "done with this sprint". Also use…

rbah31/claude-code-workflow · 100 tokens