bmad-index-docs

Scan a target directory and generate index.md with content-derived descriptions.

36|16|Updated May 1, 2026
One-click install
npx skills add https://github.com/tronghieu/lumina-wiki --skill bmad-index-docs-tronghieu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-index-docs
Source: https://github.com/tronghieu/lumina-wiki/tree/main/.agents/skills/bmad-index-docs
Command: npx skills add https://github.com/tronghieu/lumina-wiki --skill bmad-index-docs-tronghieu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the time-consuming work of manually creating and maintaining an index that helps users quickly find documents inside a specific folder.

Core Features & Use Cases

  • Directory Scanning: Enumerates files and subdirectories in the selected target folder.
  • Content-Aware Summaries: Reads each file to produce concise, meaningful descriptions (based on content, not filename).
  • Index Generation/Updates: Creates or refreshes an index.md with grouped, alphabetized links for both files and subfolders.

Use case: when you add new notes, guides, or reference materials to a workspace folder, you can regenerate the folder’s index so the entire set stays discoverable and organized.

Quick Start

Ask it to run bmad-index-docs for your target folder to generate or update index.md.

Frequently Asked Questions about bmad-index-docs

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

FAQPage Schema
How do I automatically generate an index for a markdown documentation folder?

To generate an index for a markdown documentation folder, use a tool that scans the target directory and creates a navigable index.md. It reads each file to produce content-aware descriptions and organizes everything into grouped, alphabetized links.

How do I update my knowledge base index after adding new markdown files?

You can update a knowledge base index by running a directory scan on the target folder. This refreshes the existing index.md by reading the newly added markdown files, generating content-derived summaries, and updating the navigable links.

What is the best way to organize a folder structure for onboarding documentation?

The best way to organize onboarding documentation is to generate a navigable index.md that links all files and subfolders. This provides content-aware summaries for each document, ensuring the workspace stays discoverable and grouped logically.

Does the generated index.md use relative paths for linking documents?

Yes, the generated index.md uses relative paths starting with ./ to link documents within the target directory. This ensures the index remains navigable regardless of where the parent folder is located or moved.

What happens if the target directory is missing or not writable when generating an index?

If the target directory is missing or not writable, the index generation process will halt. The tool requires proper read access for the target file contents and write access to successfully create or update the index.md file.

Can I create content summaries for documents based on their actual text instead of filenames?

Yes, the indexing process reads each target file to produce concise, meaningful descriptions based on the actual content rather than the filename. This ensures the generated index provides accurate, content-aware summaries for every linked document.