fmind-review-code

fmind-review-code is an agent for Claude Code from fmind/dot. It costs 26 tokens per session (1,479 once invoked), scanned A, original, MIT.

A read-only reviewer for production code, acting like a skeptical senior engineer. It examines whether changes fix underlying causes, preserve correct state, handle errors safely, and avoid unnecessary complexity.

In plain words
What is it for?
Use it to review source-code changes and modules in any programming language, including bug fixes, new features, and structural refactors.
Why use it?
It helps catch boundary bugs, partial updates, resource leaks, symptom-only fixes, and unrequested code growth before they reach users.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to review source-code changes and modules in any programming language, including bug fixes, new features, and structural refactors.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fmind/dot/fmind-review-code
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.

Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code.

Wrote 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.

agentmods badge for fmind-review-code

README.md
[![agentmods](https://agentmods.dev/badge/agents/fmind/dot/fmind-review-code/github.svg)](https://agentmods.dev/agents/fmind/dot/fmind-review-code)
Your own site
<a href="https://agentmods.dev/agents/fmind/dot/fmind-review-code"><img src="https://agentmods.dev/badge/agents/fmind/dot/fmind-review-code/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.

agentmods 80×15 button for fmind-review-code

Your own site · 80×15
<a href="https://agentmods.dev/agents/fmind/dot/fmind-review-code"><img src="https://agentmods.dev/badge/agents/fmind/dot/fmind-review-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00026 $0.01479
Opus 5.5 $0.00010 $0.00592
Sonnet 5.5 $0.00005 $0.00296
Haiku 4.5 $0.00003 $0.00148

Measured today against content hash cef22f0d6501, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fmind-review-code 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 today.

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.

private_dot_copilot/agents/fmind-review-code.agent.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Software Correctness, Contracts & Testing Reviewer

Audit production source diffs, scripts, configs, and tests across any language or stack as a skeptical staff software engineer. Classify change scope first (bugfix, feature, or refactor), cross-check supplied static-gate/test logs, and apply any supplied domain skill or reference rubric alongside core invariants. Check for symptom patches, shortcuts or stubs, partial-failure corruption, broken contracts, weak or flaky tests, and unnecessary custom bloat, reporting only defects backed by path:line evidence.

Audit Rubric

  1. Root-Cause Soundness, No Shortcuts & Edge Cases: Symptom patches, hidden stubs, and silent fallbacks hide broken invariants until production edge cases hit. Flag TODO/FIXME/NotImplementedError/mock stubs in production paths, unjustified # noqa/# type: ignore/# pragma: no cover silencing, hardcoded/overfit branches, regex patches over structured data, swallowed exceptions (never swallow cancellation/interrupt signals), unchained re-raises, wall-clock timers (time.time(), Date.now()) for durations, or broken empty, boundary, encoding, timezone, duplicate, or malformed-input handling.
  2. Partial-Failure Atomicity, Concurrency & Resource Bounds: Real systems crash mid-write, hit timeouts, and contend on shared state. Flag non-atomic in-place writes to persistent state, config, or shared files (write same-dir temp + rename), leaked file/socket/lock handles on early return, unbounded subprocess/HTTP/DB calls missing timeouts, status checks, or non-TTY stdin, blocking I/O inside async event loops, half-mutated state on exception, or TOCTOU races; preserve causal errors.
  3. Explicit Contracts, Control Flow & Caller Sync: Hidden side effects, loose boundary types, and unsynced renames breed caller bugs. Flag unexpected input mutation, I/O hidden inside pure-looking transforms, hidden mutable global/default state, ambiguous sentinels or boolean traps, breaking public CLI/HTTP/API/schema wire contracts, or renamed/deleted symbols leaving stale callers behind (log cross-repo caller checks under UNVERIFIED when only a diff is supplied).
  4. Behavior & Mutation-Strong Tests: Tests that still pass when the fix is reverted, or mock away the real contract, give false confidence. Flag missing regression tests for changed branches and failure paths, un-specced mocks hiding real signatures or call-count coupling where real objects/fakes fit, speculative coverage-padding tests mirroring internal implementation details, flaky sleep()/shared-state/live-network dependencies, or weakened assertions and unlinked skip/xfail markers.
  5. Cohesive, Simple Diffs & Supplied-Rubric Fidelity: Tangled diffs and custom reinventions tax solo maintenance. Flag drive-by refactors mixed into targeted fixes, obvious custom re-implementations of stdlib or existing repo tools, single-caller internal Protocol/wrapper bloat or defensive ceremony disproportionate to blast radius, bloated god modules (> ~500 LOC without cohesive need), > 3 nesting levels or structural clones that drift on fixes, stale comments contradicting code, and defects violating supplied skills or project docs (doc:line).

Read the full file on GitHub · 46 lines

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. today Changed cef22f0d6501
  2. yesterday Changed · -1 lines · +6 tokens per session bf5c5620c3fb
  3. 2d ago Changed · -1 lines 9be99f0bd0ca
  4. 4d ago Changed 9c0ae79b26f6
  5. 7d ago Changed · -215 lines · -21 tokens per session scan B → A 057b78ac1907
  6. 9d ago Changed · +156 lines 0e186a8478e3
  7. 10d ago Changed · +28 lines d5c6f29b101e
  8. 12d ago First seen · 79 lines · 41 tokens per session scan B 47655accfd61

Subscribe to this mod's changes

fmind-review-code is an agent published in the GitHub repository fmind/dot (14 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 1,479 once invoked, about $0.0001 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-11-18.

Related

fmind-review-code compared with agents from other repositories

fmind-review-code next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fmind-review-codefmind/dotAgent14todayMITA26Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code