document-brief

Index documents and answer questions with quoted source passages.

1.6k|168|Updated Dec 16, 2024
One-click install
npx skills add https://github.com/amd/gaia --skill document-brief-amd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-brief
Source: https://github.com/amd/gaia/tree/main/hub/skills/document-brief
Command: npx skills add https://github.com/amd/gaia --skill document-brief-amd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reading long PDFs, contracts, specs, or reports to find one answer is slow, and answers given from memory lack proof. This Skill indexes documents and answers questions with direct quotes from the source so every claim is verifiable. ## Core Features & Use Cases - Document Indexing: Index a single file or an entire folder recursively, with checks to avoid re-indexing documents already processed. - Grounded Q&A: Ask focused questions and receive answers backed by exact sentences or figures retrieved from the source. - Standing Briefs: Generate a structured brief covering what the document is, what matters, what to watch, and open questions. - Use Case: Point the Skill at a vendor contract and ask about termination clauses, liability limits, and auto-renewal terms, receiving each answer with the exact contract language that supports it. ## Quick Start Index the file contract.pdf and give me a brief covering what it is, what matters, and what to watch.

Frequently Asked Questions about document-brief

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

FAQPage Schema
How do I ask questions about a PDF document?

Index the PDF with index_document, then call query_documents with one focused question at a time. Each answer includes the exact sentence or figure from the document that supports the claim.

How do I summarize a long contract or report?

Use summarize_document on the indexed file to get an overview, then follow up with targeted questions. The standing brief format covers what the document is, key decision points, obligations and deadlines, and open questions.

Can I index an entire folder of documents at once?

Yes, index_directory accepts a directory path and processes it recursively when recursive is set to true. Check list_indexed_documents first to skip files that are already indexed, since re-indexing is slow.

What happens if document indexing fails?

Run rag_status to diagnose the failure and report what it returns. The Skill does not answer from the filename or general knowledge when the document content is unavailable.

Does document Q&A work when the answer is not in the file?

When retrieval returns nothing relevant, the Skill states that the document does not appear to cover the topic. It never fills gaps from general knowledge, so answers stay grounded in the source.