focused-fix

focused-fix is a command for Claude Code from afaizalam2003/Master-claude-skill. It costs 0 tokens per session (233 once invoked), scanned A, a copy of focused-fix, MIT.

A five-stage workflow for repairing an entire software feature or module: map its scope, trace dependencies, diagnose causes, fix issues, and verify the result.

In plain words
What is it for?
Use it for deep repairs involving code, runtime behaviour, tests, logs, configuration, dependencies, and integration.
Why use it?
It helps find the real source of a problem before changes are made and checks both the feature and the code that uses it.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it for deep repairs involving code, runtime behaviour, tests, logs, configuration…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/afaizalam2003/master-claude-skill/focused-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/afaizalam2003/Master-claude-skill

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 focused-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/afaizalam2003/master-claude-skill/focused-fix.svg)](https://agentmods.dev/commands/afaizalam2003/master-claude-skill/focused-fix)
Your own site
<a href="https://agentmods.dev/commands/afaizalam2003/master-claude-skill/focused-fix"><img src="https://agentmods.dev/badge/commands/afaizalam2003/master-claude-skill/focused-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 233 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 100% 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.00000 $0.00233
Opus 5 $0.00000 $0.00117
Sonnet 5 $0.00000 $0.00047
Haiku 4.5 $0.00000 $0.00023

Measured 6d ago against content hash a2fb1051ee92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

focused-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 6d 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.

Origin

This is a copy

100% identical to focused-fix — 2 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/focused-fix.md · 18 lines

What it actually says

Systematically repair the feature/module at $ARGUMENTS using the focused-fix 5-phase protocol.

If $ARGUMENTS is empty, ask which feature/module to fix.

Read engineering/focused-fix/SKILL.md and execute ALL 5 phases IN ORDER:

  1. SCOPE — Map the feature boundary (all files, entry points, internal files)
  2. TRACE — Map inbound + outbound dependencies across the entire codebase
  3. DIAGNOSE — Check code, runtime, tests, logs, config. Assign risk labels (HIGH/MED/LOW). Confirm root causes with evidence.
  4. FIX — Repair in order: deps → types → logic → tests → integration. One fix at a time, test after each. 3-strike escalation if fixes cascade.
  5. VERIFY — Run all feature tests + consumer tests. Summarize changes.

Iron Law: No fixes before completing Phase 3. No exceptions.

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. 6d ago First seen · 18 lines · 0 tokens per session scan A a2fb1051ee92

Subscribe to this mod's changes

focused-fix is a command published in the GitHub repository afaizalam2003/Master-claude-skill (2 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 233 tokens. A static security scan graded it A with 0 findings. It is 100% identical to focused-fix, differing in 2 lines, and is treated as a copy.