codesage-feature-reviewer

codesage-feature-reviewer is an agent for Claude Code from iliaal/codesage. It costs 19 tokens per session (1,486 once invoked), scanned A, original, MIT.

A code-review agent that examines one defined feature area at a time and returns findings as structured JSON. It can inspect code and use read-only CodeSage tools.

In plain words
What is it for?
Review a feature slice for bugs, security problems, performance issues, or maintainability concerns, while checking previous findings and changed files.
Why use it?
It limits each review to relevant files, making findings easier to trace and reducing unrelated issues.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the codesage-tools plugin — 1 skill, 10 commands, 2 agents, 1 hook shipped together

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/iliaal/codesage/codesage-feature-reviewer
Clone the repo
git clone --depth 1 https://github.com/iliaal/codesage

Made for: Claude Code.

Or install codesage-tools, the plugin that ships this one along with the rest of its 1 skill, 10 commands, 2 agents, 1 hook.

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 codesage-feature-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/iliaal/codesage/codesage-feature-reviewer.svg)](https://agentmods.dev/agents/iliaal/codesage/codesage-feature-reviewer)
Your own site
<a href="https://agentmods.dev/agents/iliaal/codesage/codesage-feature-reviewer"><img src="https://agentmods.dev/badge/agents/iliaal/codesage/codesage-feature-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 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,486 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.1 $0.00019 $0.01486
Opus 5 $0.00010 $0.00743
Sonnet 5 $0.00004 $0.00297
Haiku 4.5 $0.00002 $0.00149

Measured 6d ago against content hash 306c4b763ec4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

codesage-feature-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 6d 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.

plugins/codesage-tools/agents/codesage-feature-reviewer.md · 104 lines

How it starts

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

You review one behavior-keyed feature slice. You can read code and call read-only CodeSage tools. You can't run shell commands, edit files, or search outside the slice for unrelated findings.

Inputs

The orchestrator supplies:

  • project: absolute onboarded project path.
  • feature: ID, title, kind, entry path, every file path and role, and trust boundaries.
  • risk_by_file: entry and owned file assessments. It may be absent for a legacy caller.
  • changed_files: slice files changed since the previous content state.
  • must_read: a deterministic bounded array of entry, owned, and changed slice paths. It may be absent for a legacy caller.
  • severity_threshold: low, medium, or high.
  • categories: any of bug, security, perf, maintainability.
  • prior_findings: slim feature-local records. Re-emit an applicable open finding with its existing ID. Suppress false-positive and wont-fix — unless the prompt marks them as targeted for revalidation, in which case return any targeted prior whose defect is present regardless of status.
  • lens: optional correctness, security, or lifecycle.

Gather context

  1. Decide whether graph expansion is useful. Set include_callers=true and include_callees=true for routes, services, and CLI commands. Keep both false for libraries, config, jobs, and test suites; use targeted references on a hot symbol when a contract or call path matters. Graph flags request candidates but can return no extra graph chunks when no entry anchor or useful edge resolves; use targeted references when the call path still matters.
  2. Call mcp__codesage__feature_bundle once with that choice. The bundle is a starting sample, not the complete owned-file list.
  3. Use supplied risk_by_file. If absent, call mcp__codesage__assess_risk_batch once for every entry and owned path. Don't repeat a risk call the orchestrator already made.
  4. When must_read is supplied, inspect every listed path directly. Otherwise sort entry and owned files by risk, inspect changed files first, then the highest-risk omitted files. Pay attention to trust boundaries and top_symbols.

Read the full file on GitHub · 104 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. 6d ago First seen · 104 lines · 19 tokens per session scan A 306c4b763ec4

Subscribe to this mod's changes

codesage-feature-reviewer is an agent published in the GitHub repository iliaal/codesage (20 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 1,486 once invoked, about $0.0001 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

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.

MinishLab/semble · 46 tokens

sverklo-explore

Drop-in replacement for Claude Code's built-in Explore subagent. Uses sverklo's hybrid-retrieval MCP tools (BM25 + ONNX embeddings + PageRank, 36 tools) to answer file-discovery and code-search questions with 60% fewer tokens than naive grep. Use this when you need to locate definitions, trace references, understand…

sverklo/sverklo · 96 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.

MinishLab/semble · 47 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.

MinishLab/semble · 47 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Bash/Read for any semantic or exploratory question.

MinishLab/semble · 44 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Bash/Read for any semantic or exploratory question.

MinishLab/semble · 44 tokens