agents AGENTS.md

agents AGENTS.md is an instructions file for Codex, OpenCode from denysdovhan/agents. It costs 525 tokens per session, scanned A, original, MIT.

A repository guide that documents where files belong, how to validate skills, and the project's naming and testing rules.

In plain words
What is it for?
Use it when adding or reviewing reusable agent skills, running validation, or deciding how files and metadata should be organized.
Why use it?
It gives coding agents the project-specific rules they need before changing files or checking their work.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/denysdovhan/agents/agents-md
Clone the repo
git clone --depth 1 https://github.com/denysdovhan/agents

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 agents AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/denysdovhan/agents/agents-md.svg)](https://agentmods.dev/instructions/denysdovhan/agents/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/denysdovhan/agents/agents-md"><img src="https://agentmods.dev/badge/instructions/denysdovhan/agents/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 525 This file is loaded in full into every session.
When invoked 525 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00525 $0.00525
Opus 5 $0.00262 $0.00262
Sonnet 5 $0.00105 $0.00105
Haiku 4.5 $0.00052 $0.00052

Measured 3d ago against content hash c486069ddc24, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agents 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 3d 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 · 62 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

This repository contains reusable agent skills:

  • skills/<skill-name>/SKILL.md is required for every skill.
  • skills/<skill-name>/agents/openai.yaml contains optional OpenAI UI metadata.
  • skills/<skill-name>/assets/ contains icons and other bundled assets.
  • skills/<skill-name>/references/ contains longer supporting docs.
  • scripts/ contains repository tooling.
  • .github/workflows/ contains CI configuration.
  • .skill-ref/ is a local bootstrap clone for validation tooling; do not edit it as source.

Build, Test, and Development Commands

Run all validation before finishing skill changes:

./scripts/validate-skills.sh

This bootstraps skills-ref into .skill-ref/skills-ref if needed and validates every skill under skills/. To validate one skill directly after the bootstrap exists, run:

.skill-ref/skills-ref/.venv/bin/skills-ref validate skills/commit

There is no build step; this is a documentation and asset repository.

Coding Style & Naming Conventions

Use Markdown for skill instructions and YAML for metadata. Skill directory names must match the name field in SKILL.md, using lowercase hyphenated names such as home-assistant-integration. Keep SKILL.md focused on actionable workflow guidance. Put reusable reference material in references/ instead of expanding the main skill file unnecessarily. Use relative asset paths in agents/openai.yaml, for example ./assets/git.png.

When creating or substantially updating skills, all agents must use the skill-creator skill and follow its guidance before editing skill files.

Testing Guidelines

Validation is schema-based through skills-ref; there are no unit tests or coverage targets. Add or update assets and references only when they are used by a skill or its metadata. After changing SKILL.md, metadata, references, or assets, run ./scripts/validate-skills.sh and git diff --check.

Read the full file on GitHub · 62 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. 3d ago First seen · 62 lines · 525 tokens per session scan A c486069ddc24

Subscribe to this mod's changes

agents AGENTS.md is an instructions file published in the GitHub repository denysdovhan/agents (17 stars, last pushed 1mo ago), licensed MIT. It adds 525 tokens to every session, about $0.0026 per session on Opus 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-30.