quick-fix

quick-fix is a command for Claude Code from bybren-llc/safe-agentic-workflow. It costs 0 tokens per session (766 once invoked), scanned A, original, MIT.

A shortened workflow for small, urgent bug fixes. It is intended for isolated changes under 50 lines with no architecture changes, breaking changes, or dependency upgrades.

In plain words
What is it for?
Use it to fetch or request a bug ticket, create a fix branch, make a focused change, run TypeScript, lint, and unit checks, and commit the fix.
Why use it?
It limits the process to the essential ticket, coding, testing, and review steps when a full development workflow would add unnecessary delay.

Command for Claude Code

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

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/safe-agentic-workflow/quick-fix.svg)](https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/quick-fix)
Your own site
<a href="https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/quick-fix"><img src="https://agentmods.dev/badge/commands/bybren-llc/safe-agentic-workflow/quick-fix.svg" alt="Measured on agentmods" 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 766 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.00766
Opus 5 $0.00000 $0.00383
Sonnet 5 $0.00000 $0.00153
Haiku 4.5 $0.00000 $0.00077

Measured 4d ago against content hash 63311bfb20bb, 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 4d 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.

.claude/commands/quick-fix.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 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__{{MCP_LINEAR_SERVER}}__get_issue $1
  • Verify it's a bug fix
  • Create branch: git checkout -b {{TICKET_PREFIX}}-$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} [{{TICKET_PREFIX}}-XXX]"

3. Fast Validation

Run essential checks only:

yarn type-check  # TypeScript
yarn lint        # ESLint
yarn test:unit   # Fast tests only

Skip if time-critical:

  • Integration tests
  • E2E tests
  • 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**: [{{TICKET_PREFIX}}-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

Read the full file on GitHub · 156 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. 4d ago First seen · 156 lines · 0 tokens per session scan A 63311bfb20bb

Subscribe to this mod's changes

quick-fix is a command published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 766 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-30.