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 nullhack/temple8 --skill refactor-greengit clone --depth 1 https://github.com/nullhack/temple8Wrote 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/nullhack/temple8/refactor-green)<a href="https://agentmods.dev/skills/nullhack/temple8/refactor-green"><img src="https://agentmods.dev/badge/skills/nullhack/temple8/refactor-green/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/nullhack/temple8/refactor-green"><img src="https://agentmods.dev/badge/skills/nullhack/temple8/refactor-green.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.00023 | $0.00281 |
| Opus 5.5 | $0.00009 | $0.00112 |
| Sonnet 5.5 | $0.00005 | $0.00056 |
| Haiku 4.5 | $0.00002 | $0.00028 |
Grade A, and why
refactor-green 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 3mo 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.
What it actually says
Refactor Green
- Load [[software-craft/refactoring-techniques]], [[software-craft/smell-catalogue]], [[software-craft/object-calisthenics]], [[software-craft/solid]], [[software-craft/design-patterns]] — the refactoring moves, smell taxonomy, quality criteria, and pattern catalog.
- Improve the source structure while tests stay green. The source .py is fluid; the .pyi is fixed; tests are fixed contracts — do not edit them.
- IF a smell is present THEN remove it using the catalogue and a matching technique per [[software-craft/smell-catalogue]], [[software-craft/refactoring-techniques]]. Apply SOLID, DRY, KISS, YAGNI, Object Calisthenics per [[software-craft/solid]], [[software-craft/object-calisthenics]].
- Keep the .py consistent with its sibling .pyi so stubtest stays clean. IF a change requires editing the .pyi THEN stop — a contract change is escalated at review.
- Read the target's .pyi first; touch the .py only where the stub omits needed detail. Loop until the structure is clean.
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.
- 3mo ago First seen · 13 lines · 23 tokens per session scan A 596eb2d13667
refactor-green is a skill published in the GitHub repository nullhack/temple8 (11 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 281 once invoked, about $0.0001 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-30.
refactor-green compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| refactor-greennullhack/temple8 | Skill | 11 | 1mo ago | MIT | A | 23 | OpenCode |
| python-test-writerbeel-collab/presets.dev | Skill | 3 | 8d ago | MIT | A | 48 | Claude Code, Codex |
| agentic-test-auditsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 38 | Claude Code |
| agentic-verifysickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 39 | Claude Code |
| test-generatorvstorm-co/pydantic-deepagents | Skill | 1.1k | 2d ago | MIT | A | 12 | Claude Code, Codex |
| pythonericrisco/rsc-harness | Skill | 695 | today | MIT | A | 94 | Claude Code, Codex |
| clawrium-release-announcementsric03uec/clawrium | Skill | 68 | 2d ago | Apache-2.0 | A | 24 | Claude Code, Codex |