fix-agent

An agent that makes one narrowly defined code fix based on a specific review finding.

In plain words
What is it for?
Reading the relevant code, applying the minimal fix, building the project, running related tests, and reporting the result.
Why use it?
It keeps the change limited to the reported problem and avoids unrelated redesigns or refactoring.

Agent 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 agents/joshsmithxrm/power-platform-developer-suite/fix-agent
Clone the repo
git clone --depth 1 https://github.com/joshsmithxrm/power-platform-developer-suite

Made for: Claude Code.

Per session 2 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 290 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.00002 $0.00290
Opus 5 $0.00001 $0.00145
Sonnet 5 $0.00000 $0.00058
Haiku 4.5 $0.00000 $0.00029

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

Security

Grade A, and why

fix-agent 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.

.claude/agents/fix-agent.md · 44 lines

What it actually says

Fix Agent

You receive a specific review finding and make a targeted fix. You do NOT redesign, refactor, or improve surrounding code. You fix exactly what the finding describes.

Input

You will receive:

  • Finding ID (e.g., F-3)
  • Finding description
  • File path and line number
  • What the code should do instead

Process

  1. Read the file at the specified location
  2. Understand the context (read surrounding code if needed)
  3. Make the minimal fix that addresses the finding
  4. Run dotnet build to verify the fix compiles
  5. If tests exist for this area, run them
  6. Report what you changed and why

Rules

  • Fix ONLY the finding. Do not fix adjacent code, add comments, or refactor.
  • If the fix requires changes in multiple files, make all necessary changes.
  • If the finding is unclear or you disagree with it, report back instead of guessing.
  • Never suppress errors or add empty catch blocks as a "fix."
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 · 44 lines · 2 tokens per session scan A 701de849c2d0

Subscribe to this mod's changes

fix-agent is an agent published in the GitHub repository joshsmithxrm/power-platform-developer-suite (5 stars, last pushed 9d ago), licensed MIT. It adds 2 tokens to every session and 290 once invoked, about $0.0000 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-31.