skills: Instructions file for Codex

AGENTS.md

skills AGENTS.md is an instructions file for Codex, OpenCode from fang2hou/skills. It costs 905 tokens per session, scanned A, original, MIT.

A set of repository instructions for coding agents working on a collection of reusable agent skills. It explains the project layout, coding standards, and required checks.

In plain words
What is it for?
Use it when editing this skills repository, especially files under `skills/`, or when checking whether changes meet the project's standards.
Why use it?
It gives agents consistent rules for changing the repository and helps catch formatting, structure, and secret-leak problems before commits.

Instructions file for CodexOpenCode

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

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

Measured 22d ago against content hash f61ff1ca8446, 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 22d 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 · 70 lines

How it starts

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

AGENTS.md

This repository is a collection of Agent Skills for coding agents that need reusable, task-focused workflows.

Commands

mise install
mise run format
mise run check

This repository has no test, build, or dev mise tasks. mise run check verifies Markdown formatting with oxfmt, runs the root skill-structure check, and runs the redacted Gitleaks scan; mise run format rewrites Markdown in place.

Engineering Standards

Follow the shared engineering guidelines in the AI Coding Guidelines portal. Read the portal recipe for the task before editing; repository documentation is the source of truth when it is more specific.

Project-specific overrides:

  • None. This repository follows the shared standards.

Layout

  • .github/ — GitHub Actions workflows and the pull request template.
  • scripts/ — repository validation scripts, including check-skills.sh.
  • skills/ — the ten installable Agent Skills; each has a SKILL.md and may have one-level references/, scripts/, or assets/ content.

Boundaries

Always:

  • Run mise run check and require exit status 0 before every commit.
  • When changing a file under skills/, keep the skill entrypoint at skills/*/SKILL.md and run bash scripts/check-skills.sh before opening a pull request.
  • When adding a relative link in a root document, point it to an existing path in this repository and recheck the link before committing.

Never:

  • Add package.json, pnpm-lock.yaml, tsconfig.json, or JavaScript/TypeScript source files; this repository validates Markdown and Bash instead.
  • Commit a change when mise run check exits nonzero.
  • Add another AGENTS.md below skills/; the root file is the canonical agent instruction surface.
  • Change skills/herdr-parallel-dev/scripts/verify-worktrees.sh during a skill-content change unless the request names that path.

Ask first:

  • Before adding a top-level directory or changing mise.toml, .oxfmtrc.json, .pre-commit-config.yaml, .gitattributes, .github/workflows/, or scripts/check-skills.sh.
  • Before changing the install or update commands in README.md, including npx skills add fang2hou/skills -g or npx skills update -g -y.
  • Before deleting or renaming any skills/*/SKILL.md or changing a published skill's frontmatter name.

Read the full file on GitHub · 70 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. 22d ago Changed f61ff1ca8446
  2. 25d ago Changed · +1 lines · +64 tokens per session 9ac4caa421f4
  3. 1mo ago Changed c9a4d09a23fd
  4. 2mo ago First seen · 69 lines · 841 tokens per session scan A 9125e3fbe6ed

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository fang2hou/skills (2 stars, last pushed 5d ago), licensed MIT. It adds 905 tokens to every session, about $0.0036 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.mdfang2hou/skillsInstructions file25d agoMITA905Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot