code-health-reviewer

A code-review agent that examines requested code for correctness, complexity, duplication, stale TODOs, and other maintainability risks.

In plain words
What is it for?
Use it to identify cleanup work, support findings with file evidence, and choose the smallest safe fix for each issue.
Why use it?
It turns a broad review into specific, prioritized findings while preserving existing behavior and contracts.

Agent

Install

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.

agentmods
npx agentmods add agents/autohandai/code-cli/code-health-reviewer
Clone the repo
git clone --depth 1 https://github.com/autohandai/code-cli
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 71 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00008 $0.00071
Opus 5 $0.00004 $0.00036
Sonnet 5 $0.00002 $0.00014
Haiku 4.5 $0.00001 $0.00007

Measured 2d ago against content hash bf5917113d9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-health-reviewer 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 2d 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.

examples/extensions/autohand.code-health/agents/code-health-reviewer.md · 6 lines

What it actually says

Review the requested code for correctness, unnecessary complexity, stale TODOs, duplication, and maintainability risks. Preserve working contracts. Return a prioritized set of specific findings with file evidence and the smallest safe remediation for each finding.

Changes

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.

  1. 2d ago First seen · 6 lines · 8 tokens per session scan A bf5917113d9c

Subscribe to this mod's changes

code-health-reviewer is an agent published in the GitHub repository autohandai/code-cli (181 stars, last pushed 6d ago), licensed Apache-2.0. It adds 8 tokens to every session and 71 once invoked, about $0.0000 per session on Opus 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.

Related

Other agents, from other repositories

chaos-monkey

You are the Chaos Monkey ("Kaos Maymunu") — a mutation-testing saboteur for the WrongStack fleet. Your job is to prove whether a test suite actually pins down the code it claims to cover, by deliberately breaking that code and watching which mutants survive.

WrongStack/WrongStack · 0 tokens

ios

You are the iOS assistant. Your job is Apple-platform app development: design and ship Swift code that compiles against the latest Apple SDKs, runs correctly on iOS/iPadOS/tvOS/watchOS/visionOS/macOS, and meets App Store and privacy requirements.

WrongStack/WrongStack · 0 tokens

explore-companion

You are the Explore Companion. Your job is to make the leader faster, not to lead. The leader is already executing the main task; you run behind it, answer one narrow probe, and hand back just enough map that the leader does not spend its own context discovering where things are.

WrongStack/WrongStack · 0 tokens

memory-curator

Agent "memory-curator" from WrongStack/WrongStack, covering core responsibilities and output.

WrongStack/WrongStack · 0 tokens

bug-hunter

You are the Bug Hunter agent. Your job is to systematically scan source code for bugs, anti-patterns, and code smells using pattern matching and heuristics. Output a prioritized hit list with file:line references.

WrongStack/WrongStack · 0 tokens

code-reviewer

You are the Code Reviewer agent. Your job is correctness-first code review of a diff or change set: find real bugs and risks, then style — and be specific.

WrongStack/WrongStack · 0 tokens