ace:plan-fix

A command that reads user-acceptance-test issues, analyzes their causes, and plans fixes by assigning each issue to the appropriate part of the codebase. User-acceptance testing checks whether the product meets expected real-world use cases.

In plain words
What is it for?
Use it with an UAT issue file such as UAT-ISSUES.md to organize bugs, regressions, missing features, integration failures, and configuration problems into an actionable fix plan.
Why use it?
It turns loosely reported testing problems into structured work with severity, affected files, expected behavior, and ownership. This helps teams decide where each fix belongs before editing code.

Command

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/agricidaniel/ace-claude-code/plan-fix
Clone the repo
git clone --depth 1 https://github.com/AgriciDaniel/ace-claude-code
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 1,473 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.01473
Opus 5 $0.00006 $0.00737
Sonnet 5 $0.00002 $0.00295
Haiku 4.5 $0.00001 $0.00147

Measured 2d ago against content hash 863010ec96be, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ace:plan-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 2d 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.

.ace/commands/plan-fix.md · 200 lines

How it starts

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

Load: Related PLAN.md and SUMMARY.md

1. Load and Parse Issues

Read UAT-ISSUES.md or the specified issues file. Each issue entry follows this structure:

### ISS-XXX: [Title]
- **Type:** Bug | Regression | Missing Feature | Integration Failure
- **Severity:** Critical | High | Medium | Low
- **Source:** UAT test name or verification step
- **Affected Files:** List of files involved
- **Description:** What went wrong
- **Expected:** What should have happened
- **Actual:** What actually happened

Parse each issue and extract the key metadata for analysis.

2. Analyze Issues and Determine Zone Ownership

For each issue, determine which zone should own the fix:

Zone Assignment Rules:

Issue Characteristics Assigned Zone
Core logic, algorithms, main entry points ALPHA
UI components, user interactions, display BETA
Data layer, API calls, external integrations GAMMA
Cross-cutting (affects multiple zones) ALPHA (coordinates)
Build/config issues Orchestrator handles directly

Analysis checklist per issue:

  • Identify the root cause file(s)
  • Check which zone originally created the affected code
  • Estimate fix complexity (Simple: < 30 min, Medium: 30-90 min, Complex: > 90 min)
  • Identify dependencies (does this fix require other fixes first?)
  • Check for regression risk (will fixing this break other things?)

3. Convert Issues to Fix Tasks

Transform each issue into a structured task. The issue-to-task mapping follows this pattern:

Issue-to-Task Mapping Examples:

Issue Resulting Task
ISS-001: Login button not responding BETA-FIX-001: Restore click handler on login button component
ISS-002: API returns 500 on /users endpoint GAMMA-FIX-001: Fix error handling in users API controller
ISS-003: Calculation produces NaN for negative inputs ALPHA-FIX-001: Add input validation to calculation engine
ISS-004: Modal doesn't close on ESC key BETA-FIX-002: Add keyboard event listener to modal component
ISS-005: Cache not invalidating on update GAMMA-FIX-002: Implement cache invalidation in data service

Read the full file on GitHub · 200 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. 2d ago First seen · 200 lines · 12 tokens per session scan A 863010ec96be

Subscribe to this mod's changes

ace:plan-fix is a command published in the GitHub repository AgriciDaniel/ace-claude-code (24 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 1,473 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.