AI4L: Agent for Claude Code

.agents/agents/er-fixer.md

er-fixer is an agent for Claude Code from forever-healthy/AI4L. It costs 12 tokens per session (2,074 once invoked), scanned A, original, MIT.

An agent for auditing and fixing an evidence review according to a specified AI4L process. An evidence review is a structured collection of material and quality checks used to assess a subject.

In plain words
What is it for?
Use it to inspect the named review and its quality-assurance files, then apply the required audit or fixes.
Why use it?
It limits the work to the selected review and its permitted files, reducing accidental use of unrelated review data.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions Codex.

This is forever-healthy/AI4L's own configuration. It tells Claude Code how to work on AI4L itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AI4L configures →

Reuse

Borrowing it

Nothing to install: this file belongs to forever-healthy/AI4L. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/forever-healthy/AI4L/main/.agents/agents/er-fixer.md
Clone the repo
git clone --depth 1 https://github.com/forever-healthy/AI4L

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/forever-healthy/ai4l/er-fixer/github.svg)](https://agentmods.dev/agents/forever-healthy/ai4l/er-fixer)
Your own site
<a href="https://agentmods.dev/agents/forever-healthy/ai4l/er-fixer"><img src="https://agentmods.dev/badge/agents/forever-healthy/ai4l/er-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 er-fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/forever-healthy/ai4l/er-fixer"><img src="https://agentmods.dev/badge/agents/forever-healthy/ai4l/er-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 2,074 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.00012 $0.02074
Opus 5.5 $0.00005 $0.00830
Sonnet 5.5 $0.00002 $0.00415
Haiku 4.5 $0.00001 $0.00207

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

Security

Grade A, and why

er-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 11d 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.

.agents/agents/er-fixer.md · 117 lines

How it starts

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

AI4L - Agent to Audit & Fix Evidence Reviews according to ER.md

  • Set [evidence_review] to the Evidence Review defined in your instructions

  • Set [audit_ai_fullname] to the model name, version number and variant (if any) as stated in your system prompt or developer instructions, written as "[name] [version]" or "[name] [version] [variant]". [name] is the word or words directly before the version number; if there is more than one, leave out the first (the vendor or model family) (e.g., Claude Opus 5.5 → Opus 5.5, gemini-3.8-flash → Gemini 3.8 Flash, acme-nova-max-2.0 → Nova Max 2.0). Leave out product, effort and pricing names, also when attached by a hyphen (e.g., Codex, Build, high, free, preview), and capitalize every word. Never use a model name or version from memory. If your system prompt or developer instructions name a model without a version number, [audit_ai_fullname] is that name alone, without a version (e.g., "a Grok Build subagent" → Grok). If they name no model at all, set [audit_ai_fullname] to "Unknown"; a name you believe to be yours does not count.

  • Set [audit_ai_nickname] to [audit_ai_fullname] without the version number, with all remaining words joined by hyphens (e.g., Opus, Gemini-Flash, Nova-Max). If [audit_ai_fullname] has no version number or is "Unknown", [audit_ai_nickname] equals [audit_ai_fullname].

  • Report FIXER: [audit_ai_fullname] / [audit_ai_nickname]

  • If you resume from a summary of earlier work, take [audit_ai_fullname] and [audit_ai_nickname] from the values reported there; never decide them again.

  • READ SCOPE — you may read ONLY:

    • [evidence_review]
    • the audit file you create during this run
    • [er_prompt]
    • files you yourself created in [tmp_dir] during this run
  • Never read any OTHER evidence review, and never read any _ER_QA.md file other than the one you create in this run — prior audits of this same review included, regardless of where they live or what they are named. If [creation_dir] holds other reviews alongside the one you are working on, they are out of scope too.

  • Never glob, list or search for evidence reviews or _ER_QA.md files.

  • Applies to ANY means of access, not just the Read tool: cat, head, tail, sed, awk, grep, diff, less, ls and any glob or file search count the same.

  • An audit or a fix is derived from [evidence_review] and [er_prompt] — never from another review.

  • READ SCOPE covers local files only. Web search and the MCP research tools (PubMed, ClinicalTrials.gov, fetch, browser) are NOT restricted by it — use them as [er_prompt] requires.

  • Report FIXER: evidence_review: [evidence_review]

  • Read [er_prompt] in chunks of 250 lines, from the top to its end

  • Read [evidence_review] in chunks of 250 lines, from the top to its end

  • Perform a QA audit on [evidence_review] by following the instructions in [er_prompt]

  • If the [pass_rate] of the audit is not 100% {

    • Report FIXER: pass_rate: [pass_rate]. Will fix the issues found in the audit.

    • Fix the issues found in [evidence_review] during the audit

    • When fixing a link that failed 5.9, 5.10 or 5.15, repair it in exactly one of two ways: replace the URL with one that retrieves the cited source and itself satisfies Section 5, or remove the link and its annotation when no such URL exists. Never leave a failing link in place, and never rewrite the annotation to match a different page.

    • Save the fixed version of the [evidence_review]

    • Report FIXER: ER fixed: [evidence_review]

    • Report FIXER: Documenting the fixes in a markdown file...

    • Create a [temporary_file] in [tmp_dir], named like [audit_filename] with .md replaced by _fixes.md, with the following content:

    • Start with ## Fixes [audit_date reformatted as '%m/%d/%Y %H:%M']

    • Then note all the fixed issues in this format:

      • Analog to the ## Issues section, but with the following changes/similarities:

      • Numbered list

      • Each entry: 1. **{item# of the issue} — {short label, a 3-6 word condensed summary}:** {What was changed, from-to if helpful. 1-2 sentences max.}

Read the full file on GitHub · 117 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. 11d ago Changed 2f5439866378
  2. 14d ago Changed · +3 lines 4218ea9c46a2
  3. 1mo ago Changed · +1 lines 1fbb60b100a1
  4. 1mo ago Changed 6b04733e497a
  5. 1mo ago Changed cd455033892e
  6. 1mo ago Changed 4d40179a4cf7
  7. 1mo ago Changed 24c8200b64f7
  8. 1mo ago Changed cadecbb87ece
  9. 1mo ago Changed ab058186abd7
  10. 2mo ago First seen · 113 lines · 12 tokens per session scan A 0cb74ea896c3

Subscribe to this mod's changes

er-fixer is an agent published in the GitHub repository forever-healthy/AI4L (43 stars, last pushed 10d ago), licensed MIT. It adds 12 tokens to every session and 2,074 once invoked, about $0.0000 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-09-04.

Related

er-fixer compared with agents from other repositories

er-fixer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
er-fixerforever-healthy/AI4LAgent4310d agoMITA12Claude Code
orchestratorfall-out-bug/sdpAgent195mo agoMITA0Claude Code
stage-gate-controllerConradgui/loop-craftAgent53mo agoApache-2.0A78Claude Code
plannerfall-out-bug/sdpAgent195mo agoMITA16Claude Code
reviewerfall-out-bug/sdpAgent195mo agoMITA17Claude Code
timps_environment_doctorSandeeprdy1729/timps-swarmAgent12mo agoMITA65Claude Code
timps_network_medicSandeeprdy1729/timps-swarmAgent12mo agoMITA74Claude Code