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 maksutovic/joycraft --skill joycraft-cleanupgit clone --depth 1 https://github.com/maksutovic/joycraftWrote 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/maksutovic/joycraft/joycraft-cleanup)<a href="https://agentmods.dev/skills/maksutovic/joycraft/joycraft-cleanup"><img src="https://agentmods.dev/badge/skills/maksutovic/joycraft/joycraft-cleanup/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/maksutovic/joycraft/joycraft-cleanup"><img src="https://agentmods.dev/badge/skills/maksutovic/joycraft/joycraft-cleanup.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.00123 | $0.00736 |
| Opus 5.5 | $0.00049 | $0.00294 |
| Sonnet 5.5 | $0.00025 | $0.00147 |
| Haiku 4.5 | $0.00012 | $0.00074 |
Grade A, and why
joycraft-cleanup 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 7d 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Joycraft Cleanup
Keep the entry files light and the pages behind the map true. Treat every doc claim as a hypothesis and the repository as the evidence (knowledge guidance). This method is adapted from doc-cleanup by aka-luan (MIT), brought in by David Moshal.
Read cleanup reference first.
Which run this is
- A person asks for a cleanup. Do the one pass: the entry files and every page behind the map, together. When the person is away before the answers, leave the questions and the recommendations as a page and stop. After the pass, offer the opt-in test review; when the person asks only about tests, do only that.
- Session end calls this skill, or nobody asked (a queue, a hook). Run
node .joycraft/runtime/cleanup.mjs. Fix only what a script can check: replace Joycraft's block with the output ofnode .joycraft/runtime/entry-check.mjs blockand remove an older Joycraft line beside it, and re-point a dead path that has one unique Git rename. Put the other findings on the session-end page in one list. Change no rule and no other line, agate-ruleline included, and do not start the pass. - "Tidy now". Run
node .joycraft/runtime/cleanup.mjs tidyand do the session-end tidy step. - Setup calls this skill. Do steps 1 and 2 of the pass and hand the findings back to setup: no report page and no stop.
The pass
Follow the reference: the steps, in order. Code proves what is implemented, not what was intended. Never delete a context page to clear a finding; merge or redirect it.
Gate lines
In an attended cleanup, turn all gate-rule findings into one decision: for
each line, the before (the line as it is) and the after (the gate runs once on
the integrated revision, and each spec runs its focused tests). Rewrite a line
only on the owner's yes; never unattended.
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.
- 7d ago Changed · +9 lines · +7 tokens per session 28035726d1b5
- 8d ago Changed · +2 lines · +5 tokens per session 1068f282272a
- 10d ago Changed · -43 lines · -16 tokens per session cd60ae78c157
- 27d ago First seen · 89 lines · 127 tokens per session scan A 99ce785e551b
joycraft-cleanup is a skill published in the GitHub repository maksutovic/joycraft (15 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 736 once invoked, about $0.0005 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-11-03.
joycraft-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| joycraft-cleanupmaksutovic/joycraft | Skill | 15 | today | MIT | A | 123 | Claude Code, Codex |
| NestJS FrameworkFortiumPartners/ensemble | Skill | 12 | 4d ago | MIT | A | 17 | Claude Code, Codex |
| using-prismaFortiumPartners/ensemble | Skill | 12 | 4d ago | MIT | A | 43 | Claude Code |
| dd-code-generationDataDog/pup | Skill | 1.0k | today | Apache-2.0 | A | 16 | Claude Code |
| scaffold-projectMarve10s/Better-Fullstack | Skill | 831 | yesterday | MIT | A | 80 | Claude Code |
| agent-dependenciesNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 73 | Claude Code, Codex |
| agent-debug-ciNVIDIA/elements | Skill | 122 | yesterday | Apache-2.0 | A | 80 | Claude Code, Codex |