RAG Solution Architect

    by Nada Ahmed

    1

    A practical RAG engineering copilot for planning reliable knowledge assistants, implementing ingestion and retrieval, and debugging quality issues.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    RAG Solution Architect

    Example session with this skill installed

    I need a RAG architecture for a technical support bot using n8n and Supabase. It needs to handle markdown files from GitHub and provide citations.

    • Read your context and instructions
    • Compiled the rag solution architect

    I will design a RAG architecture optimized for technical documentation using n8n for the pipeline and Supabase (pgvector) for storage.

    Technical Support RAG Architecture

    StageComponentConfiguration Details
    Ingestionn8n GitHub TriggerPulls .md files; extracts repo, path, and last_updated.
    ProcessingMarkdown SplitterStructure-aware chunking by H2/H3 headers to keep context intact.
    Embeddingtext-embedding-3-small1536 dimensions; normalized vectors for cosine similarity.
    StorageSupabase pgvectorTable with content, embedding, and metadata (url, title).
    RetrievalRPC FunctionMatches query embedding; applies similarity threshold > 0.78.
    GenerationLLM with CitationsPrompt restricted to context; mandatory format: [Source Title](URL).

    Implementation Snippet (Supabase Schema)

    -- Enable the pgvector extension
    create extension if not exists vector;
    
    -- Create the documentation chunks table
    create table doc_chunks (
      id uuid primary key default gen_random_uuid(),
      content text not null,
      metadata jsonb,
      embedding vector(1536)
    );
    
    -- Index for similarity search
    create index on doc_chunks using ivfflat (embedding vector_cosine_ops);
    

    Next steps

    1. Set up the n8n GitHub node to fetch your specific repository branch.
    2. Define the Supabase service-role credentials in your n8n environment variables.
    3. Run a test ingestion of 5 files to verify chunk boundaries in the database.

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

    About this skill

    RAG systems often fail in production because of poor chunking strategies, mismatched embedding dimensions, or hallucinations caused by weak retrieval. This skill provides a systematic engineering framework to design, implement, and debug production-ready knowledge assistants.

    What it does

    • Architectural design builds custom pipelines covering source acquisition, parsing, chunking, and grounded generation.
    • Ingestion engineering configures structure-aware chunking and metadata strategies to preserve document context and access controls.
    • Vector optimization selects embedding models and configures vector database indexing with specific dimension matching.
    • Retrieval tuning implements hybrid search, metadata filtering, and top-k optimization based on factual evaluation.
    • Systematic troubleshooting diagnoses failures across the pipeline, from extraction errors to citation mapping issues.

    How it works

    1. Discovery defines data sources, corpus size, query patterns, and technical constraints.
    2. Design produces a multi-stage architecture covering ingestion, indexing, and retrieval flows.
    3. Implementation generates specific configuration or code for components like n8n nodes or Supabase schemas.
    4. Evaluation creates test sets to verify answer faithfulness, retrieval relevance, and permission boundaries.

    Frameworks & tools

    The skill specializes in n8n for workflow automation and Supabase/pgvector for storage, but adapts to Pinecone, Qdrant, Weaviate, Chroma, and Elasticsearch. It works with standard embedding models and LLM providers.

    Why this beats prompting it yourself

    Generic prompts often skip the critical separation between ingestion and retrieval or ignore metadata-level security. This skill enforces strict engineering rules for chunking, dimension matching, and citation integrity that prevent common production regressions.

    Use cases

    • Build an automated PDF ingestion pipeline with n8n and a vector database.
    • Debug why an existing RAG assistant is hallucinating or ignoring specific documents.
    • Design a multi-tenant knowledge base with row-level security and metadata filters.
    • Evaluate the impact of different chunking sizes on retrieval accuracy.

    Known limitations

    Does not host infrastructure or execute live cloud deployments. Requires manual provision of API keys and environment variables. Code generation assumes the user provides target versions.

    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.

    Frequently Asked Questions

    A practical RAG engineering copilot for planning reliable knowledge assistants, implementing ingestion and retrieval, and debugging quality issues.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use RAG Solution Architect on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    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.