index-knowledge

Generate root and complexity-scored subdirectory AGENTS.md documentation for codebases.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of a structured knowledge base for codebases by generating a root AGENTS.md and complexity-scored subdirectory documentation, reducing manual documentation effort and keeping references in sync with code structure.

Core Features & Use Cases

  • Root and subdirectory documentation generation
  • Complexity-aware scoring to guide documentation scope
  • Parallel generation and integration with existing AGENTS.md

Quick Start

Run the index-knowledge skill to generate the root AGENTS.md and scoped subdirectory documentation 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 an AGENTS.md knowledge base for my codebase?

To generate an AGENTS.md knowledge base, run the index-knowledge skill to analyze your codebase structure and automatically create a root document along with scoped, complexity-scored subdirectory documentation.

What is complexity-aware scoring for subdirectory documentation?

Complexity-aware scoring evaluates codebase modules to determine documentation scope, ensuring that nested subdirectories receive appropriate depth of analysis when generating per-directory AGENTS.md files.

Can I integrate existing documentation sources when generating a hierarchical knowledge base?

Yes, you can integrate existing documentation sources when generating the hierarchical knowledge base, allowing the skill to merge new root and subdirectory AGENTS.md files with current project references.

Does parallel execution support large project codebases during analysis?

Yes, the skill supports optional parallel execution to analyze large project codebases, automating the generation of root and nested module AGENTS.md documentation efficiently.

What's the best way to keep codebase documentation in sync with code structure?

The best way to keep codebase documentation in sync is to automate the creation of a structured knowledge base, generating root and scoped subdirectory AGENTS.md files that map directly to your project structure.