index-knowledge

Generate hierarchical AGENTS.md knowledge bases with depth-scored subdirectories.

4|Updated May 21, 2020
One-click install
npx skills add https://github.com/eratio08/dotfiles --skill index-knowledge-eratio08
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: index-knowledge
Source: https://github.com/eratio08/dotfiles/tree/main/opencode/.config/opencode/skills/index-knowledge
Command: npx skills add https://github.com/eratio08/dotfiles --skill index-knowledge-eratio08

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate a scalable, navigable knowledge base for a codebase by generating root AGENTS.md and depth-scored subdirectory documents to support onboarding and maintenance.

Core Features & Use Cases

  • Root AGENTS.md generation for overall project context
  • Parallel generation of subdirectory AGENTS.md files to cover modular codebases
  • Scoring-based location decisions with incremental updates from existing documentation

Quick Start

Run the knowledge-base generator against your repository to produce the root AGENTS.md and subdirectory documents.

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 hierarchical AGENTS.md knowledge base for a large codebase?

Generating an AGENTS.md knowledge base involves running a multi-phase workflow that produces a root-level document for project context and depth-scored subdirectory files for modular coverage. This structure supports scalable onboarding and maintenance across large projects.

What is depth scoring in subdirectory documentation generation?

Depth scoring is a matrix mechanism used to evaluate subdirectories and decide where to locate AGENTS.md files. It assesses codebase modules to ensure structured knowledge discovery is distributed effectively across scalable project architectures.

Can I incrementally update existing documentation when generating an AGENTS.md knowledge base?

Yes, the workflow supports incremental updates from existing documentation. It uses a scoring matrix and location decisions to integrate existing material while generating new root and subdirectory AGENTS.md files in parallel.

Does AGENTS.md knowledge base generation work for large modular codebases?

AGENTS.md generation is designed for large codebases by applying root-level documentation plus parallel generation of depth-scored subdirectory files. This hierarchical approach ensures navigable knowledge distribution across complex, modular project structures.

What is the best way to structure codebase documentation for scalable onboarding?

The best way to structure codebase documentation is using a hierarchical root and subdirectory AGENTS.md format. This approach applies depth-scored location decisions to generate scalable, navigable knowledge bases that support onboarding and maintenance.