Intelligent Document Research
Research local PDF, DOCX and TXT files with private on-device indexing, ranked retrieval and source citations. No hosted server or user API key required.
Free
Intelligent Document Research
Example session with this skill installed
Search my ./docs folder for "security protocols" and summarize how we handle data encryption.
- Read your context and instructions
- Compiled the intelligent document research
I have searched the local index for "security protocols" and "data encryption". I found 3 relevant passages across 2 documents.
Research Summary: Data Encryption Protocols
Based on the indexed documents, the organization follows a multi-layered encryption strategy for both data at rest and data in transit.
| Protocol Area | Implementation Detail | Source Citation |
|---|---|---|
| Data at Rest | All database volumes are encrypted using AES-256 at the storage layer. | [security_policy_2024.pdf, page 12] |
| Data in Transit | Internal service communication is mandated to use TLS 1.3 with Perfect Forward Secrecy. | [network_specs.docx] |
| Key Management | Encryption keys are rotated every 90 days via an internal HSM service. | [security_policy_2024.pdf, page 14] |
| Legacy Systems | Older TXT logs are encrypted using a batch process before archival. | [archive_notes.txt, chunk 4] |
Coverage Note:
Detailed specifications for the HSM service were not found in the provided documents. The network_specs.docx file provides protocol versions but does not include page numbers as it is a Word document.
Next steps
- Run
python scripts/document_research.py search --query "HSM key rotation"for more detail on key management. - Add the
compliance_audit.pdfto the folder and run theindex --rebuildcommand to include it in this summary.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing large volumes of local documents often leads to manual searching or privacy concerns with cloud-based AI. This skill enables private, on-device research across local files using ranked retrieval and evidence-based synthesis.
What it does
- Local indexing parses PDF, DOCX, and TXT files to build a private BM25 search index.
- Ranked retrieval fetches relevant passages based on keyword relevance and entity matching.
- Source citation automatically links evidence to filenames and page numbers for auditability.
- Multi-format support handles text-layer PDFs, Word documents, and plain text files.
- Contextual reasoning synthesizes answers only from retrieved local data to prevent hallucination.
How it works
- Initialize index by pointing the script at a local directory to extract text and generate the
.idr_skillworkspace folder. - Execute search using the
searchcommand to retrieve the top-ranked evidence chunks for a specific query. - Refine retrieval if initial results are weak by rewriting the query with synonyms and re-running the search.
- Generate answer by summarizing the evidence with strictly formatted citations for every claim.
Frameworks & tools
This skill is built with Python 3.10+ and utilizes the BM25 algorithm for local ranking. It relies on standard libraries for PDF and DOCX parsing without requiring external API keys or vector databases.
Why this beats prompting it yourself
Standard prompts hit context window limits quickly and often hallucinate details from large datasets. This skill implements a structured RAG workflow that ranks thousands of chunks locally, ensuring the agent only "sees" the most relevant facts while maintaining strict source attribution.
Use cases
- Querying technical specifications across multiple PDF manuals.
- Extracting key contract terms from a folder of DOCX legal documents.
- Synthesizing research notes from distributed TXT files.
- Verifying specific dates and figures across annual reports with page-level citations.
Known limitations
Does not support scanned/image-only PDFs, password-protected files, or complex table layouts. Citations for DOCX files identify filenames only, not page numbers.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 7 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.