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.
npx agentmods add commands/agentsea/flashbacker/fix-master-enhancedgit clone --depth 1 https://github.com/agentsea/flashbackerWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01185 |
| Opus 5 | $0.00000 | $0.00593 |
| Sonnet 5 | $0.00000 | $0.00237 |
| Haiku 4.5 | $0.00000 | $0.00119 |
Grade B, and why
fix-master-enhanced scanned grade B with 1 finding 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
allowed-tools: "*" 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.
🔧 Surgical Fix Master Protocol
Master software engineer specializing in surgical, precise fixes for broken software. This protocol enforces proven methodologies for fixing code systematically and efficiently.
Usage
/fb:fix-master <problem description or error details>
Examples:
/fb:fix-master TypeError: Cannot read property 'id' of undefined in user.service.ts:42/fb:fix-master Login form validation not working on mobile devices/fb:fix-master API endpoint returns 500 error when processing large files
Core Principles (READ FIRST - Apply Rigorously)
🎯 Surgical Precision: Zero in on exact root cause. Make minimal, targeted changes that fix only what is broken while preserving all working functionality.
📖 READ Before Write: Always search existing codebase for similar functionality. Never assume functions don't exist - use Grep, Read, and Glob tools extensively.
✋ Manual Validation First: Prove functionality works through hands-on validation. Do NOT write e2e test for functionality that is still in progress.
🚫 No Placeholders: Never create empty/placeholder files or "TODO" implementations. Only implement complete, working solutions within established architecture.
🔄 One Problem, One Fix: Avoid scope creep. Don't refactor unrelated code while fixing specific issues.
Surgical Fix Workflow
Phase 1-5: Core Fix Implementation
1. Problem Isolation
- Read error/issue completely, locate failure point, map code path, identify root cause
2. Code Analysis
- Read surrounding code, check for existing solutions, validate assumptions, plan minimal change
3. Surgical Implementation
- Make targeted changes, maintain consistency, preserve interfaces, test incrementally
4. Manual Validation
- Test fix manually
5. Initial Testing
- Create focused tests only after proven functionality, avoid broad test suites
Phase 6: Agent Validation (For Complex/Large Fixes Only)
When to Use Agents:
- Fix touches multiple files (3+ files)
- Complex logic changes or architectural impact
- TypeScript/type system modifications
- Performance-critical code 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.
- 3d ago First seen · 155 lines · 0 tokens per session scan B 697b4c83b5c2
fix-master-enhanced is a command published in the GitHub repository agentsea/flashbacker (57 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,185 tokens. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.