quick-fix

quick-fix is a skill for Claude Code, Codex from richardcb/oh-my-gemini. It costs 55 tokens per session (876 once invoked), scanned A, original, MIT.

A focused workflow for fixing one specific bug with the smallest correct code change.

In plain words
What is it for?
Use it for isolated bugs, failing tests, error messages, patches, and hotfixes that need changes in a small number of files.
Why use it?
It helps avoid turning a small repair into broad refactoring or planning work. It also includes checking the problem and verifying the result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for isolated bugs, failing tests, error messages, patches, and hotfixes that need changes in a small number of files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richardcb/oh-my-gemini/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.

Any agent
npx skills add richardcb/oh-my-gemini --skill quick-fix
Clone the repo
git clone --depth 1 https://github.com/richardcb/oh-my-gemini

Made for: Claude Code, Codex.

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/skills/richardcb/oh-my-gemini/quick-fix.svg)](https://agentmods.dev/skills/richardcb/oh-my-gemini/quick-fix)
Your own site
<a href="https://agentmods.dev/skills/richardcb/oh-my-gemini/quick-fix"><img src="https://agentmods.dev/badge/skills/richardcb/oh-my-gemini/quick-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 876 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.00055 $0.00876
Opus 5 $0.00028 $0.00438
Sonnet 5 $0.00011 $0.00175
Haiku 4.5 $0.00006 $0.00088

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

skills/quick-fix/SKILL.md · 134 lines

How it starts

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

Quick Fix Skill

Goal

Fix a specific bug or issue with the smallest correct change. This skill prioritizes speed and precision over comprehensive refactoring.

Activation Triggers

  • User says "quick fix", "small fix", "patch", "hotfix", or "just fix this"
  • User reports a specific, isolated bug
  • User wants a targeted change without broader planning
  • Error messages or failing tests that need a direct fix

When NOT to Use

This skill is explicitly not a planning workflow. If the fix requires:

  • Changing more than 3 files
  • Architectural decisions
  • New features or capabilities
  • Extensive refactoring

Then use the technical-planning or refactor skill instead.

Process

1. Understand the Bug

Get a clear description of the problem:

Questions to ask (if not already clear):

  • What is the expected behavior?
  • What is the actual behavior?
  • Can you share the error message or reproduction steps?
# Check for recent errors
git log --oneline -5 2>/dev/null

# Check test failures if applicable
npm test 2>&1 | tail -20 || echo "No test command"

2. Locate the Code

Find the relevant file(s) quickly:

# Search for error-related code
grep -rn "errorKeyword" src/ --include="*.ts" --include="*.js" | head -15

# Find the function or component
grep -rn "functionName" src/ --include="*.ts" --include="*.js" | head -10

Read the file and understand the immediate context around the bug.

3. Apply Minimal Fix

Make the smallest correct change:

Fix principles:

  • Change only what is necessary to fix the bug
  • Do not refactor surrounding code
  • Do not add features
  • Do not change formatting of untouched code
  • Preserve existing patterns and conventions

Common fix patterns:

Bug Type Fix Pattern
Null/undefined Add null check or optional chaining
Type mismatch Fix type or add type guard
Off-by-one Correct boundary condition
Missing await Add await keyword
Wrong condition Fix boolean logic
Missing import Add the import statement
Stale state Fix dependency array or use functional update

Read the full file on GitHub · 134 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. 8d ago First seen · 134 lines · 55 tokens per session scan A 25d10ad59801

Subscribe to this mod's changes

quick-fix is a skill published in the GitHub repository richardcb/oh-my-gemini (16 stars, last pushed 5mo ago), licensed MIT. It adds 55 tokens to every session and 876 once invoked, about $0.0003 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-30.