skills: Instructions file for Codex

AGENTS.md

skills AGENTS.md is an instructions file for Codex, OpenCode from metalbear-co/skills. It costs 710 tokens per session, scanned A, original, MIT.

Repository instructions for editing AGENTS.md files and fenced JSON or YAML blocks. They define required labels for configuration examples and a script to check those labels.

In plain words
What is it for?
It is for maintaining agent instructions and validating tagged JSON or YAML examples in the metalbear-co/skills repository.
Why use it?
Incorrect fence labels or invalid configuration examples can fail repository checks. These instructions make the required format explicit.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code.

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/metalbear-co/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/metalbear-co/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 710 This file is loaded in full into every session.
When invoked 710 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.00710 $0.00710
Opus 5.5 $0.00284 $0.00284
Sonnet 5.5 $0.00142 $0.00142
Haiku 4.5 $0.00071 $0.00071

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

Security

Grade A, and why

skills 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 4d 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 · 16 lines

How it starts

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

Agent instructions

Paths in this file are relative to this directory of the mirrord repository.

Fence tags

Every fenced json or yaml block you add or edit in a Markdown file needs a tag after the language in the fence info string: mirrord for a complete mirrord.json, mirrord=<schema.path> for a fragment (for example json mirrord=feature.db_branches[]), mirrord-up or mirrord-up=<path> for mirrord-up.yaml, or one of mirrord-invalid, chaos-rule, crd, helm-values, k8s, workflow, output, other for everything else. Config blocks must parse as strict JSON or YAML, so no ... placeholders or // comments. Fragment paths and root keys are resolved against the schemas at the repository root, mirrord-schema.json and mirrord-up-schema.json, so the path must exist and every root key must be a property there. Config blocks are also validated against those schemas, so they must be valid config, not just parse. Run python3 .github/scripts/check_fence_tags.py --mirrord-schema ../mirrord-schema.json --mirrord-up-schema ../mirrord-up-schema.json from this directory before finishing (install its dependencies, PyYAML, markdown-it-py and jsonschema, first: python3 -m pip install -r .github/scripts/requirements.txt), as the content_check job of the root .github/workflows/ci.yaml does. Without the flags, it uses the copies under skills/*/references/, which nothing updates in the mirrord repository. The full tag set, path rule and exempt files are in CONTRIBUTING.md.

Plugin version

A change to skills/ or .claude-plugin/, the files that Claude Code installs, must raise version in .claude-plugin/plugin.json above the version on main, because Claude Code updates an installed plugin only when its version changes. The plan job of the mirrord repository's CI checks this. CONTRIBUTING.md says which other manifests to leave alone and what to do when the check fails in the merge queue.

Read the full file on GitHub · 16 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. 4d ago Changed · +4 lines · +205 tokens per session c99f51f9311d
  2. 5d ago Changed · +6 lines · +219 tokens per session a8bbba57895f
  3. 1mo ago Changed · +33 tokens per session aeeba226dce8
  4. 1mo ago First seen · 6 lines · 253 tokens per session scan A 838885989e0f

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository metalbear-co/skills (31 stars, last pushed yesterday), licensed MIT. It adds 710 tokens to every session, about $0.0028 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-10-09.

Related

skills AGENTS.md compared with instructions from other repositories

skills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skills AGENTS.mdmetalbear-co/skillsInstructions file31yesterdayMITA710Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot