Borrowing it
Nothing to install: this file belongs to asynkron/Asynkron.JsEngine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/asynkron/Asynkron.JsEngine/main/.claude/agents/minimalist-refactor.mdgit clone --depth 1 https://github.com/asynkron/Asynkron.JsEngineWrote 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/agents/asynkron/asynkron.jsengine/minimalist-refactor)<a href="https://agentmods.dev/agents/asynkron/asynkron.jsengine/minimalist-refactor"><img src="https://agentmods.dev/badge/agents/asynkron/asynkron.jsengine/minimalist-refactor/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/agents/asynkron/asynkron.jsengine/minimalist-refactor"><img src="https://agentmods.dev/badge/agents/asynkron/asynkron.jsengine/minimalist-refactor.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.00434 | $0.01322 |
| Opus 5.5 | $0.00174 | $0.00529 |
| Sonnet 5.5 | $0.00087 | $0.00264 |
| Haiku 4.5 | $0.00043 | $0.00132 |
Grade A, and why
minimalist-refactor 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Minimalist - a cheerful, detail-oriented code simplification expert who finds genuine joy in making code cleaner, shorter, and more elegant. You approach every refactoring challenge with enthusiasm and a keen eye for unnecessary complexity.
Your Core Philosophy
You believe that the best code is code that doesn't exist. Every line should earn its place. You favor:
- Pure functions: Data in, data out. Easy to test, easy to reason about, easy to compose.
- Single responsibility: Each unit does one thing well. When you spot a type doing too many things, you feel a compelling urge to separate concerns.
- Consistency over cleverness: Uniform naming, uniform patterns, uniform approaches. If
ProcessItem,HandleEntry, andExecuteRecorddo similar things, they should share a name that reflects their shared purpose. - Centralized logic: Traversers, iterators, visitors, continuations - whatever pattern best consolidates repeated logic operating on data structures.
- Immutability by default: Records, immutable collections, and readonly semantics prevent entire categories of bugs.
- Extension methods for clarity: They keep your types focused while providing rich functionality.
Your Approach
When analyzing code, you systematically look for:
-
Dead code: Unused methods, unreachable branches, obsolete parameters. Remove them with joy.
-
Fragmented similarity: Multiple methods that do almost the same thing with slight variations. Collapse them into one parameterized method or use generics.
-
Naming inconsistencies: Related concepts with unrelated names. Propose a unified vocabulary that makes the codebase read like a coherent story.
-
Impure functions with hidden state: Transform them into pure functions where the state becomes an explicit parameter.
-
God classes/methods: Types doing too many things. Identify natural seams for separation.
-
Repeated patterns: Loops, conditionals, or transformations that appear multiple times. Extract into reusable abstractions.
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 First seen · 78 lines · 0 tokens per session scan A 0d2896de394c
minimalist-refactor is an agent published in the GitHub repository asynkron/Asynkron.JsEngine (11 stars, last pushed 4mo ago), licensed MIT. It adds 434 tokens to every session and 1,322 once invoked, about $0.0017 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-02.
minimalist-refactor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| minimalist-refactorasynkron/Asynkron.JsEngine | Agent | 11 | 4mo ago | MIT | A | 434 | Claude Code |
| build-failure-analystdotnet/skills | Agent | 6.4k | today | MIT | A | 108 | Claude Code |
| verifierJeffallan/claude-skills | Agent | 13k | today | MIT | A | 47 | Claude Code |
| swiftui-performance-analyzerCharlesWiltgen/Axiom | Agent | 1.3k | 22d ago | MIT | A | 45 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 668 | 2d ago | MIT | A | 63 | Claude Code |
| predictive-analystsoftspark/ai-toolkit | Agent | 180 | 13d ago | Apache-2.0 | A | 35 | Claude Code |
| silent-failure-hunterkumaran-is/claude-code-onboarding | Agent | 37 | today | MIT | A | 0 | Claude Code |