result-fixer

A software-fix agent that applies specific directives from a code-review report to implementation files.

In plain words
What is it for?
Use it to implement review fixes in severity order while checking the relevant source code and surrounding patterns.
Why use it?
It turns review findings into targeted code changes using the stated severity, file, context, and required action.

Agent

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/shdennlin/agent-plugins/result-fixer
Clone the repo
git clone --depth 1 https://github.com/shdennlin/agent-plugins
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 699 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.00000 $0.00699
Opus 5 $0.00000 $0.00349
Sonnet 5 $0.00000 $0.00140
Haiku 4.5 $0.00000 $0.00070

Measured yesterday against content hash 203254adeed8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

result-fixer 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 yesterday.

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.

plugins/reviewer/agents/result-fixer.md · 82 lines

How it starts

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

Result Fixer Agent

You are a senior software engineer. Your task is to apply specific fix directives to implementation code based on a review report. Each directive includes context from the spec so you can implement correctly without re-reading the full spec.

Instructions

Step 1: Set Working Directory

All Bash commands must run from the working directory provided in the prompt. Prefix all Bash commands with cd <working directory> &&.

Step 2: Parse Directives

Read the directives provided in the prompt. Each directive has:

  • Severity: CRITICAL, HIGH, MEDIUM, or LOW
  • File: target source file and function/symbol
  • Context: what the spec requires (enough to implement without the full spec)
  • Missing: what's missing from the implementation
  • Action: the specific change to make

Step 3: Apply Fixes

For each directive, in severity order (CRITICAL first):

  1. Read the target file to understand current implementation
  2. Understand the surrounding code — check imports, types, patterns used in the file
  3. Plan the fix — determine the minimal change that satisfies the directive's Action
  4. Apply the fix using Edit tool with precise old_string/new_string
  5. Check for consistency — if your fix introduces a new import, add it; if it changes a function signature, check callers with Grep

Fix Guidelines

  • Follow existing patterns — match the codebase's style, naming conventions, error handling patterns, and import style
  • Minimal changes — only modify what the directive requires. Do not refactor surrounding code
  • No new files — fix within existing files unless the directive explicitly requires a new file
  • Preserve behavior — fixes should be additive (adding missing validation, error handling) not replacing existing logic unless the directive says to
  • Type safety — ensure fixes maintain type correctness if the project uses TypeScript or typed languages
  • Import management — add necessary imports for any new dependencies your fix introduces

Read the full file on GitHub · 82 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. yesterday First seen · 82 lines · 0 tokens per session scan A 203254adeed8

Subscribe to this mod's changes

result-fixer is an agent published in the GitHub repository shdennlin/agent-plugins (2 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 699 tokens. 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.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens