Skip to content
madteacher avatar

Agents Md Generator

Generates and repairs minimal AGENTS.md files for repository roots and confirmed nested modules via progressive disclosure.

CCM score
62 of 100
skills.sh installs
392
GitHub stars
114
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers root and nested AGENTS.md creation, updating, trimming, and splitting for monorepos, services, and packages
  • Detects toolchains from package.json, go.mod, pyproject.toml, Cargo.toml, pubspec.yaml, and similar manifests before writing
  • Enforces line budgets of 60 for root files and 40 for nested files, and forbids unverified commands
  • Preserves verified commands and critical security, secrets, and deployment warnings from existing files, and never assumes a fixed agent folder

Install

$ npx -y skills add madteacher/mad-agents-skills --skill agents-md-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AGENTS.md Generator (Root + Nested, Portable)

Goal

Maintain small, high-signal AGENTS.md files:

  • Root AGENTS.md — purpose of repository, navigation, universal toolchain, canonical commands, links to docs and skills.
  • Nested AGENTS.md — module/package purpose, local commands, module references.

Use progressive disclosure: keep AGENTS.md concise; push details to docs or skills.


Skill location (agent-specific)

  • Do NOT assume .agents/ or any fixed directory exists.
  • Skills may live:
    • inside the repository (embedded),
    • or in an external/global skill library (external).
  • If referencing local skills, use only an existing skill root already used by the project or an existing project path already mentioned by repo docs.
  • If no local skill directory exists — reference skills by name only (external).
  • Never create hidden agent directories just to store skills.

Resource Routing

Use templates as skeletons, not literal output:

Details

Repository
github.com/madteacher/mad-agents-skills
Categories
Agent Workflow & Planning, Technical Documentation
First seen
Jun 3, 2026

Questions

What does the agents-md-generator skill do?

agents-md-generator creates, generates, updates, repairs, trims, or splits minimal AGENTS.md files for repository roots and confirmed nested modules. It uses progressive disclosure, so each file stays concise and links out to docs and skills instead of embedding details.

How do I install agents-md-generator?

Run this command in a project: npx -y skills add madteacher/mad-agents-skills --skill agents-md-generator -y. After that, agents-md-generator lets your agent write a root AGENTS.md of about 60 lines and nested module files of about 40 lines.

Which category is agents-md-generator in, and what sets it apart?

agents-md-generator is listed in the Agent Workflow and Planning category on Claude Marketplaces. It differs from skills like grill-me and prototype by focusing on maintaining agent instruction files for monorepos, services and packages without assuming any fixed agent folder structure.

What does agents-md-generator need to run?

agents-md-generator needs a filesystem-based coding agent with read and write access to the repository. Script execution is optional, and it does not require any API keys.

Does agents-md-generator create hidden agent folders?

No, agents-md-generator never creates hidden agent directories just to store skills. It only creates or updates AGENTS.md files at the repository root and at confirmed nested module directories.

More from madteacher/mad-agents-skills

All 11

Similar to Agents Md Generator

More Agent Workflow & Planning