report-fix

report-fix is a command for Claude Code from zachjxyz/jvn. It costs 7 tokens per session (691 once invoked), scanned A, original, MIT.

A command that reads a project report and fixes the issues listed in it, starting with the most serious. It looks for report files in the reports directory or the newest matching report when asked for the latest.

In plain words
What is it for?
Use it after generating a project report to address critical, high, medium, and low-priority issues. It can apply quick isolated fixes and other changes based on the report’s findings.
Why use it?
It turns findings about security, dependencies, tests, performance, or technical debt into an ordered set of code changes. Strengths are skipped because the command focuses on problems.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it after generating a project report to address critical, high, medium, and low-priority issues. It can apply quick isolated fixes and other changes based on the report’s findings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/zachjxyz/jvn/report-fix
View source ↗ zachjxyz/jvn
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/zachjxyz/jvn

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 report-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/zachjxyz/jvn/report-fix/github.svg)](https://agentmods.dev/commands/zachjxyz/jvn/report-fix)
Your own site
<a href="https://agentmods.dev/commands/zachjxyz/jvn/report-fix"><img src="https://agentmods.dev/badge/commands/zachjxyz/jvn/report-fix/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 report-fix

Your own site · 80×15
<a href="https://agentmods.dev/commands/zachjxyz/jvn/report-fix"><img src="https://agentmods.dev/badge/commands/zachjxyz/jvn/report-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 691 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.00007 $0.00691
Opus 5 $0.00003 $0.00345
Sonnet 5 $0.00001 $0.00138
Haiku 4.5 $0.00001 $0.00069

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

Security

Grade A, and why

report-fix 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 8d 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.

template/.claude/commands/report-fix.md · 99 lines

How it starts

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

/report-fix — Systematically Fix Report Issues

Read a project report and fix the identified issues, prioritized by severity.

User Input

$ARGUMENTS

Parse the argument to find the report file:

  • If @latest — find the newest report-*.md file in reports/
  • Otherwise — look for reports/$ARGUMENTS.md or reports/$ARGUMENTS

If the report file doesn't exist, tell the user and suggest running jvn --report first.

Process

1. Read and Parse the Report

Read the report file. Extract actionable items from:

  • Weaknesses (rated Critical/High/Medium/Low)
  • Threats (security, outdated deps, scaling)
  • Opportunities (quick wins first)

Skip Strengths — those are already good.

2. Prioritize

Order fixes by priority:

  1. Critical — Security vulnerabilities, breaking issues, data integrity risks
  2. High — Outdated deps with known issues, missing auth checks, missing tests for critical paths
  3. Medium — Tech debt, DX improvements, performance optimizations
  4. Low — Cosmetic issues, nice-to-haves

3. Execute Fixes

For each issue, choose the right approach:

Quick fix (< 5 minutes, isolated change):

  • Fix directly — edit the file, add the test, update the dep
  • Commit with descriptive message

Medium fix (touches multiple files, needs design):

  • Use the /spec/design/build pipeline
  • The spec should reference the report finding

Dependency update:

  • Run the update command
  • Verify tests still pass
  • Check for breaking changes in changelog

4. User Approval Gates

CRITICAL and HIGH priority items: STOP and present the proposed fix to the user before executing. Wait for explicit approval (PROCEED / SKIP / MODIFY).

MEDIUM and LOW items: Fix and present a summary. User can undo with /rewind if needed.

5. Generate Fix Report

After all fixes, append a Fix Report section to the ORIGINAL report file:

---

## Fix Report — [timestamp]

### Summary
Fixed [N] of [M] identified issues.

### Fixes Applied

| # | Issue | Priority | Action Taken | Status |
|---|-------|----------|-------------|--------|
| 1 | [issue from report] | Critical | [what was done] | ✓ Done |
| 2 | [issue from report] | High | [what was done] | ✓ Done |
| 3 | [issue from report] | Medium | Skipped (user) | ⊘ Skipped |

### Files Changed
[List of files modified with change type]

### Remaining Items
[Any issues that were not addressed and why]

Read the full file on GitHub · 99 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. 8d ago First seen · 99 lines · 7 tokens per session scan A a51edba7ccb0

Subscribe to this mod's changes

report-fix is a command published in the GitHub repository zachjxyz/jvn (2 stars, last pushed 6mo ago), licensed MIT. It adds 7 tokens to every session and 691 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-31.