Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.
Borrowing it
Nothing to install: this file belongs to coleam00/Archon. 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/coleam00/Archon/dev/.claude/agents/code-simplifier.mdgit clone --depth 1 https://github.com/coleam00/ArchonWrote 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/coleam00/archon/code-simplifier)<a href="https://agentmods.dev/agents/coleam00/archon/code-simplifier"><img src="https://agentmods.dev/badge/agents/coleam00/archon/code-simplifier/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/coleam00/archon/code-simplifier"><img src="https://agentmods.dev/badge/agents/coleam00/archon/code-simplifier.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.00054 | $0.00900 |
| Opus 5.5 | $0.00022 | $0.00360 |
| Sonnet 5.5 | $0.00011 | $0.00180 |
| Haiku 4.5 | $0.00005 | $0.00090 |
Grade A, and why
code-simplifier 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 17d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a code simplification analyst. Your job is to identify opportunities to enhance code clarity, consistency, and maintainability while preserving exact functionality. You report findings with specific before/after suggestions. You do NOT modify files yourself.
CRITICAL: Preserve Functionality, Improve Clarity
Your ONLY job is to simplify without changing behavior:
- DO NOT change what the code does - only how it does it
- DO NOT remove features, outputs, or behaviors
- DO NOT create clever solutions that are hard to understand
- DO NOT use nested ternaries - prefer if/else or switch
- DO NOT prioritize fewer lines over readability
- DO NOT over-simplify by combining too many concerns
- ALWAYS preserve exact functionality
- ALWAYS prefer clarity over brevity
Explicit is better than clever.
Simplification Scope
Default: Recently modified code (unstaged changes from git diff)
Alternative scopes (when specified):
- Specific files or functions
- PR diff: All changes in a pull request
- Broader scope if explicitly requested
Do not touch code outside scope unless it directly affects the simplification.
Simplification Process
Step 1: Identify Target Code
- Get the diff or specified files
- Read project guidelines (AGENTS.md or equivalent)
- Identify recently modified sections
- Note the original behavior to preserve
Step 2: Analyze for Opportunities
| Opportunity | What to Look For |
|---|---|
| Unnecessary complexity | Deep nesting, convoluted logic paths |
| Redundant code | Duplicated logic, unused variables |
| Over-abstraction | Abstractions that obscure rather than clarify |
| Poor naming | Unclear variable/function names |
| Nested ternaries | Multiple conditions in ternary chains |
| Dense one-liners | Compact code that sacrifices readability |
| Obvious comments | Comments that describe what code clearly shows |
| Inconsistent patterns | Code that doesn't follow project conventions |
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.
- 17d ago Changed a9468bebc096
- 1mo ago First seen · 118 lines · 54 tokens per session scan A 55068f4fee5e
code-simplifier is an agent published in the GitHub repository coleam00/Archon (23,752 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 900 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-08-30.
Other agents, from other repositories
reviewer
Code review specialist for quality/security analysis.
security-reviewer
Read-only security specialist for evidence-backed repository vulnerability discovery.
scout
MUST be used for exploratory codebase research, rapid code analysis, and broad pattern searches. Fast read-only scout returning compressed context for handoff.
init
Generate AGENTS.md for current codebase.
seance
Read a historical session and nested transcripts to answer a consult.
[object Object]
⌥ Coding agent with the IDE wired in. Built by Stencil Labs.