scan

Scan Markdown files to extract metadata and rebuild cached JSON indexes.

15|2|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/BEKO2210/Firstbrain --skill scan-beko2210
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scan
Source: https://github.com/BEKO2210/Firstbrain/tree/main/.agents/skills/scan
Command: npx skills add https://github.com/BEKO2210/Firstbrain --skill scan-beko2210

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures your knowledge base is up-to-date by scanning all your Markdown files, extracting key metadata, and rebuilding essential indexes for efficient searching and linking.

Core Features & Use Cases

  • Incremental Scanning: Quickly updates indexes by only processing changed files.
  • Metadata Extraction: Captures frontmatter, wiki-links, tags, and headings.
  • Index Generation: Creates vault-index.json, link-map.json, and tag-index.json for fast lookups.
  • Embedding Sync: Optionally generates embeddings for semantic search if the necessary libraries are installed.
  • Use Case: After adding new notes or modifying existing ones, run /scan to ensure your AI assistant has the latest information for accurate responses and suggestions.

Quick Start

Run the scan skill to update all indexes in the vault.

Frequently Asked Questions about scan

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

FAQPage Schema
How do I rebuild indexes for a Markdown vault after adding new notes?

To rebuild Markdown vault indexes, you can scan all files to extract Level 1 metadata like frontmatter, wiki-links, tags, and headings, generating updated JSON caches for fast lookups.

What is incremental scanning and how does it update vault metadata?

Incremental scanning updates vault metadata by only processing changed Markdown files, efficiently refreshing cached indexes without reprocessing the entire repository.

Can I generate embeddings for semantic search across my Markdown files?

Yes, you can optionally generate embeddings for semantic search across Markdown files if the necessary embedding libraries are installed in your environment.

What metadata does a vault scan extract from Markdown files?

A vault scan extracts Level 1 metadata from Markdown files, specifically targeting frontmatter properties, wiki-links, tags, and headings to build comprehensive content indexes.

Does the scan process require any external dependencies to build link maps?

No external dependencies are required to build link maps and tag associations from Markdown files, though embedding generation requires installing specific libraries separately.