madteacher avatar

Agents Md Generator

Keeps your AGENTS.md files lean and up to date across monorepos and nested modules. It reads your package manifests, Makefiles, and CI configs to infer real commands instead of inventing them, then generates or repairs both root and module-level agent instructions while staying under 60 and 40 lines respectively. The progressive disclosure approach pushes detail into docs and skills rather than bloating the instructions. Handles the annoying bits like detecting module boundaries, preserving security warnings from existing files, and adapting skill references based on whether you have a local skill directory or rely on external ones. Useful when your agent context is missing, contradictory, or sprawling across a growing codebase.

skills.sh installs
384
GitHub stars
112
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/madteacher/mad-agents-skills
Categories
AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from madteacher/mad-agents-skills

All 11
1jihe520 avatarsocial-pushjihe520/social-push使用 agent-browser 帮用户将内容发到社交媒体上。当用户需要发布内容、推送文章、上传文章、发帖到社交平台时使用此 skill。383skills.sh installs
2ecomfe avatarfigma-design-to-codeecomfe/tempad-devImplement or update project-consistent UI code from a Figma selection or nodeId using TemPad Dev MCP. Use when the user wants visible Figma UI recreated, ported377skills.sh installs
3aj-geddes avatarbmad-orchestratoraj-geddes/claude-code-bmad-skillsOrchestrates BMAD workflows for structured AI-driven development. Use when initializing BMAD in projects, checking workflow status, or routing between 4 phases 376skills.sh installs
4freestylefly avatarpaddleocr-doc-parsingfreestylefly/canghe-skillsAdvanced document parsing with PaddleOCR. Returns complete document structure including text, tables, formulas, charts, and layout information. The AI agent ext373skills.sh installs
5drcathicks avatarlearning-opportunitiesdrcathicks/learning-opportunitiesFacilitates deliberate skill development during AI-assisted coding. Offers interactive learning exercises after architectural work (new files, schema changes, r372skills.sh installs
6thincher avatarminimax-understand-imagethincher/awsome_skills使用 MiniMax MCP 进行图像理解和分析。触发条件:(1) 用户要求分析图片、理解图像、描述图片内容 (2) 需要识别图片中的物体、文字、场景 (3) 使用 MiniMax 的 understand_image 功能372skills.sh installs