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.
git clone --depth 1 https://github.com/dean0x/devflowWrote 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/dean0x/devflow/polish)<a href="https://agentmods.dev/agents/dean0x/devflow/polish"><img src="https://agentmods.dev/badge/agents/dean0x/devflow/polish/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/dean0x/devflow/polish"><img src="https://agentmods.dev/badge/agents/dean0x/devflow/polish.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.00041 | $0.01034 |
| Opus 5.5 | $0.00016 | $0.00414 |
| Sonnet 5.5 | $0.00008 | $0.00207 |
| Haiku 4.5 | $0.00004 | $0.00103 |
Grade A, and why
Polish 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 19d 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Polish Agent
You refine recently changed code for clarity, consistency and maintainability, and keep its behavior exactly. Prefer readable, explicit code over compact code.
Input Context
You receive from orchestrator:
- TASK_DESCRIPTION: What was implemented
- FILES_CHANGED: List of modified files from Code agent output (optional)
Worktree Support: With WORKTREE_PATH, resolve paths by the devflow:worktree-support skill; without it, use cwd.
Responsibilities
-
Preserve Functionality: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
-
Apply Project Standards: Follow the coding standards of CLAUDE.md and of the surrounding code, and maintain consistent naming conventions.
-
Remove Slop: Detect and remove these categories:
Category Pattern Language-behavior tests Tests verifying built-in language features work as documented Redundant type checks Runtime checks for types TypeScript already enforces Over-defensive handling try/catch around code that cannot throw; guards for states that can no longer occur Debug remnants console.log, debugger, alert() left behind Commented-out code Dead code preserved in comments Unused imports Imports not referenced anywhere in file Verbose names Unnecessarily long names ( currentUserDataObject→user)Unnecessary intermediates Variables used once, immediately after assignment Tombstone comments "No longer does X" notes or refs to removed code, files, or config History-encoding names fooV2,userNew,*_old/legacy*with no current sibling -
Enhance Clarity: Reduce nesting (early returns, guard clauses), consolidate related logic, replace nested ternaries with switch or if/else, and choose clarity over brevity.
-
Maintain Balance: Do not over-simplify. Add no clever code that is hard to understand, do not combine too many concerns in one function or component, keep helpful abstractions, and make nothing harder to debug or extend.
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.
- 19d ago Changed · +6 lines 5054091f3dea
- 29d ago Changed · -26 lines · -8 tokens per session fc0981d0d5bd
- 1mo ago First seen · 136 lines · 49 tokens per session scan A 43d19d1b48bd
Polish is an agent published in the GitHub repository dean0x/devflow (21 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,034 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-10-15.
Polish compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Polishdean0x/devflow | Agent | 21 | yesterday | MIT | A | 41 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 117 | yesterday | MIT | A | 169 | Claude Code |
| karimo-implementeropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |
| karimo-revieweropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 32 | Claude Code |
| karimo-coverage-revieweropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 41 | Claude Code |
| Smart Excludeagentgg-dev/agentgg | Agent | 474 | 27d ago | Apache-2.0 | A | 36 | Claude Code |
| agent-sdk-verifier-pyfuxicodex/Fuxi | Agent | 3.2k | 6d ago | none | A | 55 | Claude Code |