qmd-book-qa

Answer book questions with source-backed citations from a QMD collection.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/0xtito/second-brain --skill qmd-book-qa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qmd-book-qa
Source: https://github.com/0xtito/second-brain/tree/main/pi-extensions/skills/qmd-book-qa
Command: npx skills add https://github.com/0xtito/second-brain --skill qmd-book-qa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Enables precise, evidence-backed answers to user questions about a single book indexed in QMD, pulling citations only from that book's collection.

Core Features & Use Cases

  • Scoped book querying with optional page or chapter hints to target exact content.
  • Grounded retrieval with explicit citations to docids and file paths.
  • Optional helper script to resolve targets and generate ready-to-run QMD get commands.

Quick Start

Ask a specific question about a book and provide an optional page hint to retrieve grounded citations.

Frequently Asked Questions about qmd-book-qa

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

FAQPage Schema
How do I get grounded answers with exact book sources from a QMD collection?

To get grounded answers with exact book sources, you query a specific book indexed in QMD. It operates within a single book collection at ~/books-md and returns targeted citations referencing exact docids and file paths.

Can I target specific pages or chapters when querying book content?

Yes, you can provide optional page-level or chapter-level hints when querying book content. This scoped querying targets exact content within the indexed collection to retrieve highly specific, source-backed citations.

What retrieval modes are supported for searching a single book?

Supported retrieval modes for searching a single book include search, vsearch, and query. These modes support explicit docid-based hydration to ensure precise, evidence-backed results pulled directly from the indexed collection.

Do I need a valid QMD collection to extract citations from a book?

Yes, you need a valid QMD collection to extract citations from a book. The system requires a pre-indexed collection located at ~/books-md and uses a bundled helper script to resolve targets and generate ready-to-run QMD get commands.

What are the limitations of using a single book collection for evidence retrieval?

A key limitation of single book evidence retrieval is that it operates strictly within one book's collection at ~/books-md. It cannot pull citations or cross-reference evidence from multiple books or external documents outside that specific collection.