agents-md-generator

Generate and audit AGENTS.md files from repository analysis.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill agents-md-generator-m2ai-portfolio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-md-generator
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/agents-md-generator
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill agents-md-generator-m2ai-portfolio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AGENTS.md onboarding and governance docs are inconsistently maintained across repos, causing onboarding friction and misaligned agent behavior.

Core Features & Use Cases

  • Generate a complete AGENTS.md from repository analysis, including build/run, test, lint, and environment variables.
  • Lint existing AGENTS.md files to identify gaps and enforce naming, structure, and command coverage.
  • Update AGENTS.md automatically when repository analysis changes.

Quick Start

Run the generator to produce an AGENTS.md from the repository analysis.

Frequently Asked Questions about agents-md-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an AGENTS.md file for my repository?

The generator requires local repository access to scan manifests, CI configs, and code usage, producing a ready-to-use AGENTS.md plus a validation report.

What is AGENTS.md linting and how does it improve developer onboarding?

Linting existing AGENTS.md files identifies gaps and enforces naming, structure, and command coverage to standardize developer onboarding across repositories.

Can I automatically update AGENTS.md when repository analysis changes?

Yes, the tool updates AGENTS.md automatically when repository analysis changes, ensuring your onboarding documentation reflects current build, test, lint, and environment configurations.

Does the AGENTS.md generator work with any codebase and workflow?

Yes, it applies to diverse codebases and workflows by analyzing build processes, test commands, environment variables, architecture patterns, and coding conventions to produce a comprehensive AGENTS.md.

What do I need to scan for environment variables and build commands before generating AGENTS.md?

You need local repository access containing manifests, CI configs, directory structures, and code usage patterns to successfully scan and generate a comprehensive AGENTS.md.

Why does my existing AGENTS.md have onboarding friction and misaligned agent behavior?

AGENTS.md files are inconsistently maintained across repositories, causing onboarding friction and misaligned agent behavior that standardized generation and linting can resolve.