secondbrain-search-init

Initialize semantic search for existing secondbrain projects using qmd indexing and update hooks.

15|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/sergio-bershadsky/ai --skill secondbrain-search-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secondbrain-search-init
Source: https://github.com/sergio-bershadsky/ai/tree/main/plugins/secondbrain/skills/secondbrain-search-init
Command: npx skills add https://github.com/sergio-bershadsky/ai --skill secondbrain-search-init

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps you set up and manage semantic search for an existing secondbrain project by configuring qmd and index pipelines.

Core Features & Use Cases

  • Validate environment and prerequisites (presence of a secondbrain project and a working qmd).
  • Create and configure the .claude/search directory with a qmd.config.json and indexing settings.
  • Build and manage the initial index with qmd index, including optional automatic update hooks for incremental indexing.
  • Support optional hooks to auto-update the index when documents change.

Quick Start

Run /secondbrain-search-init to initialize semantic search for an existing secondbrain project.

Frequently Asked Questions about secondbrain-search-init

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

FAQPage Schema
How do I set up semantic search for a local knowledge management project?

Semantic search enables efficient document discovery within a knowledge management project by indexing documents for meaning rather than just keywords. It requires a local project with config.yaml and a qmd installation to create the search directory and build the index.

What is needed to initialize qmd indexing for document discovery?

Initializing qmd indexing requires a local secondbrain project containing a .claude/data/config.yaml file and a working qmd installation. The process validates your environment, creates the .claude/search directory with a qmd.config.json file, and executes the index creation.

Can I automatically update the search index when documents change?

Yes, you can automatically update the search index when documents change by enabling optional automatic update hooks during initialization. These hooks trigger incremental indexing, ensuring your qmd-based semantic search results reflect the latest document modifications without manual rebuilds.

Does semantic search initialization work without a qmd installation?

No, semantic search initialization does not work without a qmd installation. A functioning qmd environment is a strict prerequisite for the skill to validate your setup, create the qmd.config.json file, and execute the qmd index command for efficient document discovery.

What are the limitations of using qmd for knowledge management search?

A limitation of using qmd for knowledge management search is its dependency on a specific local project structure requiring a config.yaml file. Additionally, the automatic update hooks are optional, meaning incremental indexing will not occur unless explicitly configured during the initialization process.