Borrowing it
Nothing to install: this file belongs to opagani/cassini-workshop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/opagani/cassini-workshop/main/.claude/commands/quick-fix.mdgit clone --depth 1 https://github.com/opagani/cassini-workshopWrote 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.
[](https://agentmods.dev/commands/opagani/cassini-workshop/quick-fix)<a href="https://agentmods.dev/commands/opagani/cassini-workshop/quick-fix"><img src="https://agentmods.dev/badge/commands/opagani/cassini-workshop/quick-fix.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00678 |
| Opus 5 | $0.00010 | $0.00339 |
| Sonnet 5 | $0.00004 | $0.00136 |
| Haiku 4.5 | $0.00002 | $0.00068 |
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 6d 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.
This is a copy
100% identical to quick-fix — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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
mainwithout 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
/planor/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
- Locate. Find the exact site. If the description is ambiguous or matches multiple places, ask before guessing.
- 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. - 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.
- Apply the edit. Use
Edit, notWrite. Match surrounding style. - 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 --noEmiton the file, or the single related test). - 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
mainis a shared-state action.
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.
- 6d ago First seen · 63 lines · 21 tokens per session scan A ecebfd994975
quick-fix is a command published in the GitHub repository opagani/cassini-workshop (0 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. It is 100% identical to quick-fix, differing in 0 lines, and is treated as a copy.
Other commands, from other repositories
preflight
Diagnostique l'environnement Cortex et guide la réparation (DB, extensions, modèles).
fix
Diagnose and fix bugs, errors, and issues in code.
harness-check
Validate harness invariants — brain check (brain-axi CLI) + repo supplement (sync rule, sub-agent frontmatter, dead links).
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.