/chamnan:capturefrom Chamnan
Captures multi-step procedures, costly debugging lessons, or recurring patterns as reusable skill files. Use after finishing a non-obvious task while details are fresh.
Ships in Chamnan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write a file into .chamnan/skills/<short-name>.md.
Before writing anything, check what the workspace already has. A skill you write can collide with one that arrived from a plugin the person installed, and the collision is invisible to them: nothing errors, both files look authoritative, and the only symptom is the assistant answering inconsistently on exactly the kind of work the skill covers. Someone who is not an engineer has no way to connect that to a file.
python3 -c "import sys; sys.path.insert(0, '<plugin>/lib'); import skill_overlap; \
[print(o['kind'], o['name']) for o in skill_overlap.overlaps('.')]"
skill_overlap.overlaps() reports only what is true by construction — the same name in two active
stores with different contents, one name served by two plugins, or a workspace file that repeats a
shipped skill's text verbatim. It does not score similarity: that was prototyped over the 26
real skills here and measured unusable in both directions (over 100 of 325 pairs scored above an
0.35 title threshold on shared boilerplate alone, while no pair scored above 0.30 on body content —
so it would cry wolf constantly and stay silent on a real duplicate written in other words).
What to do with a result: record it, do not refuse. If the check names something, say so in one
line and extend the existing skill rather than writing a second one beside it. Nothing here blocks
the capture — a refusal the person cannot understand or override is worse than the overlap, and the
host ignores disable-model-invocation anyway (claude-code#22345), so a hard gate could not be
enforced where it would matter.
Anything a competent reader gets from the code itself. A file that restates what the code says costs tokens on every future session and returns nothing. When in doubt, don't — an over-full skills directory trains the next session to skip the directory.
---
description: <one line, under 100 chars — this is what a future session sees in the registry>
---
# <what this is about>
## The trap / the task
What actually happens, concretely. Name real files, real commands, real error text.
## What to do
The steps, in order.
## Why it is like this
The reason. This is the part that stops someone "fixing" it back to the broken version.
The description line is not optional. Session start lists every skill by name and
description; a file with no description shows as a bare filename, and a bare filename is not enough
for a future session to decide whether to open it. That is the whole cost of the registry wasted.
Write in the language set as language in .chamnan/config.json (default en). These files are re-read on every session, which is why English is the default — but a procedure your team cannot read is worth nothing however cheap it is.
Be specific. "Be careful with the cache" is worthless. "_write_index is a plain write_text with
no atomic replace, so two threads writing the same index drop one update and can interleave into
invalid JSON, which _read_index turns into [] — batch such updates into one pass" is worth
keeping.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub arcticfox2029/chamnan --plugin chamnan11 skills in this plugin
/bootstrapSet up chamnan hereSet up chamnan in this repository for the first time — build the architecture index, measure how well the code describes itself, fill in missing file comments, and record a baseline. Run once per repo./decideDecide from counted evidence, not from an impressionA reusable decision procedure, and a copyable prototype for the guard that encodes it — derive the population, set one threshold by what being wrong costs, name the offender, and break it once to prove it can fail. Use when writing a check, guard, gate or validation of any kind, or when deciding whether something is safe, done, duplicated, stale, or worth doing — so the shape is the same every time instead of re-derived per session./Other plugins' skills for the same job