index-knowledge

Generate hierarchical AGENTS.md knowledge bases for multi-module codebases.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Khoiwall/be_vidify --skill index-knowledge-khoiwall
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: index-knowledge
Source: https://github.com/Khoiwall/be_vidify/tree/main/.opencode/skill/index-knowledge
Command: npx skills add https://github.com/Khoiwall/be_vidify --skill index-knowledge-khoiwall

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating and maintaining a consistent, navigable knowledge base for large codebases can be tedious and error-prone. This skill automatically creates a root AGENTS.md and per-directory AGENTS.md files that reflect the project's structure and complexity, saving time and ensuring documentation parity across modules.

Core Features & Use Cases

  • Auto-generates a root AGENTS.md plus per-directory AGENTS.md files to document project structure.
  • Scores directories to identify high-impact documentation targets and prioritize reporting.
  • Supports parallel generation and updates by reading existing AGENTS.md and integrating prior context.
  • Produces a maintainable, telegraphic format suitable for quick references in large teams.

Quick Start

Run the knowledge generator to scan your project and produce root and subdirectory AGENTS.md files with optional regeneration.

Frequently Asked Questions about index-knowledge

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

FAQPage Schema
How do I auto-generate AGENTS.md documentation for a multi-module codebase?

Generate layered AGENTS.md files by running a knowledge-base generator that scans directories and produces hierarchical documentation. It scores high-impact targets, supports parallel agents, and writes root plus per-directory files up to a configurable depth.

What is the best way to maintain a hierarchical knowledge base for large project directories?

Maintain a hierarchical knowledge base by reading existing AGENTS.md files and integrating prior context. The generator applies a phased workflow with optional regeneration to ensure documentation parity across modules.

Can I use parallel agents to generate per-directory AGENTS.md files?

Yes, you can use parallel task agents to generate per-directory AGENTS.md files. The workflow supports parallel generation across scored directories to prioritize high-impact documentation targets.

Does the AGENTS.md generator support regenerating existing documentation?

Yes, the AGENTS.md generator supports optional regeneration of existing docs. It reads existing AGENTS.md files, integrates prior context, and writes updated documentation to targeted paths.

How does directory scoring work when generating AGENTS.md knowledge bases?

Directory scoring identifies high-impact documentation targets during the discovery phase. This prioritizes reporting and generation efforts, ensuring complex modules receive layered AGENTS.md files.

What format does the generated AGENTS.md knowledge base use for quick references?

The generated AGENTS.md knowledge base uses a maintainable, telegraphic format suitable for quick references in large teams. This ensures navigable and consistent documentation across the codebase.