AI4L AGENTS.md

AI4L AGENTS.md is an instructions file for Codex, OpenCode from forever-healthy/AI4L. It costs 261 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; mentions Codex.

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 instructions/forever-healthy/ai4l/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 261 This file is loaded in full into every session.
When invoked 261 The same file — it is already loaded in full.
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.1 $0.00261 $0.00261
Opus 5 $0.00130 $0.00130
Sonnet 5 $0.00052 $0.00052
Haiku 4.5 $0.00026 $0.00026

Measured yesterday against content hash 827c04beb4ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

AGENTS.md · 20 lines

What it actually says

Version 1.3.21Forever Healthy

OpenAI Codex Instructions

Canonical Paths

When running in Codex, use .codex/skills and .codex/agents as the canonical repo-local skill and agent paths.

These paths may be symlinks. When inspecting them from the shell, follow symlinks, for example with find -L.

Do not use .claude/skills or .claude/agents as the primary path unless explicitly asked or unless resolving the .codex symlink target.

Sub-Agent Defaults

Never set model or reasoning_effort when spawning Codex sub-agents unless the user explicitly asks for a specific model or reasoning effort in the current turn.

Do not set fork_context: true when spawning Codex sub-agents. Sub-agents must start without inherited conversation history and receive only the explicit task instructions, relevant repo paths, globals, and target filenames needed for their assigned work.

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 · 20 lines · 261 tokens per session scan A 827c04beb4ee

Subscribe to this mod's changes

AI4L AGENTS.md is an instructions file published in the GitHub repository forever-healthy/AI4L (38 stars, last pushed 9d ago), licensed MIT. It adds 261 tokens to every session, about $0.0013 per session on Opus 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.