index-folder

Index folder contents into a JSON index file with metadata extraction.

4|3|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/yohayetsion/product-org-os --skill index-folder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: index-folder
Source: https://github.com/yohayetsion/product-org-os/tree/main/product-org-plugin/skills/index-folder
Command: npx skills add https://github.com/yohayetsion/product-org-os --skill index-folder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you organize and make searchable the contents of your project folders, ensuring that important documents and data are easily discoverable.

Core Features & Use Cases

  • Folder Indexing: Scans specified directories and indexes supported file types.
  • Metadata Extraction: Extracts titles, types, topics, and creation dates from files.
  • Context Integration: Updates a central context/index.json for fast retrieval.
  • Use Case: After adding new research documents to a 'research/' folder, use this Skill to index them so you can later query for specific topics or document types.

Quick Start

Index all markdown and json files in the 'docs/' folder recursively.

Frequently Asked Questions about index-folder

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

FAQPage Schema
How do I index a project folder for fast file retrieval and search?

Folder indexing scans specified directories and extracts metadata from supported files like Markdown and JSON. It updates a central context/index.json file, making documents easily discoverable when you need to query specific topics or file types.

What metadata is extracted from Markdown and JSON files during folder indexing?

During folder indexing, metadata such as title, type, topics, and phase is extracted from supported file formats like Markdown and JSON. This information populates a central context/index.json file to ensure important documents are easily discoverable by topic.

Can I filter folder indexing by file type when scanning directories recursively?

Yes, you can filter folder indexing by file type while scanning directories recursively. The indexing process supports targeting specific formats like Markdown and JSON, updating the context/index.json file only with entries from supported file types.

How do I update an existing JSON index with newly added project documents?

You can update an existing JSON index by running the folder indexing script on your target directory. It identifies new and modified files, extracts their metadata, and updates the context/index.json file to include the latest entries for fast retrieval.

What is the best way to organize research documents for topic-based search?

Indexing research documents into a central context/index.json file is the best way to organize them for topic-based search. The folder indexing process extracts metadata like topics and titles, creating a structured catalog that ensures fast retrieval and discovery.

Are there limitations on which file formats support metadata extraction for indexing?

Metadata extraction during indexing is currently limited to supported file formats like Markdown and JSON. Unsupported file types will not have metadata such as title, type, topics, or phase extracted and cataloged into the context/index.json file.