agent-skills: Instructions file for Codex

AGENTS.md

agent-skills AGENTS.md is an instructions file for Codex, OpenCode from PaulRBerg/agent-skills. It costs 3,678 tokens per session, scanned B, original, MIT.

A set of instructions for coding agents that explains how to create agent skills, improve prompts, communicate with users, and report evidence. It is part of the PaulRBerg/agent-skills collection for Claude Code, Codex, and similar tools.

In plain words
What is it for?
Use it when maintaining agent skills, optimizing instructions, planning multi-step agent work, or deciding how to communicate progress and evidence.
Why use it?
It gives agents shared guidance for producing clear work and user-facing responses. It also helps them choose suitable models and handle complex tasks consistently.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 agent-skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/paulrberg/agent-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/paulrberg/agent-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,678 This file is loaded in full into every session.
When invoked 3,678 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03678 $0.03678
Opus 5.5 $0.01471 $0.01471
Sonnet 5.5 $0.00736 $0.00736
Haiku 4.5 $0.00368 $0.00368

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

Security

Grade B, and why

agent-skills AGENTS.md scanned grade B with 1 finding 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 15d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- `mcp/` contains MCP server launchers that `~/.claude.json` and `~/.codex/config.toml` run from this checkout. Edits
AGENTS.md · 214 lines

How it starts

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

Agent Skills

This repository contains self-contained agent skills for Claude Code, Codex, and compatible agents. Keep README.md minimal and human-facing. Put maintainer and agent guidance here.

Prompting Guidance

Write every skill and other agent-facing content for current Claude and GPT agent models, not for one model. Do not name a model, a model version, or a model-specific default in that prose. Content that selects, configures, or attributes a model is the exception, for example routing tables, model: frontmatter, and API parameters.

Base the guidance on the official vendor guides. Read both guides before complex, long-running, multi-tool, or orchestration-heavy work. Their recommendations may change.

Treat advice that names a model as measured on that model. Apply it to other models only when the cross-model guidance supports it. When the guides give opposite corrections for different models, state the wanted behavior directly. Do not write a correction to one model's default, such as "be brief" or "write more".

The summaries below remind you of guidance that holds across current models. They do not replace the guides.

  • State that user instructions take precedence over skills.
  • Complete authorized work under stated assumptions. Name the premature stops to avoid and the stops that are wanted. Treat text-only turns as reports, not completion.
  • Explore relevant sources before acting.
  • Specify writing style, progress updates, and delegation preferences. Do not rely on model defaults for them.
  • Name concrete patterns to avoid instead of giving generic style advice.
  • Keep verification proportional to the change.
  • Calibrate effort instead of prompting for more thinking. Never ask for reasoning in response text.

Read the full file on GitHub · 214 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. 15d ago Changed · +4 lines · +119 tokens per session e166ab90a69d
  2. 22d ago Changed · +13 lines · +285 tokens per session ac4037aad0a7
  3. 24d ago Changed · +2 lines · +56 tokens per session 17bf38acee47
  4. 25d ago Changed · +13 lines · +154 tokens per session c0d43ace2045
  5. 26d ago Changed · +3 lines · +69 tokens per session scan A → B f8dd88b8708a
  6. 1mo ago Changed · +39 lines · +567 tokens per session c3bd7d601f0d
  7. 1mo ago Changed · +5 lines · +113 tokens per session 80e18082db8e
  8. 1mo ago Changed · +2 lines · +46 tokens per session ed7de4ebbf2b
  9. 1mo ago Changed · +2 tokens per session 68953d3ecc1f
  10. 1mo ago First seen · 133 lines · 2,267 tokens per session scan A f5b2879fd3e5

Subscribe to this mod's changes

agent-skills AGENTS.md is an instructions file published in the GitHub repository PaulRBerg/agent-skills (104 stars, last pushed yesterday), licensed MIT. It adds 3,678 tokens to every session, about $0.0147 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-skills AGENTS.md compared with instructions from other repositories

agent-skills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-skills AGENTS.mdPaulRBerg/agent-skillsInstructions file104yesterdayMITB3,678Codex, 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