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 IT-HUSET/andthen --skill simplify-codegit clone --depth 1 https://github.com/IT-HUSET/andthenWrote 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/it-huset/andthen/simplify-code)<a href="https://agentmods.dev/skills/it-huset/andthen/simplify-code"><img src="https://agentmods.dev/badge/skills/it-huset/andthen/simplify-code/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/it-huset/andthen/simplify-code"><img src="https://agentmods.dev/badge/skills/it-huset/andthen/simplify-code.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.00054 | $0.01498 |
| Opus 5.5 | $0.00022 | $0.00599 |
| Sonnet 5.5 | $0.00011 | $0.00300 |
| Haiku 4.5 | $0.00005 | $0.00150 |
Grade A, and why
simplify-code 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 2d 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Simplify Code
Simplify the scope for clarity, reuse, and leanness, with behavior preserved exactly.
Input
$ARGUMENTS minus flags is the scope – paths, a description, or both; PATH_SCOPE is the paths it names, when it names any.
--automakes the run unattended: readunattended-runs.mdand follow it.
Every run reads verification-evidence.md.
Rules
-
Print each recommended skill invocation as a complete, paste-ready line in the host's syntax, including its target path or request and required arguments.
-
Scope stays the user's – this is Boy Scout cleanup inside the requested scope. Widening to an adjacent module mid-flow is the named failure mode; that module is a separate run.
-
Observable or exported removals are
behavior-affecting: propose them, require explicit approval. -
Architecture. A cleanup that would move code across a component boundary – checked against the
Architecturedocument (Project Document Index) only when a candidate would – belongs in theandthen:architectureskill first, not in this run. -
Intent anchor. When Step 1 read an Intent anchor, drop any cleanup it rejects – one contradicting a Non-Goal, implementing an outcome the artifact defers to a later story, or restructuring code the artifact chose a shape for – and record each in the completion summary as
dropped: <anchor> in <FIS path>.
Workflow
1. Scope & Baseline
-
Resolve scope in precedence order:
PATH_SCOPE.- Described files – analyze the codebase to identify matches.
- The current branch diff against its base/upstream (fall back to
git diff HEAD). - Files named or edited earlier in this conversation.
In an unattended run, the diff/conversation fallback is defensible only when it yields a non-empty, cohesive set; otherwise stop rather than simplifying against noise.
-
Use the check commands the invocation supplies, else resolve them per
verification-evidence.md, for this baseline and Step 4. A green result supplied for this tree is the baseline; otherwise run them and record the result. -
The governing FIS is the Intent anchor: the one the arguments name, each FIS of a plan they name, else the one discoverable for the scope's paths. Read its
What We're NOT DoingandArchitecture Decisionsections, and the PRD orProductdocument only where it cites them: the FIS already carries what binds from them. With none, recordIntent Context: none discoverablein the completion summary.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago Changed · +13 lines · +7 tokens per session d0f9e06c0234
- 8d ago Changed 97b26679b2cb
- 24d ago Changed · +1 lines 7717c917429d
- 29d ago Changed · -59 lines · -12 tokens per session 3ea4c1ddcec9
- 3mo ago First seen · 144 lines · 59 tokens per session scan A 5e3c10563b98
simplify-code is a skill published in the GitHub repository IT-HUSET/andthen (4 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 1,498 once invoked, about $0.0002 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-08-31.
simplify-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| simplify-codeIT-HUSET/andthen | Skill | 4 | today | MIT | A | 54 | Claude Code, Codex |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.4k | today | MIT | A | 18 | Claude Code |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 13d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 2d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 977 | 2d ago | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |