Works with the AI Agents you already use
pdf rag graph
High-precision RAG skill for searching PDF collections with page-level citations and knowledge graph traversal.
Free
pdf rag graph
Example session with this skill installed
Search the QED thesis for the definition of the Ward identity and give me the page number.
- Read your context and instructions
- Compiled the pdf rag graph
I have retrieved the following evidence from the document index regarding the Ward identity.
Search Results: Ward Identity
| Document | Page(s) | Section | Snippet |
|---|---|---|---|
qed_thesis.pdf | 18, 19 | INTRODUCTION > 5. WARD-TAKAHASHI IDENTITY IN QED | "This identity implies that there exists a relation between the fermion two point function (self-energy) and the vertex function in QED. Specifically, the renormalization constants Z1 and Z2 must be equal..." |
qed_thesis.pdf | 22 | RENORMALIZATION > 2. GAUGE INVARIANCE | "The Ward-Takahashi identity is a consequence of gauge symmetry in quantum electrodynamics, ensuring that the longitudinal part of the vertex function vanishes." |
The Ward identity (specifically the Ward-Takahashi identity) defines a relationship between the fermion self-energy and the vertex function, implying that the renormalization constants $Z_1$ and $Z_2$ are equal (qed_thesis.pdf, p. 18).
Next steps
- Run
graph_walkif you need to see how this identity relates to other renormalization constants. - Use
searchwithmode: "bm25"to find specific mentions of $Z_1$ or $Z_2$ values.
Connects securely to your tools. The creator never sees your data.
About this skill
Git Hub link: https://github.com/gopalsharma1615-ai/rag-mcp-server
Finding specific facts in a mountain of PDFs is slow and prone to hallucination. This skill provides a high-precision retrieval system that extracts evidence with page-level citations from your local documents.
What it does
- Hybrid search combines semantic dense retrieval with BM25 keyword matching for finding exact terms and codes.
- Knowledge graph walking resolves multi-hop queries that require chaining facts across different documents.
- Structural ingestion preserves document hierarchies, headings, and table headers during the indexing process.
- Reranking support utilizes a cross-encoder to verify the relevance of retrieved passages before answering.
- Entity exploration allows inspecting specific terms, their relationships, and source document clusters.
How it works
- Ingest your PDF collection using
layout-ragto create a local vector index of text and tables. - Build an optional knowledge graph using an LLM to map relationships for complex, relational questions.
- Query the system via the
search,graph_walk, orguided_walktools to retrieve raw evidence chunks. - Cite results automatically with document names, page numbers, and section paths provided in the tool output.
Frameworks & tools
Built on Python 3.10+ using rag-mcp-server, layout-rag, and graphwalk-rag. It utilizes Hugging Face models for local embedding and optionally integrates with OpenAI-compatible APIs for graph construction.
Why this beats prompting it yourself
Standard RAG often loses context in tables or fails when answers span multiple documents. This skill uses specialized layout-aware chunking and graph-traversal logic to maintain document structure and follow relational links that simple vector search misses.
Use cases
- Audit complex legal contracts or insurance policies for conflicting clauses.
- Extract specific data points from technical manuals or scientific papers with page citations.
- Perform due diligence across a large folder of corporate reports and filings.
- Build a structured knowledge base from internal documentation for team support.
Known limitations
Optimized for English by default. It does not support image or chart analysis. Knowledge graph quality depends on the LLM used during the build phase.
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.
Optimized for English-language PDFs. No support for interpreting images, charts, or diagrams. Requires Python 3.10+ and Tesseract for OCR tasks.
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 6 days ago
- Free with an Agensi account
- Software
- Rag MCP
Python