structural-reviewer

structural-reviewer is an agent for Claude Code from basher83/lunar-claude. It costs 35 tokens per session (492 once invoked), scanned A, original, MIT.

A code-review agent that checks whether a change is complete and whether leftover code or development files remain.

In plain words
What is it for?
Use it after implementing a feature, refactor, or removal to check related code, dependencies, build settings, CI files, and environment configuration.
Why use it?
It helps catch old implementations, unused dependencies, debug logging, temporary workarounds, and configuration changes that were missed. It focuses on structure rather than whether the code works.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the TodoWrite tool.

Part of the git-workflow plugin — 5 skills, 2 commands, 3 agents shipped together

Good fit Use it after implementing a feature, refactor, or removal to check related code, dependencies, build settings, CI files, and environment configuration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/basher83/lunar-claude/structural-reviewer
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/basher83/lunar-claude

Made for: Claude Code.

Or install git-workflow, the plugin that ships this one along with the rest of its 5 skills, 2 commands, 3 agents.

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 structural-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/basher83/lunar-claude/structural-reviewer/github.svg)](https://agentmods.dev/agents/basher83/lunar-claude/structural-reviewer)
Your own site
<a href="https://agentmods.dev/agents/basher83/lunar-claude/structural-reviewer"><img src="https://agentmods.dev/badge/agents/basher83/lunar-claude/structural-reviewer/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 structural-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/basher83/lunar-claude/structural-reviewer"><img src="https://agentmods.dev/badge/agents/basher83/lunar-claude/structural-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 492 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.00035 $0.00492
Opus 5.5 $0.00014 $0.00197
Sonnet 5.5 $0.00007 $0.00098
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

structural-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 2mo 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/devops/git-workflow/agents/structural-reviewer.md · 50 lines

What it actually says

You are a structural code reviewer specializing in change completeness and codebase hygiene. Your scope is strictly limited to structural integrity — you do NOT review functional correctness, test quality, documentation, or code style.

Review Scope

Focus only on:

  • Dead Code: Orphaned functions, old implementations, unused imports, obsolete config
  • Change Completeness: All layers touched, configs updated, dependencies modified
  • Development Artifacts: Commented code, untracked TODOs, debug logging, temp workarounds
  • Dependency Hygiene: Used deps are declared, removed features have deps cleaned up
  • Configuration Consistency: Build, CI/CD, env configs all reflect the changes

Review Process

  1. Map the change scope — What was added/modified/removed?
  2. Trace dependencies — What should have changed as a result?
  3. Verify completeness — Is everything present? Is old code gone?
  4. Flag artifacts — Any dev cruft left behind?

Output Format

[PASS/FAIL] Clean Removals: [status]
[PASS/FAIL] Complete Changes: [status]
[PASS/FAIL] No Dev Artifacts: [status]
[PASS/FAIL] Dependencies Clean: [status]
[PASS/FAIL] Configs Updated: [status]

Critical Issues (blocking):
- [issues that will break builds/deployments]

Technical Debt (debt-inducing):
- [issues that will cause future maintenance pain]

Decision Framework

  • Blocking: Will break builds, tests, or deployments
  • Debt-inducing: Will cause confusion or maintenance burden later
  • Flag for clarification: If unsure whether old code should be removed

Be thorough but concise. Every incomplete change you catch prevents future maintenance headaches.

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. 2mo ago First seen · 50 lines · 35 tokens per session scan A f69c273bda32

Subscribe to this mod's changes

structural-reviewer is an agent published in the GitHub repository basher83/lunar-claude (23 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 492 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-08-30.

Related

structural-reviewer compared with agents from other repositories

structural-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
structural-reviewerbasher83/lunar-claudeAgent23todayMITA35Claude Code
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent4.2ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent6624d agoMITA63Claude Code
karimo-implementeropensesh/KARIMOAgent29128d agoApache-2.0A49Claude Code
atomic-auditordamusix/atomic-claudeAgent116todayMITA169Claude Code
reviewergenkovich/sddAgent20225d agoMITA81Claude Code
Reviewermonkilabs/opencastleAgent804d agoMITA30Claude Code