db-read

Search the database index, read matched documents, and synthesize cited answers.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/adamrdrew/claude-code-patterns --skill db-read
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-read
Source: https://github.com/adamrdrew/claude-code-patterns/tree/main/procedural-skills/.claude/skills/db-read
Command: npx skills add https://github.com/adamrdrew/claude-code-patterns --skill db-read

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Find and read documents from the database matching a query. Searches the index for relevant entries, then reads and synthesizes the content. Use this when the user wants to retrieve stored information.

Core Features & Use Cases

  • Identify relevant documents by topic or keywords using an index.
  • Read and synthesize content from matched documents to answer user queries.
  • Use Case: When you need to retrieve stored information from a database and summarize key points.

Quick Start

Provide a question or query and let the skill locate, read, and summarize the matching documents from the database.

Frequently Asked Questions about db-read

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

FAQPage Schema
How do I retrieve and summarize relevant documents from a database?

Database document retrieval works by reading an index to identify candidate documents, evaluating relevance to your query, and synthesizing a concise answer with citations. If the index is empty, it reports that no documents are available.

What's the best way to search a knowledge base and synthesize the content?

Searching a knowledge base involves matching your query against an index of stored entries, then reading each matched document to synthesize key points. This skill reads the index, evaluates relevance, and returns a summarized answer with citations.

How does document retrieval handle an empty database index?

When the database index is empty, document retrieval reports that no documents are available. This prevents irrelevant or hallucinated results, ensuring you only receive synthesized answers when matching documents actually exist in the knowledge base.

Can I locate specific log entries and synthesize information from them?

Yes, you can locate and synthesize information from stored logs. The skill identifies relevant log entries by matching keywords or topics against the index, reads each matched document, and synthesizes a concise summary with citations.

Do I need to format my query in a specific way to search stored documents?

No special formatting is required to search stored documents. You simply provide a question or query, and the skill automatically reads the index, evaluates relevance, reads matched documents, and synthesizes a concise answer with citations.

What distinguishes index-based retrieval from other data search methods?

Index-based retrieval distinguishes itself by first reading an index to identify candidate documents, then reading each matched document to evaluate relevance before synthesizing a concise answer with citations, rather than scanning the entire database.