Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    RAG Knowledge Base Builder

    1

    Architect better RAG pipelines with optimized chunking strategies, metadata schemas, and retrieval test cases.

    Free

    1 installSecurity scanned
    RAG Knowledge Base Builder

    RAG Knowledge Base Builder

    Example session with this skill installed

    I have about 500 PDF technical manuals for industrial boilers. I need to get them into a Pinecone index for a support bot. How should I structure the data?

    • Read your context and instructions
    • Compiled the rag knowledge base
    • Generated the document

    I have analyzed your request for industrial boiler manual ingestion. The following strategy focuses on preserving technical specifications and ensuring high-precision retrieval for support engineers.

    [RAG Knowledge-Base Builder Report]

    📄 Document Assessment & Chunking Strategy:

    • Document Type: PDF Technical Manuals (High density of specs and tables)
    • Recommended Strategy: Recursive Character Chunking with Markdown Conversion
    • Settings: Chunk size: 800 tokens, Overlap: 100 tokens (12.5%)

    🏷️ Metadata Schema:

    • source_file: [String] Original manual filename
    • equipment_model: [String] Specific boiler model number
    • section_type: [String] e.g., Troubleshooting, Installation, Wiring
    • page_number: [Integer] For source attribution
    • last_updated: [ISO8601 Date] To prioritize current documentation

    🧹 Pre-processing Checklist:

    • Convert all PDF tables to Markdown tables to preserve relational data
    • Use OCR for wiring diagrams and store descriptions as text
    • Strip recurring page headers and company addresses from every page
    • Normalize unit measurements (e.g., PSI, Bar) to a consistent format

    🔍 Initial Golden Queries (For Testing):

    • Simple: "What is the maximum operating pressure for the B-200 series boiler?"
    • Complex: "If the error code E04 appears on a 2022 model, what are the primary check steps for the gas valve?"
    • Negative: "Who is the CEO of the boiler manufacturing company?"

    [Self-Check]

    • Chunking strategy explicitly recommended based on document type
    • Metadata schema defined for hybrid search
    • Pre-processing checklist provided
    • Initial golden queries drafted for testing

    Next steps

    1. Implement a Python script using PyMuPDF or Unstructured to extract text and convert tables to Markdown.
    2. Initialize your Pinecone index with the defined metadata fields as indexed dimensions.
    3. Run the Golden Queries after the first 10 documents are ingested to verify chunk relevance.

    rag-knowledge-base-builder.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    About this skill

    The problem

    Building a RAG pipeline often fails because developers rush data into a vector database without a strategy. Messy source documents and poor chunking lead to irrelevant search results and high token costs.

    What it does

    • Analyzes your specific document types to recommend optimal chunking strategies like recursive, semantic, or markdown-aware splitting.
    • Defines a strict metadata schema to enable hybrid search and pre-filtering capabilities.
    • Generates a targeted pre-processing checklist for cleaning headers, footers, and tables.
    • Drafts a "Golden Query" test set to validate retrieval accuracy after ingestion.

    Frameworks & tools

    Designed for use with LangChain, LlamaIndex, Pinecone, Weaviate, and ChromaDB. Supports PDF, Markdown, and plaintext document processing.

    Why this beats prompting it yourself

    Generic prompts often miss the nuances of chunk overlap and metadata filtering. This skill applies specific heuristics for token optimization and retrieval precision that go beyond basic text splitting.

    Use cases

    • Designing a knowledge base for technical documentation repositories.
    • Cleaning and structuring messy PDF manuals for an internal support bot.
    • Optimizing an existing RAG system that is returning low-quality context chunks.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    1 install

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 14 days ago

    • Free to download with an account

    Listed14 days ago

    What's inside

    Frequently Asked Questions