skills: Instructions file for Codex

AGENTS.md

skills AGENTS.md is an instructions file for Codex, OpenCode from sernst/skills. It costs 446 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for a collection of reusable Markdown skill files and command-line tools, including the skill-manager program.

In plain words
What is it for?
Use it when modifying skills or skill-manager commands, running checks, or validating configuration and storage behavior.
Why use it?
It explains how to build and test the project, which guidance controls user-facing behavior, and how to test safely without changing the real user home directory.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is sernst/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 sernst/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/sernst/skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/sernst/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/sernst/skills/agents-md/github.svg)](https://agentmods.dev/instructions/sernst/skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sernst/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/sernst/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/sernst/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/sernst/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 446 This file is loaded in full into every session.
When invoked 446 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.00446 $0.00446
Opus 5.5 $0.00178 $0.00178
Sonnet 5.5 $0.00089 $0.00089
Haiku 4.5 $0.00045 $0.00045

Measured 2mo ago against content hash 79914ef75c86, 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 2mo 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 · 40 lines

What it actually says

AGENTS.md

Repository map

  • skills/ contains reusable Markdown SKILL.md instructions.
  • clis/ contains native tools, currently skill-manager.
  • Additional CLIs register in clis/registry.just; root recipes fan out through tools/run-registered.ps1.

Build and test

Run from the repository root:

just build          # cargo build --locked
just test           # cargo test --locked --all-features
just check          # complete CI gate

The same recipes run directly from clis/skill-manager. Run just check before opening a pull request.

Authoritative skill-manager guidance

Any change to command output, prompts, plans, flags, tables, or confirmations MUST first follow docs/ux-guidelines.md. It is authoritative; do not copy an older command's presentation.

Scratch-home safety

Never run a built skill-manager binary against the real user home during validation. Always pass --home <scratch-dir>; it outranks SKILL_MANAGER_HOME and the OS home. To seed realistic scratch state, pass FROM as an already shell-expanded absolute path, never literal ~ (which resolves against the active scratch home), and keep the same absolute scratch --home for every command:

$smoke = Join-Path $env:TEMP 'skill-manager-smoke'
skill-manager --home $smoke configs copy $HOME $smoke --yes
skill-manager --home $smoke status
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. 2mo ago First seen · 40 lines · 446 tokens per session scan A 79914ef75c86

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository sernst/skills (9 stars, last pushed yesterday), licensed Apache-2.0. It adds 446 tokens to every session, about $0.0018 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-08-31.

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.mdsernst/skillsInstructions file9yesterdayApache-2.0A446Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA1,907GitHub Copilot