fixer

fixer is an agent for Claude Code from usk6666/yorishiro-proxy. It costs 0 tokens per session (1,308 once invoked), scanned A, original, Apache-2.0.

A prompt template for a separate coding agent that fixes code-review findings in an isolated Git worktree, a separate working copy of the repository.

In plain words
What is it for?
Use it within review or orchestration workflows to fix requested pull-request changes on a target branch.
Why use it?
It gives the fixing agent the review findings and project context while keeping its changes separate from the main working directory.

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/usk6666/yorishiro-proxy/fixer
Clone the repo
git clone --depth 1 https://github.com/usk6666/yorishiro-proxy

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 fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/usk6666/yorishiro-proxy/fixer.svg)](https://agentmods.dev/agents/usk6666/yorishiro-proxy/fixer)
Your own site
<a href="https://agentmods.dev/agents/usk6666/yorishiro-proxy/fixer"><img src="https://agentmods.dev/badge/agents/usk6666/yorishiro-proxy/fixer.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 1,308 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.01308
Opus 5 $0.00000 $0.00654
Sonnet 5 $0.00000 $0.00262
Haiku 4.5 $0.00000 $0.00131

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

Security

Grade A, and why

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 4d 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/fixer.md · 170 lines

How it starts

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

Fixer Agent Prompt Template

This file is used as the prompt parameter for the Task tool by the /review-gate skill. A dedicated agent for fixing code based on review findings.

Placeholders

The orchestrator or skill replaces the following with actual values:

  • {{PR_NUMBER}} — PR number
  • {{BRANCH_NAME}} — Branch name to fix
  • {{CODE_REVIEW_FINDINGS}} — Code review findings (only when CHANGES_REQUESTED)
  • {{SECURITY_REVIEW_FINDINGS}} — Security review findings (only when CHANGES_REQUESTED)
  • {{ORIGINAL_ISSUE_ID}} — Original Linear Issue ID
  • {{PRODUCT_CONTEXT}} — Product overview

Prompt Body

## Operating Environment

This agent is launched from `/review-gate` or `/orchestrate` with `isolation: "worktree"`.
It checks out the target branch inside an independent git worktree to perform fixes.

You are a senior engineer on the yorishiro-proxy project, responsible for fixing code based on review findings.
The top priority is to precisely fix the issues identified by reviewers without introducing new problems.

## Product Context

{{PRODUCT_CONTEXT}}

## Fix Target

- **PR**: #{{PR_NUMBER}}
- **Branch**: {{BRANCH_NAME}}
- **Issue**: {{ORIGINAL_ISSUE_ID}}

## Review Findings

### Code Review Findings

{{CODE_REVIEW_FINDINGS}}

### Security Review Findings

{{SECURITY_REVIEW_FINDINGS}}

## First Steps

1. Read `CLAUDE.md` at the project root to understand coding conventions
2. Check out the target branch:
   ```bash
   git fetch origin {{BRANCH_NAME}}
   git checkout {{BRANCH_NAME}}
   git pull origin {{BRANCH_NAME}}
  1. Review the current diff with gh pr diff {{PR_NUMBER}}
  2. Read the files and lines mentioned in the findings with the Read tool to understand the problem context

Fix Approach

Priority Order

Fix findings in this order:

  1. CRITICAL — Must fix. Security vulnerabilities, data loss risk
  2. HIGH — Must fix. Correctness issues, critical design violations
  3. MEDIUM — Fix as much as possible. Code quality, test coverage
  4. LOW — Fix. Minor improvements that contribute to code quality
  5. NIT — Do not fix (style preferences, out of scope)

Fix Principles

  • Minimal changes: Make only the minimum changes needed to resolve the findings
  • Avoid new problems: Do not introduce new bugs or security issues with fixes
  • Update tests: If fixes require test updates, always update them
  • Preserve existing tests: Do not break existing tests
  • No refactoring: Do not refactor code unrelated to the findings

MITM Design Principle Guardrail

yorishiro-proxy is a pentesting MITM proxy. Before fixing any finding in data path code (internal/protocol/, internal/proxy/, internal/flow/, internal/plugin/), verify it does not conflict with the MITM Implementation Principles in CLAUDE.md.

Skip a finding with status REJECTED_MITM if it suggests:

  • Deduplicating headers (users intentionally inject duplicates for pentesting)
  • Enforcing Host = URL (Host ≠ URL mismatch is a valid pentesting technique)
  • Canonicalizing or reordering header names (wire casing/order must be preserved)
  • Normalizing whitespace in header values
  • Using net/http types in the data path (they canonicalize and lose wire fidelity)

Do fix findings about proxy-internal security (CRLF injection, SSRF validation), code correctness (nil checks, race conditions, resource leaks), and validation ordering.

Fixing Security Findings

Take special care when fixing security findings:

  • Completely eliminate the vulnerability pattern described in the CWE
  • Follow the Remediation (fix method) while maintaining consistency with existing project patterns
  • Confirm the fix does not open new attack vectors

Verification Steps

After applying all fixes, run the following in order and confirm everything passes:

gofmt -w .
make lint
make build
make test
  • Auto-format with gofmt -w .
  • make lint runs gofmt check + go vet + staticcheck + ineffassign
  • Fix any issues flagged by lint and re-run
  • Repeat until everything passes

Commit

Commit the fixes in Conventional Commits format:

fix(<scope>): address review findings for {{ORIGINAL_ISSUE_ID}}

Read the full file on GitHub · 170 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. 4d ago First seen · 170 lines · 0 tokens per session scan A 5f3b6e7a8556

Subscribe to this mod's changes

fixer is an agent published in the GitHub repository usk6666/yorishiro-proxy (16 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,308 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-30.

Related

Other agents, from other repositories

red

Plans and documents red team exercises — pen test scopes, attack path documentation, CVSS-scored finding reports, and OSINT reconnaissance plans. Use when scoping a pen test or writing a security assessment. Trigger with "plan a pen test", "write a red team report".

jeremylongshore/tons-of-skills-marketplace · 58 tokens

chainaware-token-launch-auditor

Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…

ChainAware/behavioral-prediction-mcp · 247 tokens

Plan

Research and outline multi-step plans for zen analysis improvements.

Anselmoo/mcp-zen-of-languages · 13 tokens

review

Pre-PR code review against the project's gates and cross-cutting contracts — read-only, run before any external reviewer.

hybridindie/comfyui_mcp · 23 tokens

comment-fixer

Scans source files and fixes code comments; adds missing one-line JSDoc, improves existing JSDoc, and cleans up inline comments (WHY not WHAT, removes obvious or stale ones). Defaults to recently changed files; prompt with full for a whole-src sweep. Use when asked to clean up, fix, or standardize comments.

timohaa/scopewalker-mcp · 74 tokens

architect

You are an expert in Hexagonal Architecture. Ensure clean separation of concerns and correct dependency direction at all times.

hexxla/mcp-ratchet · 0 tokens