index-knowledge

Generate hierarchical CLAUDE.md knowledge base files with complexity-scored subdirectory documentation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and maintenance of hierarchical knowledge bases (CLAUDE.md files) for codebases, providing a structured overview and improving project navigation.

Core Features & Use Cases

  • Automated Documentation Generation: Creates CLAUDE.md files for the project root and relevant subdirectories.
  • Complexity Scoring: Identifies and documents complex or distinct modules based on various metrics.
  • Use Case: When onboarding a new developer to a large project, use this Skill to generate an up-to-date, navigable map of the codebase's structure and key areas.

Quick Start

Use the index-knowledge skill to regenerate the CLAUDE.md files for the current project, updating existing documentation and creating new files where necessary.

Frequently Asked Questions about index-knowledge

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

FAQPage Schema
How do I generate a CLAUDE.md knowledge base for my codebase?

To generate a CLAUDE.md knowledge base, this Skill analyzes your project structure, identifies entry points and conventions, and creates hierarchical documentation files for the root and subdirectories.

What is complexity scoring for codebase documentation?

Complexity scoring for codebase documentation evaluates directories using file count, code ratio, symbol density, and reference centrality to determine where to generate CLAUDE.md files for the most relevant modules.

How do I automate codebase analysis and navigation documentation?

You can automate codebase analysis documentation by running this Skill to use bash analysis, LSP codemaps, and parallel explore agents to map project structure and identify conventions automatically.

Does this documentation generator work with large project structures?

Yes, this documentation generator works with large project structures by using parallel explore agents and complexity scoring to systematically map complex subdirectories and generate navigable knowledge bases.

When should I use automated hierarchical documentation for a codebase?

You should use automated hierarchical documentation when onboarding new developers to a large project, ensuring they have an up-to-date, navigable map of the codebase's structure and key areas.

Can I update existing CLAUDE.md files without overwriting them?

Yes, you can regenerate CLAUDE.md files for the current project to update existing documentation and create new files where necessary, ensuring comprehensive and relevant knowledge base coverage.