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 $0.00026 $0.00426
Sonnet 5 $0.00011 $0.00170
Haiku 4.5 $0.00005 $0.00085

Measured 9d ago against content hash 101d21ac0953, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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. 9d 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 (7 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 852 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

agent-orchestrator

Meta-skill que orquestra todos os agentes do ecossistema. Scan automatico de skills, match por capacidades, coordenacao de workflows multi-skill e registry management.

lingxling/awesome-skills-cn · 41 tokens

agent-self-scheduling

Schedule AI agent runs with cron, loops, or external clocks while avoiding unsafe tight autonomous timers.

lingxling/awesome-skills-cn · 24 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens