agents-md-generator

agents-md-generator is a skill for Claude Code, Codex from pinkpixel-dev/skills-collection-1. It costs 53 tokens per session (852 once invoked), scanned A, original, Apache-2.0.

A guide for creating AGENTS.md, a file that tells AI coding agents how a software project is organised and how work should be done.

In plain words
What is it for?
Use it to create or revise AGENTS.md files for projects with specific tools, structures, workflows, and coding rules.
Why use it?
It turns scattered project conventions, commands, and known problems into concise instructions an AI agent can follow. It also helps keep those instructions focused and easy to maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it to create or revise AGENTS.md files for projects with specific tools, structures, workflows, and coding rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pinkpixel-dev/skills-collection-1/agents-md-generator
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.

Any agent
npx skills add pinkpixel-dev/skills-collection-1 --skill agents-md-generator
Clone the repo
git clone --depth 1 https://github.com/pinkpixel-dev/skills-collection-1

Made for: Claude Code, Codex.

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-md-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/pinkpixel-dev/skills-collection-1/agents-md-generator/github.svg)](https://agentmods.dev/skills/pinkpixel-dev/skills-collection-1/agents-md-generator)
Your own site
<a href="https://agentmods.dev/skills/pinkpixel-dev/skills-collection-1/agents-md-generator"><img src="https://agentmods.dev/badge/skills/pinkpixel-dev/skills-collection-1/agents-md-generator/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 agents-md-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/pinkpixel-dev/skills-collection-1/agents-md-generator"><img src="https://agentmods.dev/badge/skills/pinkpixel-dev/skills-collection-1/agents-md-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 The whole file, excluding the scripts and references it only reads on demand.
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.00053 $0.00852
Opus 5.5 $0.00021 $0.00341
Sonnet 5.5 $0.00011 $0.00170
Haiku 4.5 $0.00005 $0.00085

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

Security

Grade A, and why

agents-md-generator 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 3mo 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.

SKILLS/agents-md-generator/SKILL.md · 76 lines

How it starts

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

You are an AGENTS.md architect. You are an expert at writing concise, high-impact project instruction files for AI coding agents (Claude, Codex, Copilot, Gemini, etc.).

Your task: Generate a production-ready AGENTS.md file based on the project details I provide.

Principles You MUST Follow

  1. Conciseness is king. The final file MUST be under 150 lines. Every line must earn its place. If Claude already does something correctly without the instruction, omit it.
  2. WHY → WHAT → HOW structure. Start with purpose, then tech/architecture, then workflows.
  3. Progressive disclosure. Don't inline lengthy docs. Instead, point to file paths: "For auth patterns, see src/auth/README.md". Claude will read them when needed.
  4. Actionable, not theoretical. Only include instructions that solve real problems — commands you actually run, conventions that actually matter, gotchas that actually bite.
  5. Provide alternatives with negations. Instead of "Never use X", write "Never use X; prefer Y instead" so the agent doesn't get stuck.
  6. Use emphasis sparingly. Reserve IMPORTANT/YOU MUST for 2-3 critical rules maximum.
  7. Verify, don't trust. Always include how to verify changes (test commands, type-check commands, lint commands).

Output Structure

Generate the AGENTS.md with exactly these sections:

Section 1: Project Overview (3-5 lines max)

  • Project name, one-line purpose, and core tech stack.

Section 2: Architecture Map (5-10 lines max)

  • Key directories and what they contain.
  • Entry points and critical paths.
  • Use a compact tree or flat list — no verbose descriptions.

Section 3: Common Commands

  • Build, test (single file + full suite), lint, dev server, and deploy commands.
  • Format as a simple reference list.

Section 4: Code Conventions (only non-obvious ones)

  • Naming patterns, file organization rules, import ordering.
  • Skip anything a linter/formatter already enforces automatically.

Section 5: Gotchas & Warnings

  • Project-specific traps and quirks.
  • Things Claude tends to get wrong in this type of project.
  • Known workarounds or fragile areas of the codebase.

Read the full file on GitHub · 76 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 76 lines · 53 tokens per session scan A 101d21ac0953

Subscribe to this mod's changes

agents-md-generator is a skill published in the GitHub repository pinkpixel-dev/skills-collection-1 (9 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 852 once invoked, about $0.0002 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

agents-md-generator compared with skills from other repositories

agents-md-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agents-md-generatorpinkpixel-dev/skills-collection-1Skill93mo agoApache-2.0A53Claude Code, Codex
find-awesome-toolsbh-rat/context-awesomeSkill655mo agoMITA195Claude Code, Codex
agent-self-schedulinglingxling/awesome-skills-cnSkill3411mo agoMITA24Claude Code
ai-agent-evaluation-benchmarkinglingxling/awesome-skills-cnSkill3411mo agoMITA31Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code