quick-fix

quick-fix is a command for Claude Code from bybren-llc/a-safe-pulse. It costs 7 tokens per session (724 once invoked), scanned A, a copy of quick-fix, MIT.

A command for handling small, urgent bug fixes through a shortened workflow. It creates a branch, guides a focused change, runs essential checks, and prepares a pull request.

In plain words
What is it for?
Use it to fix a blocking bug with existing test coverage, make a small change, run local tests or a build, and create a ticket-linked commit and pull request.
Why use it?
It avoids using a lengthy feature-development process for an isolated fix. It also sets limits so the workflow is not used for large refactors, new features, or breaking changes.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

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/bybren-llc/a-safe-pulse/quick-fix
Clone the repo
git clone --depth 1 https://github.com/bybren-llc/a-safe-pulse

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/bybren-llc/a-safe-pulse/quick-fix.svg)](https://agentmods.dev/commands/bybren-llc/a-safe-pulse/quick-fix)
Your own site
<a href="https://agentmods.dev/commands/bybren-llc/a-safe-pulse/quick-fix"><img src="https://agentmods.dev/badge/commands/bybren-llc/a-safe-pulse/quick-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% 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.00007 $0.00724
Opus 5 $0.00003 $0.00362
Sonnet 5 $0.00001 $0.00145
Haiku 4.5 $0.00001 $0.00072

Measured yesterday against content hash ca028ce87f83, 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 yesterday.

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

88% identical to quick-fix — 21 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 · 155 lines

How it starts

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

📋 TEMPLATE: This command is a template. See "Customization Guide" below to adapt for your infrastructure.

Execute streamlined workflow for small, urgent bug fixes that need fast turnaround.

When to Use

Quick fixes are appropriate for:

  • ✅ Critical bugs blocking team
  • ✅ Small, isolated changes (< 50 lines)
  • ✅ No architecture changes
  • ✅ Existing test coverage adequate

NOT for:

  • ❌ New features
  • ❌ Large refactors
  • ❌ Breaking changes
  • ❌ Dependency upgrades

Streamlined Workflow

1. Setup (Fast)

If WOR number provided ($1):

  • Fetch ticket: mcp__linear-mcp__get_issue $1
  • Verify it's a bug fix
  • Create branch: git checkout -b ASP-$1-fix-{description}

If no argument:

  • Ask for WOR number
  • Proceed with setup

2. Make Fix

Guide user:

  • Identify the bug location
  • Make minimal, focused change
  • Test locally
  • Commit with clear description
git add .
git commit -m "fix(scope): resolve {issue} [ASP-XXX]"

3. Fast Validation

Run essential checks only:

npm run build    # TypeScript
npm test         # Jest tests

Skip if time-critical:

  • Integration tests
  • Full build verification

4. Quick PR

git fetch origin && git rebase origin/dev
git push --force-with-lease origin {branch}

Create PR with minimal template:

## 🐛 Quick Fix

**Linear**: [ASP-XXX](link)
**Type**: Bug fix
**Urgency**: High

### Issue

Brief description of bug

### Fix

What was changed (1-2 sentences)

### Testing

- [ ] Manually tested
- [ ] Unit tests pass
- [ ] No regressions expected

### Merge Fast?

- [ ] Yes, this is blocking team
- [ ] No, normal review process

5. Notify Team

If urgent:

  • Tag reviewers in PR
  • Comment in Linear ticket
  • Notify in Slack (if configured)

Success Criteria

  • ✅ Fix applied in < 30 minutes
  • ✅ Essential validations pass
  • ✅ PR created with clear context
  • ✅ Team notified if urgent

Safety Checks

Even in quick fixes:

  • ✅ Commit message follows SAFe format
  • ✅ Branch naming correct
  • ✅ Linear ticket referenced
  • ✅ TypeScript & ESLint pass

Read the full file on GitHub · 155 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. yesterday First seen · 155 lines · 7 tokens per session scan A ca028ce87f83

Subscribe to this mod's changes

quick-fix is a command published in the GitHub repository bybren-llc/a-safe-pulse (9 stars, last pushed 5mo ago), licensed MIT. It adds 7 tokens to every session and 724 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to quick-fix, differing in 21 lines, and is treated as a copy.