skills: Instructions file for Codex

AGENTS.md

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

A project-wide instruction file for the skills repository. It records rules for responses, source-of-truth files, local previews, product decisions, and code quality.

In plain words
What is it for?
Use it to guide agent behavior while working in the repository, especially for concise responses, checking authoritative files, and making development decisions.
Why use it?
It gives coding agents consistent guidance instead of making each task depend on unstated conventions.

Instructions file for CodexOpenCode

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

This is davidondrej/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 →

About the project

David Ondrej's Agent Skills is a repository of reusable instruction packages for AI coding, research, and workflow agents. Each skill describes a focused process for tasks such as code improvement, research, documentation, transcript work, and agent coordination. The catalogue entries are the repository's own skills and related agent configuration.

davidondrej/skills · 4,261 stars · on GitHub · cloudroom.dev

Reuse

Borrowing it

Nothing to install: this file belongs to davidondrej/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/davidondrej/skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/davidondrej/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/davidondrej/skills/agents-md/github.svg)](https://agentmods.dev/instructions/davidondrej/skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/davidondrej/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/davidondrej/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/davidondrej/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/davidondrej/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,481 This file is loaded in full into every session.
When invoked 1,481 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.01481 $0.01481
Opus 5.5 $0.00592 $0.00592
Sonnet 5.5 $0.00296 $0.00296
Haiku 4.5 $0.00148 $0.00148

Measured 2d ago against content hash 826058eb53b9, 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 2d 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 · 131 lines

How it starts

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

GLOBAL RULES

  • this is a global instruction file
  • it should NOT contain project-specific info

RESPONSES

  • Make ALL of your responses clear & very concise
  • Use simple & easy-to-understand language
  • write in short sentences, in plain English
  • the User cannot see tool outputs, show him everything in text
  • Start top-level bullets without indentation. Indent nested bullets only beneath another bullet—not beneath plain text.

BEHAVIOR

  • For local previews, use localhost
  • for major product / architecture decisions, consult the User
  • DO NOT use the multi-choice question UI. Ask the User in plain text.
  • Never suggest that the User switch to Plan Mode, and never switch to it yourself
  • DO NOT add new dependencies without the User's explicit approval or request
  • Assume the User may have changed things since you last looked (files, apps, timelines). Re-check the live state before you answer or act.

CODE QUALITY

  • NEVER mention development time (aka how long things will take)
  • because of Agents, refactors & code changes that would take weeks, now take just MINUTES.
  • ignore the cost of time, and instead focus on quality, simplicity, robustness, scalability
  • keep the tech stack simple, popular, and maintainable
  • track events and product data internally, with no 3rd party dependencies like PostHog
  • prefer existing patterns, helpers, and conventions over new abstractions
  • write simple, readable, modular code with clear ownership
  • add comments only for non-obvious intent, tradeoffs, or constraints

BUG FIXES

  • When doing bug fixes, always start with reproducing the bug in an E2E setting as closely aligned with how an end user would experience it. This makes sure you find the real problem so your fix will actually solve it.
  • Prefer behavior-focused tests over private implementation tests.

DOCUMENTATION

  • Keep docs concise, operational, and source-backed.
  • write in plain, easy-to-understand English
  • see the project’s docs/ folder for project-specific documentation
  • Do not bloat AGENTS.md or README files, only the User can add to them!!
  • Ensure every important subfolder has its own AGENTS.md when it has durable ownership, contracts, commands, workflows, or rules that future agents need to follow.
  • Parent AGENTS.md files should describe broad rules and child-doc indexes. Child AGENTS.md files should describe local contracts.

Read the full file on GitHub · 131 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. 2d ago Changed · +2 lines · +38 tokens per session 826058eb53b9
  2. 19d ago Changed · +1 lines · +30 tokens per session 6f876bbe16c4
  3. 22d ago Changed · -1 lines · -19 tokens per session 543b7303b92c
  4. 25d ago Changed · +11 tokens per session 2effefe14b92
  5. 1mo ago Changed · +1 lines · -10 tokens per session 6a05767a9e47
  6. 1mo ago Changed · -1 lines · -29 tokens per session 14d1365d17df
  7. 1mo ago Changed · +1 lines · +18 tokens per session b700a3de4214
  8. 1mo ago Changed · +4 lines · +37 tokens per session 3be89e61a7ef
  9. 1mo ago Changed · +1 lines · +15 tokens per session 089ad33c167a
  10. 1mo ago First seen · 123 lines · 1,390 tokens per session scan A b88f207c87a6

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository davidondrej/skills (4,261 stars, last pushed 3d ago), licensed MIT. It adds 1,481 tokens to every session, about $0.0059 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-09-05.

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.mddavidondrej/skillsInstructions file4.3k3d agoMITA1,481Codex, 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,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode