hierarchical-agents
OfficialLightweight AGENTS.md for token-efficient AI workflows.
Authormajesticlabs-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
In large codebases and AI-assisted projects, Claude agents suffer from verbose documentation and token bloat. This Skill creates a hierarchical AGENTS.md system with a lightweight root file and detailed sub-folder guidance, enabling efficient agent guidance with near-wins and Just-In-Time indexing.
Core Features & Use Cases
- Root AGENTS.md is lightweight: index-level guidance with links to sub-folders.
- Nearest-Wins Hierarchy: sub-folder AGENTS.md files override root guidance for precise context.
- JIT Indexing: path hints, globs, and quick-find commands for agent navigation.
- Token Efficiency: compact guidance that scales with codebase complexity.
- Sub-Folder Details: deeper, technology-specific conventions and examples.
Quick Start
Generate a root AGENTS.md for a new monorepo and create a sub-folder AGENTS.md under critical packages to guide AI agents.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hierarchical-agents Download link: https://github.com/majesticlabs-dev/majestic-marketplace/archive/main.zip#hierarchical-agents Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.