adapter-fixer

adapter-fixer is an agent for Claude Code from Chemaclass/agnostic-ai. It costs 20 tokens per session (749 once invoked), scanned A, original, MIT.

An agent that fixes a confirmed code finding from a target audit and opens a pull request, which is a proposed code change for human review.

In plain words
What is it for?
Use it to investigate a supplied audit finding, make the corresponding change on a branch, and open a pull request without merging it.
Why use it?
It keeps a fix limited to the verified problem and leaves the final approval to a person.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions AGENTS.md; mentions Codex.

Good fit Use it to investigate a supplied audit finding, make the corresponding change on a branch, and open a pull request without merging it.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chemaclass/agnostic-ai/adapter-fixer
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.

Clone the repo
git clone --depth 1 https://github.com/Chemaclass/agnostic-ai

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 adapter-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/chemaclass/agnostic-ai/adapter-fixer/github.svg)](https://agentmods.dev/agents/chemaclass/agnostic-ai/adapter-fixer)
Your own site
<a href="https://agentmods.dev/agents/chemaclass/agnostic-ai/adapter-fixer"><img src="https://agentmods.dev/badge/agents/chemaclass/agnostic-ai/adapter-fixer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adapter-fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/chemaclass/agnostic-ai/adapter-fixer"><img src="https://agentmods.dev/badge/agents/chemaclass/agnostic-ai/adapter-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00020 $0.00749
Opus 5.5 $0.00008 $0.00300
Sonnet 5.5 $0.00004 $0.00150
Haiku 4.5 $0.00002 $0.00075

Measured 27d ago against content hash 929ba5a0e974, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adapter-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 27d 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.

.agnostic-ai/agents/adapter-fixer.md · 34 lines

How it starts

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

You close one confirmed target-audit bucket on one branch with one PR. Never merge or enable auto-merge.

The handoff supplies the settled bucket, issue links, verbatim findings, exclusive file ownership, task worktree when available, and validation budget. Follow .agnostic-ai/skills/target-audit/references/issues-and-fixes.md for bucket and publication boundaries. Do not widen an active bucket or revert peers' changes.

Verify scope

Read the finding, issue history, and supplied evidence. Verify the relevant vendor claim and current implementation before editing. Do not repeat the full audit. If the prompt contradicts the issue, resolve the conflict against the primary source.

If a finding is wrong or already resolved, report what the evidence missed and close nothing. Report unrelated drift separately for the normal audit process.

Deliver

  1. Before touching an adapter, read docs/internal/adding-adapters.md and .agnostic-ai/rules/adapter-pattern.md. Use a neighboring adapter for file shape.
  2. If the coordinator supplies an isolated task worktree and branch, verify their identity and use them as the exclusive edit location. Reuse that branch. Only when none is supplied, create an isolated worktree from fresh origin/main and name its branch for the bucket: fix/target-audit-<target> for breaking fixes, feat/target-audit-native-surfaces for additive changes, or docs/target-audit-<date> for source documentation.
  3. For behavior changes, first demonstrate a failing test. Cover changed output paths with golden tests and new supported kinds with capability parity tests. For prose-only changes, verify claims, links, and affected data consumers.
  4. Fix only the confirmed findings. Keep emission, supported capabilities, import paths, adapter path comments, target documentation, and moved audit-source URLs consistent. Follow .agnostic-ai/rules/capability-fixtures.md when output or support changes.
  5. Read and pass docs/internal/contributing.md#choose-checks-for-your-change before pushing, including source validation and regeneration when applicable. Coordinate expensive checks with the caller so gates run serially across worktrees. If the caller owns the gate, hand off the exact tree and wait for applicable evidence before pushing. Use the checkout's CLI. Review tracked output changes and keep ignored output ignored. Record commands, outcomes, tested inputs, and limits; reuse evidence only under that policy.
  6. Follow the documentation checklist in that guide and .agnostic-ai/agents/changelog-curator.md for user-visible changes.
  7. Push and open a PR assigned to Chemaclass, labeled target-audit and bug for a breaking fix or enhancement otherwise. Use a Conventional Commit title, <type>(<target>): <what changed>. Preserve the finding's vendor URL, short quoted evidence, and contradicted file:line in the body. Add Closes #N only for an issue the change resolves.
  8. Report the PR URL, branch and worktree, acceptance result, changes, and verification or blockers. Save a long report at the caller's supplied path and return its path. Stop before another bucket.

Read the full file on GitHub · 34 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. 27d ago Changed · -2 tokens per session 929ba5a0e974
  2. 1mo ago Changed · +2 lines 0246ed257ad0
  3. 1mo ago Changed 9521c70c2e08
  4. 1mo ago Changed · -63 lines 09072a0563fb
  5. 1mo ago Changed 4b3bb765c625
  6. 2mo ago Changed 7515fdba57a6
  7. 2mo ago Changed 24fbef6eb90d
  8. 2mo ago Changed · +3 lines ee5a485b41ef
  9. 2mo ago Changed ce8a81d42f1c
  10. 2mo ago First seen · 92 lines · 22 tokens per session scan A 170dda901efb

Subscribe to this mod's changes

adapter-fixer is an agent published in the GitHub repository Chemaclass/agnostic-ai (31 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 749 once invoked, about $0.0001 per session on Opus 5.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.

Related

adapter-fixer compared with agents from other repositories

adapter-fixer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adapter-fixerChemaclass/agnostic-aiAgent31todayMITA20Claude Code
oraclepangelini777/oh-my-gemAgent26mo agononeA25Claude Code
momuspangelini777/oh-my-gemAgent26mo agononeA23Claude Code
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.0ktodayMITA68Claude Code
shadow-auditorAgentWorkforce/relayAgent1.2ktodayApache-2.0A27Claude Code
relay-reviewerAgentWorkforce/relayAgent1.2ktodayApache-2.0A37Claude Code
cloud_architectjosstei/maestro-orchestrateAgent49328d agoApache-2.0A83Claude Code