airails: Instructions file for Codex

AGENTS.md

airails AGENTS.md is an instructions file for Codex, OpenCode from AdamBien/airails. It costs 844 tokens per session, scanned B, original, MIT.

Instructions for installing and managing agent skills from the airails.dev repository. A skill is a reusable set of instructions or tools for a coding agent.

In plain words
What is it for?
Installing airails.dev skills for Claude, Vibe, Kiro, Copilot, Codex, or Goose.
Why use it?
They explain where skills belong for different agents and how to install them safely, including when an interactive terminal is required.

Instructions file for CodexOpenCode

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

This is AdamBien/airails's own configuration. It tells Codex and OpenCode how to work on airails 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 airails configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AdamBien/airails. 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/AdamBien/airails/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/AdamBien/airails

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/adambien/airails/agents-md"><img src="https://agentmods.dev/badge/instructions/adambien/airails/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 844 This file is loaded in full into every session.
When invoked 844 The same file — it is already loaded in full.
Security scan B 2 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.00844 $0.00844
Opus 5.5 $0.00338 $0.00338
Sonnet 5.5 $0.00169 $0.00169
Haiku 4.5 $0.00084 $0.00084

Measured yesterday against content hash 39f7754d093e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

airails AGENTS.md scanned grade B with 2 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls ~/.claude/skills/*/SKILL.md

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSLO https://github.com/AdamBien/airails/releases/download/skills/airails-claude.zip
AGENTS.md · 80 lines

How it starts

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

Installing airails.dev Skills

Instructions for AI agents asked to install, list, or remove the skills in this repository.

A skill is a directory containing a SKILL.md, organized under bce/, java/, web/, and documentation/. Installation means copying the skill directory — preserving its folder name — into the skills directory of the target agent.

Skill Directories per Agent

Agent Skills directory
claude ~/.claude/skills
vibe ~/.vibe/skills
kiro ~/.kiro/skills
copilot ~/.copilot/skills
codex ~/.agents/skills
goose ~/.config/goose/skills

How to Install

Pick the first applicable option:

1. Interactive terminal available (user is driving)

Ask the user to run ./installSkills from the repository root. Do not run it from an agent shell — it requires an interactive terminal (System.console()) and exits with interactive terminal required when stdin is piped or non-TTY.

2. Agent shell (no TTY)

Copy the skill directories directly. From the repository root:

mkdir -p ~/.claude/skills
find . -name SKILL.md -not -path './target/*' | while read f; do
    cp -R "$(dirname "$f")" ~/.claude/skills/
done

Replace ~/.claude/skills with the target agent's directory from the table above. Copying overwrites an existing skill of the same name — acceptable, since this repository is the source of truth for these skills.

3. No JDK, no git

Download the per-agent zip from the rolling skills release and unzip into the home directory:

curl -fsSLO https://github.com/AdamBien/airails/releases/download/skills/airails-claude.zip
unzip -o airails-claude.zip -d ~

Each zip contains all skills with the agent's skills directory baked into the entry paths (airails-claude.zip, airails-vibe.zip, airails-kiro.zip, airails-copilot.zip, airails-codex.zip, airails-goose.zip).

Agent-neutral bundles hold a per-stack subset under a plain skills/ prefix and unzip into the agent's skills directory instead of the home directory: airails-java-server.zip, airails-java-cli.zip, airails-web.zip, airails-migrations.zip, plus the add-ons airails-sbce.zip (spec-driven workflow) and airails-documentation.zip. Prefer the bundle matching the project when one does, since it keeps unrelated skills out of the agent's context:

Read the full file on GitHub · 80 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. yesterday Changed · +7 lines · +149 tokens per session 39f7754d093e
  2. 27d ago Changed · +6 lines · +62 tokens per session a020c3604700
  3. 2mo ago First seen · 67 lines · 633 tokens per session scan B 078781937abc

Subscribe to this mod's changes

airails AGENTS.md is an instructions file published in the GitHub repository AdamBien/airails (62 stars, last pushed yesterday), licensed MIT. It adds 844 tokens to every session, about $0.0034 per session on Opus 5.5. A static security scan graded it B with 2 findings (enumerates other installed skills, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

airails AGENTS.md compared with instructions from other repositories

airails AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
airails AGENTS.mdAdamBien/airailsInstructions file62yesterdayMITB844Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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