document-qa

Answer questions from PDF, Word, Excel, and PowerPoint documents with source citations.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/landonking-gif/ai_final --skill document-qa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-qa
Source: https://github.com/landonking-gif/ai_final/tree/main/agentic-framework-main/code-exec/skills/document_qa
Command: npx skills add https://github.com/landonking-gif/ai_final --skill document-qa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill tackles the challenge of extracting specific information and answering questions from various document formats, eliminating the need to manually sift through large volumes of text.

Core Features & Use Cases

  • Document Q&A: Ask questions about the content of PDFs, Word docs, Excel sheets, and PowerPoint presentations.
  • Source Citations: Get answers with precise source references, including file names and page numbers.
  • Use Case: You have a lengthy research paper and need to find specific statistics or conclusions. This Skill can quickly locate the information and provide the exact source within the document.

Quick Start

Use the document-qa skill to answer the question 'What were the Q3 revenue figures?' from the file 'quarterly_report.pdf'.

Frequently Asked Questions about document-qa

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

FAQPage Schema
How do I answer questions from a PDF and get exact page citations?

You can perform document Q&A on PDFs, Word, Excel, and PowerPoint files. The Skill processes images with a Vision LLM and uses hybrid retrieval with LLM reranking to answer questions accurately.

Does document Q&A work with Excel and PowerPoint files?

Yes, document Q&A supports PDF, Word, Excel, and PowerPoint files. It extracts content from these formats and uses advanced RAG techniques to retrieve reliable information and answer questions.

What is the best way to extract specific statistics from a lengthy research paper?

The best way to extract specific statistics from a research paper is using document Q&A. It locates the information quickly and provides the exact source reference within the document.

How does semantic chunking handle context limitations in document analysis?

Semantic chunking addresses context limitations by breaking documents into meaningful segments. Combined with hybrid retrieval and LLM reranking, it ensures reliable information retrieval during document analysis.

Can I process images within documents using RAG extraction?

Yes, during RAG extraction, the Skill processes images found within your documents using a Vision LLM. This allows it to unlock insights from visual content alongside text.

Why use LLM reranking for PDF question answering?

LLM reranking improves PDF question answering accuracy by refining the retrieved semantic chunks. This advanced RAG technique ensures the most relevant context is used to generate your answer.