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 14d 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.
- 14d 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 3mo 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.
Other agents, from other repositories
build-failure-analyst
Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a binary log (.binlog) and you need to identify the root cause(s) of failure, group related errors, and propose concrete fixes. Queries the binlog live through the binlog-mcp MCP server (containerised — see the calling…
swiftui-performance-analyzer
Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.
predictive-analyst
Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.
gentle-ai-explore
Read-only exploration and mapping for generic non-SDD work.
silent-failure-hunter
Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…
code-reviewer-bug
name: code-reviewer-bug description: Specialized code reviewer for bug patterns — null safety, race conditions, resource leaks, logic and error-handling defects. Returns scored findings (severity × impact × confidence). skills: code-review model: inherit.