·hierarchical-agents
{}

hierarchical-agents

Generate hierarchical AGENTS.md structure for codebases to optimize AI agent token usage. Use when creating AGENTS.md files, documenting codebase structure, setting up agent guidance, organizing project documentation for AI tools, implementing JIT indexing, or working with monorepos that need lightweight root guidance with detailed sub-folder documentation. Covers repository analysis, root AGENTS.md generation, sub-folder AGENTS.md creation, and token-efficient documentation patterns.

23Installs·0Trend·@majesticlabs-dev

Installation

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents

How to Install hierarchical-agents

Quickly install hierarchical-agents AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: majesticlabs-dev/majestic-marketplace.

SKILL.md

View raw

Create a hierarchical AGENTS.md system for codebases that enables AI coding agents to work efficiently with minimal token usage. Generates lightweight root documentation with detailed sub-folder guidance following the "nearest-wins" principle.

Follow these phases in order. See references/generation-process.md for complete details.

Output: Structured map of the repository before generating any files.

Generate hierarchical AGENTS.md structure for codebases to optimize AI agent token usage. Use when creating AGENTS.md files, documenting codebase structure, setting up agent guidance, organizing project documentation for AI tools, implementing JIT indexing, or working with monorepos that need lightweight root guidance with detailed sub-folder documentation. Covers repository analysis, root AGENTS.md generation, sub-folder AGENTS.md creation, and token-efficient documentation patterns. Source: majesticlabs-dev/majestic-marketplace.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents
Category
{}Data Analysis
Verified
First Seen
2026-02-23
Updated
2026-03-11

Browse more skills from majesticlabs-dev/majestic-marketplace

Quick answers

What is hierarchical-agents?

Generate hierarchical AGENTS.md structure for codebases to optimize AI agent token usage. Use when creating AGENTS.md files, documenting codebase structure, setting up agent guidance, organizing project documentation for AI tools, implementing JIT indexing, or working with monorepos that need lightweight root guidance with detailed sub-folder documentation. Covers repository analysis, root AGENTS.md generation, sub-folder AGENTS.md creation, and token-efficient documentation patterns. Source: majesticlabs-dev/majestic-marketplace.

How do I install hierarchical-agents?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/majesticlabs-dev/majestic-marketplace