quick-fix

A workflow for making one small, obvious fix directly on the current branch. It covers changes such as correcting a typo, condition, variable name, or unnecessary error handler.

In plain words
What is it for?
Use it for a single, low-risk fix that usually changes only a small amount of code and needs no new test coverage.
Why use it?
It avoids using a large planning process for a trivial change while stopping when the fix is broader or riskier than expected.

Command for Claude Code

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 commands/robconery/cassini-workshop/quick-fix
Clone the repo
git clone --depth 1 https://github.com/robconery/cassini-workshop

Made for: Claude Code.

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 678 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 $0.00021 $0.00678
Opus 5 $0.00010 $0.00339
Sonnet 5 $0.00004 $0.00136
Haiku 4.5 $0.00002 $0.00068

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

Security

Grade A, and why

quick-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 2d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • quick-fix — 100% identical, 0 lines differ
  • quick-fix — 100% identical, 0 lines differ
.claude/commands/quick-fix.md · 63 lines

How it starts

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

quick-fix

For the trivial stuff: a typo, a reversed condition, a dead try/catch, a misnamed variable, a stray import. The kind of bug where opening /explore/design/plan/build-loop would be absurd.

Scope

  • IN: one-spot fixes that a competent engineer would commit straight to main without ceremony. Single concern. Usually < ~20 lines changed.
  • OUT: anything that needs a design call, touches a public API contract, changes behavior across modules, or needs new tests beyond what already exists. If it smells like that, stop and suggest /plan or /build-loop.

Argument

$ARGUMENTS describes the fix in the user's words (e.g. "remove the unneeded try/catch in fetchUser", "fix the typo in the login button"). If empty, ask one short clarifying question.

Loop

  1. Locate. Find the exact site. If the description is ambiguous or matches multiple places, ask before guessing.
  2. Confirm it's actually small. If reading the surrounding code reveals the fix is non-trivial (touches a class boundary, changes a contract, needs new branches of test coverage), stop and escalate — tell the user this isn't a quick-fix and suggest /plan.
  3. Consult skills selectively. Only load a code-quality skill if the fix genuinely touches its territory:
    • solid-principles / design-principles / gof-patterns: only if the fix sits at a class or module boundary, or changes a control-flow pattern. Skip for typos, comments, log strings, dead code removal.
    • agent-teams: skip — quick-fixes are single-threaded by definition.
    • typescript-best-practices: consult if the fix involves types, any/unknown, null handling, or error shape.
  4. Apply the edit. Use Edit, not Write. Match surrounding style.
  5. Verify. Run the project's typecheck and tests if they're fast. If they're slow or absent, run the narrowest check that proves the fix (e.g. tsc --noEmit on the file, or the single related test).
  6. Report and ask before committing. Show the diff summary and propose a one-line commit message. Do not commit unless the user says go — committing straight to main is a shared-state action.

Read the full file on GitHub · 63 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. 2d ago First seen · 63 lines · 21 tokens per session scan A ecebfd994975

Subscribe to this mod's changes

quick-fix is a command published in the GitHub repository robconery/cassini-workshop (1 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 678 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-31.