cassini-workshop: Command for Claude Code

.claude/commands/quick-fix.md

quick-fix is a command for Claude Code from opagani/cassini-workshop. It costs 21 tokens per session (678 once invoked), scanned A, a copy of quick-fix, MIT.

A command for making one small, obvious code fix directly on the current branch, without creating a larger plan or development cycle.

In plain words
What is it for?
Use it for isolated fixes such as typos, reversed conditions, dead error handling, misnamed variables, or unused imports.
Why use it?
It avoids unnecessary planning work for simple changes while stopping when the issue affects broader behavior or design.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

This is opagani/cassini-workshop's own configuration. It tells Claude Code how to work on cassini-workshop 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 cassini-workshop configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/opagani/cassini-workshop/main/.claude/commands/quick-fix.md
Clone the repo
git clone --depth 1 https://github.com/opagani/cassini-workshop

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/opagani/cassini-workshop/quick-fix.svg)](https://agentmods.dev/commands/opagani/cassini-workshop/quick-fix)
Your own site
<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>
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. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00678
Opus 5 $0.00010 $0.00339
Sonnet 5 $0.00004 $0.00136
Haiku 4.5 $0.00002 $0.00068

Measured 6d ago against content hash ecebfd994975, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

Origin

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.

.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. 6d 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 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.