skills: Instructions file for Codex

AGENTS.md

skills AGENTS.md is an instructions file for Codex, OpenCode from ahgraber/skills. It costs 2,158 tokens per session, scanned C, original, CC0-1.0.

Repository instructions for developing and maintaining agent skills in the ahgraber/skills project. They explain how source skills, installed copies, documentation, development environments, and Python scripts should be handled.

In plain words
What is it for?
Use them when editing, reviewing, testing, or pressure-testing skills in the repo, especially when working with AGENTS.md and the skills/ directory.
Why use it?
They clarify which files to change and which project rules to follow when working on skills in that repository.

Instructions file for CodexOpenCode

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

This is ahgraber/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 ahgraber/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/ahgraber/skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ahgraber/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/ahgraber/skills/agents-md/github.svg)](https://agentmods.dev/instructions/ahgraber/skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ahgraber/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/ahgraber/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/ahgraber/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/ahgraber/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,158 This file is loaded in full into every session.
When invoked 2,158 The same file — it is already loaded in full.
Security scan C 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.02158 $0.02158
Opus 5.5 $0.00863 $0.00863
Sonnet 5.5 $0.00432 $0.00432
Haiku 4.5 $0.00216 $0.00216

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

Security

Grade C, and why

skills AGENTS.md scanned grade C 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 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- Use `git agent-commit` (not `git commit`) to create signed commits; this alias uses the dedicated agent signing key at `~/.ssh/id_ed25519_agent_signing`.
AGENTS.md · 138 lines

How it starts

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

AGENTS.md

This repo holds Agent Skills, folders of instructions, scripts, and resources - typically encoding procedural knowledge - that agents can discover and use to do things more accurately and efficiently.

See skills/optimize-skills for best practices on designing skills.

Avoid adding extra documentation files inside skills unless explicitly required. Do not manually add linebreaks, trust linters and formatters for this.

Source skills vs. installed skills

  • This repo is the upstream source for the skills it contains. The agent assisting on this repo may have overlapping skills installed (visible in its available-skills list); those installed copies are downstream consumers and may be stale or diverged.
  • All work in this repo — edits, reviews, refactors, tests — must target the repo variant under skills/. Never operate against the installed version surfaced to the agent.
  • Corollary (pressure-testing): if the user asks to pressure-test, exercise, or critique a skill defined in this repo, work against the repo variant by reading skills/<name>/SKILL.md (and its references) directly. Do not invoke the installed copy via the Skill tool — that loads a potentially divergent version and gives misleading results.

Development vs. user environment

  • These practices describe how we develop and test skills in this repo.
  • IMPORTANT: Do not assume end users who install skills have the same tools available; only uv is a required runtime dependency (per the README).
  • When documenting or scripting behavior, distinguish between developer-only tooling (devshell, dot, nix) and what a user can be expected to have.

Dev environment

  • Prefer working inside the Nix devshell for tool availability (e.g., dot).
  • Enter the shell with:
    • nix develop
  • flake.nix is the source of truth for devshell packages.

Python scripts (skills//scripts/.py)

  • Use uv inline script metadata for dependencies (no pyproject.toml).
  • Required header format:

Read the full file on GitHub · 138 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. 2mo ago Changed · +1 tokens per session c7ee1b408a29
  2. 2mo ago First seen · 138 lines · 2,157 tokens per session scan C 1ed040f1de7c

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository ahgraber/skills (6 stars, last pushed 8d ago), licensed CC0-1.0. It adds 2,158 tokens to every session, about $0.0086 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). 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.mdahgraber/skillsInstructions file68d agoCC0-1.0C2,158Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode