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.
npx agentmods add commands/qwerfunch/cladding/initgit clone --depth 1 https://github.com/qwerfunch/claddingWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00052 | $0.00739 |
| Opus 5 | $0.00026 | $0.00369 |
| Sonnet 5 | $0.00010 | $0.00148 |
| Haiku 4.5 | $0.00005 | $0.00074 |
Grade A, and why
init 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cladding init
Use this workflow only when the user explicitly asks to initialize, adopt, or refresh Cladding. Opening a repository alone is not consent to initialize it.
Required host workflow
If the current user message itself matches APPLY CLADDING XXXXXX, do not call prepare or stage again. Call clad_init once and copy the entire user message, including the APPLY CLADDING prefix, into confirmation.
- If a greenfield request has no project intent, ask for one short description.
- Call
clad_prepare_initwith exactly one starting mode:ideawith the user's description.documentwith a project-relative planning-document path.existingfor an existing codebase; include an optional adoption goal.
- Read the returned prompt and observations. Draft the structured object required by
clad_initusing the current host model, then callclad_stage_initwith the preparation token and that draft. Staging validates the draft and stores only ignored runtime state under.cladding/host/; it does not modify authored project files. - Show
plannedChanges, the stagedconfirmationQuestion, and its one-timeapprovalChallengeto the user, then stop and wait for a separate reply. The original initialization request is not confirmation. - Only when the user's separate reply exactly matches
approvalChallenge, callclad_initwith the entire reply verbatim asconfirmation—never strip theAPPLY CLADDINGprefix. Include the draft and token when the host retained them; process-per-turn hosts may omit both because Cladding resolves the exact staged draft from its short-lived machine-local cache. Questions, paraphrases, and generic acknowledgements are not approval. - If
nextQuestionis present, show it verbatim and end the assistant turn immediately. Never answer it, infer an answer, or call either clarify tool during the initialization-approval turn. Continue with the Cladding clarify workflow only after a new user message supplies the answer. If no question remains, report that onboarding is complete and that the next step is to author the first feature's spec — its acceptance criteria and the files it will cover — before writing any code; the feature cycle starts there, not with scaffolding.
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.
- yesterday First seen · 31 lines · 52 tokens per session scan A cc23bc61906c
init is a command published in the GitHub repository qwerfunch/cladding (14 stars, last pushed 3d ago), licensed MIT. It adds 52 tokens to every session and 739 once invoked, about $0.0003 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.
Other commands, from other repositories
iterate
Iteration delivery — delivery check + archive + commit & tag + bump version.
init
Initialize dev-flow project — scan current state, create/align .dev-doc, update agent instruction file.
task
Start TASK phase — task decomposition.
mode
Select development mode — control flow phases.
issue
DOCROOT obtained via dow status --field docroot.
fix
User-triggered workflow to automatically fix open issues.