Study Q&A from PDFs, CSVs & Web Pages (RAG with Citations)

    by Taĵ Shabreeŋ

    0

    Turn a PDF, CSV or web page into a local searchable knowledge base, then get study answers with source and page citations. Runs on your machine with ChromaDB and MiniLM embeddings. No API key needed by default. No OCR.

    $8.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Study Q&A from PDFs, CSVs & Web Pages (RAG with Citations)

    Example session with this skill installed

    Using my course PDF ./course_notes.pdf, explain what merge sort is. Answer using only the retrieved information and include the source PDF name and page numbers.

    • Read your context and instructions
    • Compiled the study q&a from

    I built a local knowledge base from course_notes.pdf (29 pages, 59 chunks, embedded with all-MiniLM-L6-v2 and stored in ChromaDB) and retrieved the closest passages for your question.

    Merge sort

    Merge sort is a sorting algorithm that uses the divide-and-conquer approach. It repeatedly divides an array into smaller halves until each part contains one element, then merges the parts back together in sorted order [S1]. The notes state a time complexity of O(n log n) [S1] and include a worked example that merges two sorted halves into one sorted array [S2].

    How it works (from the notes)

    1. Divide the array into two halves.
    2. Recursively sort each half.
    3. Merge the sorted halves into one sorted array.

    Sources

    IdFilePage
    S1course_notes.pdf28
    S2course_notes.pdf24

    This answer uses only the retrieved passages. If the notes don't contain the answer, the agent replies: "I could not find the answer in the provided knowledge source."

    Next steps

    1. Check pages 24 and 28 of the PDF to confirm the details.
    2. Ask a follow-up: python scripts/rag_cli.py ask "time complexity of merge sort" --k 6
    3. Add another document: python scripts/rag_cli.py build --type pdf --source more_notes.pdf --append
    course_notes.pdf

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Ask questions about your own lecture notes, textbook PDFs, datasets or web pages, and get answers that point to the exact source. This skill builds a local retrieval-augmented generation (RAG) knowledge base with LangChain and ChromaDB, then returns the matching passages with citation ids so your agent can answer only from them.

    What it does

    • Three source types: text-based PDF, CSV file, or a public website URL.
    • Local search: chunks text and embeds it on your machine with all-MiniLM-L6-v2; the knowledge base is stored in a local .rag_kb folder.
    • Citations built in: each retrieved passage has an id ([S1], [S2]), the source name, the PDF page number and a distance score.
    • Grounded answering rules: the skill instructs your agent to use only the retrieved text, never invent citations, and reply "I could not find the answer in the provided knowledge source." when nothing matches.
    • Optional Groq answers: add --generate with your own Groq API key if you want the answer written by a Groq-hosted LLM instead of your agent.

    How it works

    1. Install the dependencies with pip (includes PyTorch).
    2. build ingests your PDF, CSV or URL.
    3. ask returns the top matching passages as JSON.
    4. Your agent writes the answer and cites [S1], [S2].

    Requirements

    Python 3.10+, pip, internet on first run (about 90 MB embedding model download). Large install because of PyTorch.

    Privacy

    Documents and the knowledge base stay on your machine. Data leaves it only for: the website URL you provide, the one-time model download, and Groq if you choose --generate. Telemetry from ChromaDB is switched off.

    Use cases

    • Study questions from lecture notes or textbook PDFs
    • Looking up facts in a dataset description or small CSV
    • Summarising one documentation page with the source kept
    • Checking which part of a document supports a claim

    Known limitations

    No OCR (scanned PDFs), images, conversation memory or reranking. Distance is not a confidence score. CSV questions that need sums or averages are unreliable. Some websites block scraping or need JavaScript. Answers are only as good as the retrieved text; always check the cited source.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Software
    pipPython 3.10+

    First run downloads a ~90 MB embedding model from Hugging Face. Install includes PyTorch (large). Works offline afterwards, except website URLs and the optional Groq mode.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Reads only the PDF/CSV you specify. Writes only to the .rag_kb folder. Does not scan other files.

    Listed6 days ago

    What's inside

    Frequently Asked Questions

    This skill creates a local vector database on your machine from your PDFs, CSVs, and URLs, allowing an AI to answer questions based strictly on your files with specific page and source citations.

    You will receive a Python-based CLI tool, a pre-configured environment setup guide, and the integration logic for LangChain and ChromaDB to manage your local knowledge base.

    It requires Python 3.10+ and a machine capable of running PyTorch; while it is optimized for local embedding, it also supports Groq API integration for faster text generation if you prefer not to run the full LLM locally.

    The skill supports standard text-based PDFs, CSV datasets, and static web URLs, but please note that it does not currently support scanned images or handwriting via OCR.

    Updates are provided through the marketplace dashboard; because the system is modular, you can update your local embedding models or switch LLM providers without rebuilding your entire document database.

    Unlike standard prompting which has a limited 'memory' window, this skill indexes your entire library of documents, retrieving only the most relevant snippets to answer a specific query accurately.

    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.