quick-fix

A workflow for very small code changes, such as typo fixes, comment updates, simple configuration changes, or obvious one-line fixes.

In plain words
What is it for?
Use it for changes affecting fewer than three files that do not alter architecture or user-visible behavior.
Why use it?
It gives minor changes a shorter review path while directing uncertain, multi-file, business-logic, or user-facing changes to a fuller process.

Command

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/pablomarin/claude-codex-forge/quick-fix
Clone the repo
git clone --depth 1 https://github.com/pablomarin/claude-codex-forge
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 793 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.00000 $0.00793
Opus 5 $0.00000 $0.00396
Sonnet 5 $0.00000 $0.00159
Haiku 4.5 $0.00000 $0.00079

Measured 2d ago against content hash 50a183b8186b, 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.

commands/quick-fix.md · 130 lines

How it starts

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

Quick Fix Workflow

For trivial changes only. If in doubt, use /new-feature or /fix-bug instead.


When to Use This

  • Typo fixes
  • Comment updates
  • Single-line bug fixes with obvious cause
  • Config tweaks
  • Documentation-only changes
  • Changes touching fewer than 3 files
  • No architectural impact

If ANY of these apply, use the full workflow instead:

  • You're not 100% sure of the fix
  • Multiple files need changes
  • The fix involves business logic
  • Tests need to be added/modified
  • Database/API changes involved
  • User-facing behavior changed — UI, API response, CLI output, navigation, permissions. Quick-fix skips E2E verification; any user-facing change requires the verify-e2e agent via /fix-bug. Trivial = no behavior change (typos, comments, dead code removal, internal refactors that preserve behavior).

Pre-Flight Check

  1. Verify branch: You must NOT be on main. If on main:
    git checkout -b "fix/$ARGUMENTS"
    

Research Check

Quick fixes skip the full research-first agent. However, if this change touches an external dependency or API (version bump, API call change, new library import):

  • Check the library's current docs via Context7 or WebSearch before implementing
  • Verify no breaking changes between your version and the one you're targeting

If purely internal (typo fix, config change, style cleanup): no research needed.


The Fix

  1. Make the change
  2. Verify it works (run relevant tests or check manually)

Quality Gates (STILL REQUIRED)

Verify (USE SUBAGENT - saves context window)

MUST use the verify-app subagent - Do NOT run tests yourself.

Using a subagent keeps test output out of your context window, preserving tokens for actual work.

Invoke the subagent:

Use the Task tool with:
- subagent_type: "verify-app"
- prompt: "Run verification on current changes and report pass/fail verdict."

Note: Quick-fix doesn't create worktrees. For parallel development, use /new-feature or /fix-bug instead.

Read the full file on GitHub · 130 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 · 130 lines · 0 tokens per session scan A 50a183b8186b

Subscribe to this mod's changes

quick-fix is a command published in the GitHub repository pablomarin/claude-codex-forge (5 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 793 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-08-31.