index-knowledge

Generate hierarchical AGENTS.md knowledge bases with root and per-directory files.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/lorrandavid/.dotfiles --skill index-knowledge-lorrandavid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: index-knowledge
Source: https://github.com/lorrandavid/.dotfiles/tree/main/.config/.copilot/skills/index-knowledge
Command: npx skills add https://github.com/lorrandavid/.dotfiles --skill index-knowledge-lorrandavid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate hierarchical AGENTS.md knowledge base documents for a codebase, capturing structure and complexity with root and depth-scored subdirectories.

Core Features & Use Cases

  • Root AGENTS.md generation and per-directory AGENTS.md generation based on discovered structure and complexity scores.
  • Parallel discovery and analysis across directories, with optional depth limits to control scope.
  • Deterministic, multi-phase workflow (discovery, scoring, generation, review) that can update existing docs or create new ones as needed.

Quick Start

Start the workflow to generate a root AGENTS.md and per-directory AGENTS.md documents for your codebase.

Frequently Asked Questions about index-knowledge

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

FAQPage Schema
How do I generate hierarchical AGENTS.md documentation for a codebase?

You can generate per-directory AGENTS.md files based on discovered structure and complexity scores. The workflow supports parallel discovery and analysis across directories, with optional depth limits to control scope.

How does complexity scoring work for codebase knowledge base generation?

The generation workflow uses a deterministic, multi-phase process including discovery, scoring, generation, and review. It features parallel task execution and can update existing codebase docs or create new ones as needed.

Can I generate AGENTS.md files for large codebases with multiple language ecosystems?

The workflow can update existing AGENTS.md docs or create new ones as needed. By applying optional depth limits during the parallel discovery phase, you can control the scope and target specific areas of your codebase.

What is the best way to automate codebase documentation for agents?

You do not need any external dependencies to automate this documentation. The workflow operates independently to discover structure, score complexity, and generate hierarchical AGENTS.md files across your codebase directories.