quick-fix

quick-fix is a command for coding agents from CloudAI-X/claude-workflow-v2. It costs 12 tokens per session (346 once invoked), scanned A, original, MIT.

A command that finds and fixes lint errors, type errors, and simple bugs in a code project. Lint checks code style and common mistakes; type checks verify that values are used consistently.

In plain words
What is it for?
Use it for quick repairs in Node.js, Python, or Go projects, including TypeScript checks, ESLint, Ruff, and Flake8 checks.
Why use it?
It gathers recent changes and relevant checks, helping narrow down small problems without manually inspecting the whole project.

Command

Part of the claude-workflow-v2 plugin — 14 skills, 26 commands, 7 agents, 6 hooks shipped together

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/cloudai-x/claude-workflow-v2/quick-fix
Clone the repo
git clone --depth 1 https://github.com/CloudAI-X/claude-workflow-v2

Or install claude-workflow-v2, the plugin that ships this one along with the rest of its 14 skills, 26 commands, 7 agents, 6 hooks.

Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 346 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.00012 $0.00346
Opus 5 $0.00006 $0.00173
Sonnet 5 $0.00002 $0.00069
Haiku 4.5 $0.00001 $0.00035

Measured 3d ago against content hash 3edc0ced5cef, 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 3d 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 · 26 lines

What it actually says

Context

  • Package manager detection: !ls package.json 2>/dev/null && echo "Node.js project" || ls requirements.txt pyproject.toml 2>/dev/null && echo "Python project" || ls go.mod 2>/dev/null && echo "Go project" || echo "Unknown"
  • Recent changes: !git diff --name-only HEAD~1 2>/dev/null || git diff --name-only
  • TypeScript errors (if applicable): !npx tsc --noEmit 2>&1 | head -30 || echo "No TypeScript"
  • ESLint errors (if applicable): !npx eslint . --format compact 2>&1 | head -30 || echo "No ESLint"
  • Python lint (if applicable): !python3 -m ruff check . 2>&1 | head -30 || python3 -m flake8 . 2>&1 | head -30 || echo "No Python linter"

Task

Fix the issue described below:

  1. Identify the type of error (type error, lint, syntax, logic)
  2. Locate the problematic file(s)
  3. Apply the minimal fix needed
  4. Verify the fix by re-running the relevant check
  5. Report what was fixed

Target: $ARGUMENTS

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. 3d ago First seen · 26 lines · 12 tokens per session scan A 3edc0ced5cef

Subscribe to this mod's changes

quick-fix is a command published in the GitHub repository CloudAI-X/claude-workflow-v2 (1,413 stars, last pushed 8d ago), licensed MIT. It adds 12 tokens to every session and 346 once invoked, about $0.0001 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.