AI4L: Instructions file for Codex

AGENTS.md

AI4L AGENTS.md is an instructions file for Codex, OpenCode from forever-healthy/AI4L. It costs 1,153 tokens per session, scanned A, original, MIT.

A set of repository instructions for the AI4L project, including its standard locations for Codex skills and agents and defaults for starting sub-agents.

In plain words
What is it for?
Use it when working in AI4L with Codex to find local instructions and follow its sub-agent setup rules.
Why use it?
It keeps agents using the project's intended files and avoids passing along conversation context or settings that were not requested.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions subagents; reads ~/.codex paths.

This is forever-healthy/AI4L's own configuration. It tells Codex and OpenCode 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.md
Clone the repo
git clone --depth 1 https://github.com/forever-healthy/AI4L

Made for: Codex, OpenCode.

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 AI4L AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/forever-healthy/ai4l/agents-md"><img src="https://agentmods.dev/badge/instructions/forever-healthy/ai4l/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,153 This file is loaded in full into every session.
When invoked 1,153 The same file — it is already loaded in full.
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.01153 $0.01153
Opus 5.5 $0.00461 $0.00461
Sonnet 5.5 $0.00231 $0.00231
Haiku 4.5 $0.00115 $0.00115

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

Security

Grade A, and why

AI4L AGENTS.md 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.md · 95 lines

How it starts

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

Version 2.0.2 Forever Healthy

Project Instructions

Session related

  • For interactive conversations, follow "prompts/PERSONA.md"

Glossary

  • "ER" stands for evidence review

  • "_ER.md" refers to the .md file of an ER

  • "ER.md" refers to the ER prompt ([er_prompt]), never to an ER file

  • "QA" stands for quality assurance; a "QA audit" is the audit of an ER against ER.md

  • "_ER_QA.md" refers to the .md file of a QA of an ER

Timestamps

  • When generating timestamps (for filenames, headers, etc.), always obtain the current date/time by running date in the shell. Never use the model's internal clock, as it may differ from the local timezone.

Globals for Skills and @Agents

  • [er_prompt] = "prompts/ER.md"

  • [creation_dir] = "creation/"

  • [tmp_dir] = "creation/tmp/"

  • [trash_dir] = "creation/trash/"

  • [library_dir] = "library/"

  • [max_audits] = 20

  • [needed_passes] = 1

Hard Rule

  • NEVER modify any files outside of [creation_dir], [tmp_dir], or [trash_dir] without explicit user permission. This includes, but is not limited to, files in the root directory, configuration files, and any other files not in the listed directories.

When Calling @Agents

  • ALWAYS call the @agent exactly as specified in the prompt
  • DO NOT modify the prompts for the @agent or the way to call them; pass the prompt as it is.
  • DO NOT modify the arguments you pass to the @agent; pass them as they are.

MCP Servers

When calling d-pubmed (pubmed_fetch_articles), always pass 'pmids' as a proper JSON array of strings, never as a comma-separated string or single value

When verifying PubMed URLs, use mcp__d-pubmed__pubmed_fetch_articles first. If the PMID resolves, that is the verification; only if it does not resolve, fall back to the chain below.

When verifying ClinicalTrials.gov URLs, use mcp__d-clinicaltrialsgov__clinicaltrials_get_study_record first. If the NCT ID resolves, that is the verification; only if it does not resolve, fall back to the chain below.

Read the full file on GitHub · 95 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 · +3 lines · +8 tokens per session fc78d56e5c7d
  2. 12d ago Changed · +2 lines · +61 tokens per session 9b31677d2161
  3. 14d ago Changed · +70 lines · +821 tokens per session 9d546a8ef122
  4. 1mo ago Changed 86b26e79c5f1
  5. 1mo ago Changed 4d2f553161e9
  6. 1mo ago Changed · +2 tokens per session 0e4adb4cf3d1
  7. 1mo ago Changed 40453f5db473
  8. 1mo ago Changed 88d99aa962b8
  9. 1mo ago Changed d1c921d02e0b
  10. 1mo ago First seen · 20 lines · 261 tokens per session scan A 789d05e0e11d

Subscribe to this mod's changes

AI4L AGENTS.md is an instructions file published in the GitHub repository forever-healthy/AI4L (43 stars, last pushed 10d ago), licensed MIT. It adds 1,153 tokens to every session, about $0.0046 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

AI4L AGENTS.md compared with instructions from other repositories

AI4L AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AI4L AGENTS.mdforever-healthy/AI4LInstructions file4310d agoMITA1,153Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode