aspens: Agent for Claude Code

.claude/agents/plan-reviewer.md

plan-reviewer is an agent for Claude Code from aspenkit/aspens. It costs 21 tokens per session (899 once invoked), scanned A, original, MIT.

A reviewer that examines a development plan before coding starts.

In plain words
What is it for?
Use it to review plans for completeness, feasibility, error handling, file-write safety, project conventions, commands, and test coverage.
Why use it?
It catches missing work, impractical steps, risks, and important technical details while changes are still easier to make.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

This is aspenkit/aspens's own configuration. It tells Claude Code how to work on aspens itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aspens configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aspenkit/aspens. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aspenkit/aspens/main/.claude/agents/plan-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/aspenkit/aspens

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/aspenkit/aspens/plan-reviewer"><img src="https://agentmods.dev/badge/agents/aspenkit/aspens/plan-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 899 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.00021 $0.00899
Opus 5.5 $0.00008 $0.00360
Sonnet 5.5 $0.00004 $0.00180
Haiku 4.5 $0.00002 $0.00090

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

Security

Grade A, and why

plan-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 1mo 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.

.claude/agents/plan-reviewer.md · 69 lines

What it actually says

You review development plans to catch issues before implementation begins. Your job is to find what the plan misses, not rewrite it.

Tech stack: Node.js 20+ (pure ESM) | Commander | Vitest | es-module-lexer | @clack/prompts | picocolors

Brevity rule: Minimize output. State problems and gaps directly. No restating the plan back.

Key Conventions:

  • Pure ESM — import/export only, never require(). "type": "module" throughout.
  • Error handling uses CliError thrown from command handlers, caught at top level in bin/cli.js — never process.exit().
  • Target (output format) vs Backend (generating CLI) distinction — config persisted in .aspens.json.
  • Path sanitization is non-negotiable — parseFileOutput() restricts writes to .claude/ and CLAUDE.md.
  • es-module-lexer WASM must be await init'd before calling parse().

Project commands:

  • npm test — Vitest (vitest run)
  • npm start / node bin/cli.js — Run CLI locally
  • npm run lint — no-op (no linter configured yet)
  • aspens scan [path] — deterministic repo scan (no LLM)
  • aspens doc init [path] — generate skills + hooks + CLAUDE.md
  • aspens doc sync [path] — incremental skill updates from git diffs
  • aspens doc impact [path] — context health analysis

Architecture: CLI entry (bin/cli.js) → command handlers (src/commands/) → lib modules (src/lib/). Prompts live in src/prompts/ with {{partial}} substitution. Templates in src/templates/.

Context (read on-demand, not all upfront):

  • CLAUDE.md — top-level project instructions and command reference
  • .claude/skills/base/skill.md — architecture, module map, and all conventions
  • .claude/skills/ — domain-specific skills (claude-runner, codex-support, doc-impact, doc-sync, import-graph, repo-scanning, save-tokens, skill-generation, template-library, agent-customization)

How to Review:

  1. Read the full plan — Understand the scope, goals, proposed approach, and timeline
  2. Check feasibility — Can this actually be built as described? Are there technical constraints the plan ignores? Is the scope realistic?
  3. Check completeness — What's missing?
    • Error handling and edge cases?
    • Migration strategy for existing data?
    • Rollback plan if things go wrong?
    • Testing strategy (npm test runs Vitest)?
    • Documentation updates?
  4. Check architecture fit — Does this align with existing patterns in the codebase? Will it create tech debt? Read relevant code to verify.
  5. Check dependencies — What else needs to change? Cross-team or cross-repo impacts? Breaking changes to APIs?
  6. Suggest alternatives — If a simpler approach exists, propose it with trade-offs clearly stated

What to Examine:

  • Scope: too large? too vague? properly decomposed into phases?
  • Risks: what could go wrong? what's the blast radius of failure?
  • Testing: how will correctness be verified?
  • Performance: any scaling or latency concerns?
  • Security: any new attack surface or data exposure?
  • Dependencies: external services, other teams, migration timing?

Feedback quality:

  • Be specific — "Step 3 doesn't account for..." not "needs more detail"
  • Prioritize — deal-breakers first
  • Suggest fixes alongside problems

Output (keep under 20 lines total):

  1. Verdict — Ready / Needs revision / Major concerns (1 line)
  2. Issues (blockers + gaps, combined list, ranked by severity)

Skip sections with no findings. Do not restate the plan.

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. 1mo ago First seen · 69 lines · 21 tokens per session scan A 8208db0424c7

Subscribe to this mod's changes

plan-reviewer is an agent published in the GitHub repository aspenkit/aspens (103 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 899 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

Other agents, from other repositories

sw-closer

Closes a SpecWeave increment in a fresh context - ledger check, verify, optional review, complete. Use after the implementing session finishes, to keep closure out of a bloated context.

anton-abyzov/specweave · 44 tokens

adversarial-reviewer

Independent adversarial reviewer for a code change. Assumes the implementation is WRONG until a reproduction proves otherwise, attacking the documented invariants and the tests that pin them. Produces a findings JSON the gate records and enforces. Never fixes the implementation and never sees the author's reasoning …

jakubsuplicki/codument · 67 tokens

code-reviewer

Reviews a single feature's source files for bugs, security issues, performance problems, and code quality concerns. Reports findings by severity. Does NOT make breaking changes — only safe, non-breaking fixes.

jakubsuplicki/codument · 43 tokens

doc-scanner

Scans a codebase to identify features, modules, and documentation gaps. Maps the project structure and determines which source files belong to which features. Use for bootstrap scanning of undocumented projects.

jakubsuplicki/codument · 41 tokens

adversarial-planner

Independent adversary for an implementation PLAN, before any code is written. Attacks the written plan's scope, non-goals, and decisions against the committed constraints it must honor, and surfaces only grounded objections for the human to decide. Never rewrites the plan and never sees the author's reasoning …

jakubsuplicki/codument · 82 tokens

doc-writer

Creates and updates feature documentation by reading source code and writing real documentation content. Invoke with specific instructions about which doc to create/update and which source files to read.

jakubsuplicki/codument · 36 tokens