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 skills add Roukh/shapa-llm --skill shapa-upgradegit clone --depth 1 https://github.com/Roukh/shapa-llmWrote 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.
[](https://agentmods.dev/skills/roukh/shapa-llm/shapa-upgrade)<a href="https://agentmods.dev/skills/roukh/shapa-llm/shapa-upgrade"><img src="https://agentmods.dev/badge/skills/roukh/shapa-llm/shapa-upgrade/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.
<a href="https://agentmods.dev/skills/roukh/shapa-llm/shapa-upgrade"><img src="https://agentmods.dev/badge/skills/roukh/shapa-llm/shapa-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.01543 |
| Opus 5.5 | $0.00027 | $0.00617 |
| Sonnet 5.5 | $0.00013 | $0.00309 |
| Haiku 4.5 | $0.00007 | $0.00154 |
Grade A, and why
shapa-upgrade 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
shapa-upgrade
Every shapa update can change what a conformant wiki looks like. shapa upgrade
applies the mechanical part itself and hands back a per-wiki work list of
judgment items. This skill dispatches one agent per behind wiki to finish that
list, then proves everything is current.
1. Find the wikis that are behind
shapa upgrade --all --check --json
Read behind (paths) and, per wiki in wikis, mechanical (pending
migrations - format 3 adds gitattributes and memory, the session-note
conversion), counters (per note, the legacy uses:/last_used:
frontmatter lines the upgrade deletes) and work (judgment items: code,
message, files - format 3 adds MEMLOG: malformed memory-log lines
that need hand repair). steps says what each mechanical migration changes.
Nothing behind means you are done.
Format 4 adds a restructure pass per wiki. When session context opens with
<shapa-action>, dispatch one dedicated agent per named wiki whose whole
prompt is the output of shapa upgrade --reconfigure-prompt <wiki>; it does
the mechanical upgrade itself and ends with --mark-reconfigured.
Format 4 adds the database step: memory/rule/issue notes become rows in
shapa.db (the note id kept as the row's alias), checklist.md sections become
features with their open items as jobs, open ideas.md entries and
operator-sourced memory-log records become memories, and agenda.md,
ideas.md, checklist.md and memory/ are removed. Reference notes, arch/
and research/ stay files. After it, shapa row list and shapa ledger show
what moved; commit shapa.db on the default branch with the upgrade.
2. Dispatch one agent per behind wiki
Run them in parallel, one per wiki path. Use a subagent when this session may write to that wiki's repo. When the harness write guard is scoped to the session's cwd, start a headless session inside that repo instead:
cd <repo containing the wiki> && claude -p "<the brief below, with the wiki path>"
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.
- 1mo ago Changed · +14 lines 26726e08b67d
- 1mo ago First seen · 97 lines · 67 tokens per session scan A de35bb359d62
shapa-upgrade is a skill published in the GitHub repository Roukh/shapa-llm (2 stars, last pushed 8d ago), licensed MIT. It adds 67 tokens to every session and 1,543 once invoked, about $0.0003 per session on Opus 5.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-10-03.
shapa-upgrade compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shapa-upgradeRoukh/shapa-llm | Skill | 2 | 8d ago | MIT | A | 67 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 29 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 68 | Claude Code, Codex |