claude-sdk-rs: Command for Claude Code

.claude/commands/fix.md

fix is a command for Claude Code from bredmond1019/claude-sdk-rs. It costs 0 tokens per session (1,631 once invoked), scanned A, original, Apache-2.0.

A command for applying targeted code changes after a review marks a task as failed or partly complete. It can fix one numbered task or all tasks in a task specification.

In plain words
What is it for?
Use it to resolve FAIL or PARTIAL review findings in a planned task, either for one task number or for the whole specification.
Why use it?
It prevents changes from being made without first checking the recorded review result and task scope. It gives the agent the specific feedback and files needed to address an incomplete implementation.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is bredmond1019/claude-sdk-rs's own configuration. It tells Claude Code how to work on claude-sdk-rs 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 claude-sdk-rs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. 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/bredmond1019/claude-sdk-rs/main/.claude/commands/fix.md
Clone the repo
git clone --depth 1 https://github.com/bredmond1019/claude-sdk-rs

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 fix

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/fix"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,631 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.00000 $0.01631
Opus 5.5 $0.00000 $0.00652
Sonnet 5.5 $0.00000 $0.00326
Haiku 4.5 $0.00000 $0.00163

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

Security

Grade A, and why

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 11d 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/commands/fix.md · 127 lines

How it starts

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

Fix — Make targeted fixes for a FAIL or PARTIAL review verdict.

Variables

$ARGUMENTS — path to the task spec, with an optional task number suffix. Same format as /implement.

Examples:

  • planning/phase0-blockC/tasks.md — fix all tasks in the spec
  • planning/phase0-blockC/tasks.md 3 — fix task 3 only

Instructions

  1. If $ARGUMENTS is not provided, stop and ask the user for the task spec path.

  2. Parse $ARGUMENTS: split on the last space. If the trailing token is a number, treat it as the task number to fix; the remainder is the spec path. If no number is present, operate on all tasks.

  3. Derive the spec dir: planning/phase0-blockC/tasks.md → planning/phase0-blockC/sdlc/.

  4. Read sdlc/state.json (if absent, and sdlc/worklog.md also has no ## Review section for this scope, stop immediately:

    Cannot fix: no review result found for <spec> [N]. Run /review-task <spec> [N] first. ). Find the most recent review verdict for this scope: state.json's top-level review.verdict field (spec-wide runs) or, for a task-scoped fix, the relevant tasks["<N>"] entry plus the most recent ## Task <N> — REVIEW ... section in sdlc/worklog.md (worklog sections are the ordered history; state.json only holds the latest value per key).

  5. Check the verdict.

    • If PASS: stop with: "Review verdict is PASS — no fix needed. Run /document <spec> [N]."
    • If FAIL or PARTIAL: continue.
  6. Extract from the most recent ## Task <N> — REVIEW ... worklog section (and state.json's review.findings, if populated): a. Every acceptance criterion recorded as NOT MET or PARTIAL — criterion text and evidence. b. Every issue listed — collect the symbol reference (function, struct, type, or test name; a line number only as a secondary hint) and description. c. The blocking rationale.

  7. Run /prime to orient to the codebase.

  8. Determine the fix pass number: read sdlc/state.json's tasks["<N>"].attempts (or, for a full run, the highest attempts across all task entries touched by this spec). This fix pass is attempts + 1. If no prior state exists, this is Fix Pass 1 — note its absence.

Read the full file on GitHub · 127 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. 11d ago First seen · 127 lines · 0 tokens per session scan A f9ffaf017614

Subscribe to this mod's changes

fix is a command published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,631 tokens. 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-10-26.

Related

fix compared with commands from other repositories

fix next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fixbredmond1019/claude-sdk-rsCommand231mo agoApache-2.0A0Claude Code
qa-changesOpenHands/extensionsCommand176yesterdayMITA63Claude Code
react-nativegetsentry/toolkitCommand957yesterdaynoneA0Claude Code
auditar-cascadingluanpdd/kit-mcpCommand54d agoMITA54Claude Code
http-serviceMadAppGang/magusCommand14yesterdayMITA27Claude Code
doctordoncheli/don-cheli-sddCommand592mo agoApache-2.0A76Claude Code
doctorfatihkan/badiCommand71mo agoMITA0Claude Code