agents-md-creation

Generate hierarchical AGENTS.md documentation with JIT indexing for codebases.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/josemartinrodriguezmortaloni/opencode-config --skill agents-md-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-md-creation
Source: https://github.com/josemartinrodriguezmortaloni/opencode-config/tree/main/skill/agents-md-creation
Command: npx skills add https://github.com/josemartinrodriguezmortaloni/opencode-config --skill agents-md-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of hierarchical AGENTS.md documentation, crucial for enabling AI coding agents to efficiently navigate and understand complex codebases with minimal token usage.

Core Features & Use Cases

  • Hierarchical Documentation: Creates a lightweight root AGENTS.md and detailed sub-folder AGENTS.md files.
  • JIT Indexing: Focuses on providing paths and commands, not full content, for token efficiency.
  • Use Case: When setting up AI coding agent guidance for a new project, restructuring existing AGENTS.md, or onboarding a codebase for AI-assisted development.

Quick Start

Use the agents-md-creation skill to generate AGENTS.md files for the current project.

Frequently Asked Questions about agents-md-creation

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

FAQPage Schema
What are AGENTS.md files and why do I need them for my codebase?

Generate AGENTS.md documentation by creating a lightweight root file and detailed sub-folder files based on Just-In-Time indexing principles. This structure provides actionable context and navigation paths instead of full content, enabling efficient AI agent onboarding for your project.

How does JIT indexing improve AI agent onboarding for a codebase?

JIT indexing improves AI agent onboarding by focusing on providing paths and commands rather than full file content. This approach maximizes token efficiency, allowing AI coding agents to interact with complex codebases without consuming excessive context window space.

Can I use this approach to restructure existing AGENTS.md documentation?

Yes, you can use this approach to restructure existing AGENTS.md files or set up new guidance for a project. It generates hierarchical documentation structures that establish a root-level lightweight guide alongside detailed sub-folder files for comprehensive codebase coverage.

What's the best way to set up AI coding agent guidance for a new project?

The best way to set up AI coding agent guidance is generating hierarchical AGENTS.md files with JIT indexing. This creates a root-level lightweight guide and detailed sub-folder documentation, providing actionable context and navigation paths for efficient codebase interaction.