quick-fix

quick-fix is a command for Claude Code from pablomarin/claude-codex-forge. It costs 0 tokens per session (692 once invoked), scanned A, original, MIT.

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 for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions Codex.

Good fit Use it for changes affecting fewer than three files that do not alter architecture or user-visible behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/pablomarin/claude-codex-forge/quick-fix
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.

Clone the repo
git clone --depth 1 https://github.com/pablomarin/claude-codex-forge

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/pablomarin/claude-codex-forge/quick-fix/github.svg)](https://agentmods.dev/commands/pablomarin/claude-codex-forge/quick-fix)
Your own site
<a href="https://agentmods.dev/commands/pablomarin/claude-codex-forge/quick-fix"><img src="https://agentmods.dev/badge/commands/pablomarin/claude-codex-forge/quick-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 quick-fix

Your own site · 80×15
<a href="https://agentmods.dev/commands/pablomarin/claude-codex-forge/quick-fix"><img src="https://agentmods.dev/badge/commands/pablomarin/claude-codex-forge/quick-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 692 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.00692
Opus 5.5 $0.00000 $0.00277
Sonnet 5.5 $0.00000 $0.00138
Haiku 4.5 $0.00000 $0.00069

Measured 15d ago against content hash a2c3affb7450, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 15d 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 · 42 lines

How it starts

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

/quick-fix — Host-Neutral Small-Change Workflow

Use only for a clearly understood, low-risk, non-user-facing change with an obvious focused check. The change may touch at most three implementation paths; exact release metadata paths README.md and docs/CHANGELOG.md do not consume that budget. If diagnosis is uncertain, architecture or product judgment is needed, the behavior is user-facing, the change is high-risk, or the path limit would be exceeded, stop and use /fix-bug or /new-feature.

Apply the shared Startup boundary before the first workflow step. It is the canonical activation, resume, isolation, and setup-failure contract.

Steps

  1. Resolve the active host and run .forge/hooks/lib/workflow-state.sh show (PowerShell: the .ps1 twin). Resume only the exact matching active workflow. A new quick fix must start from a clean quick-fix/<slug> branch whose HEAD equals a distinct named base branch; activate it with workflow-state.sh activate --host <claude|codex> --workflow quick-fix --task <slug> --base-ref <named-base-branch> --phase diagnosis --next-step '<exact next step>' (or the .ps1 twin) before investigation or tracked mutation. HEAD, a raw commit SHA, or the quick-fix branch itself is not a valid activation base.
  2. State the acceptance check and affected paths. If behavior changes, write and observe a focused failing test first; documentation-only corrections use a direct rendered or static check.
  3. Make the smallest change. If the work stops satisfying the quick-fix eligibility rules, checkpoint the state and restart it as /fix-bug or /new-feature; do not stretch the quick-fix boundary.
  4. Run the focused check directly in the main session. Quick-fix dispatches no code-spec, code-quality, verify-app, or verify-e2e role and creates no candidate-bound final receipt set.
  5. Apply this repository's release policy. In the Forge source repository, every merged change set bumps exact MAJOR.MINOR.PATCH, records every change in docs/CHANGELOG.md, and adds README release prose only for material changes. Downstream repositories follow their own policy; never invent or rewrite a downstream .forge/version as part of application work.
  6. Check the complete diff from the recorded base. It must contain no more than three implementation paths, plus optional exact README.md and docs/CHANGELOG.md release metadata. Record the direct check result in the workflow checklist and run workflow-state.sh checkpoint (or the .ps1 twin) to record the phase as complete.
  7. Commit normally after the ship hook accepts the validated base and scope. Show any push, PR, or merge mutation and pause for the required human authorization; authorization for one external mutation does not imply another.

Read the full file on GitHub · 42 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. 15d ago Changed · -11 lines a2c3affb7450
  2. 20d ago Changed · +16 lines ea9b46436b1d
  3. 1mo ago Changed · -93 lines 83e9b8a4dc26
  4. 1mo 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 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 692 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.