Goal: Build an LLM-based RAG App

Here is the MVP Implementation Plan.

25 stars

Best use case

Goal: Build an LLM-based RAG App is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Here is the MVP Implementation Plan.

Teams using Goal: Build an LLM-based RAG App should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/mvp/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/Harmeet10000/skills/mvp/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/mvp/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Goal: Build an LLM-based RAG App Compares

Feature / AgentGoal: Build an LLM-based RAG AppStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Here is the MVP Implementation Plan.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

Goal: Build an LLM-based RAG App
Here is the MVP Implementation Plan.

MVP Scope
A "second brain" application that leverages Retrieval Augmented Generation (RAG) to integrate external knowledge and data with LLM capabilities. This MVP will allow users to upload their files as a knowledge base and perform natural language queries against that data using LM Studio.

Technical Stack
Frontend: Streamlit
Backend: FastAPI
LLM Integration: LM Studio

Core Features
1. File Upload
Users can upload documents (PDFs, text files, etc.) into the system.
Extract key information from the uploaded files and store them in a vector database or simple on-disk index.
2. Basic Search
Natural language search, powered by LM Studio.
In-context learning approach with few-shot learning to enhance responses.
RAG flow:
Retrieve relevant segments from the knowledge base.
Combine retrieved segments with user query.
Generate a context-enriched answer.

Data Structure
Document Schema
class Document:
    id: str           # Unique identifier
    title: str        # File title or name
    content: str      # Extracted text
    metadata: dict    # Any additional metadata (e.g., upload date, tags)

Index/Vector Embeddings
Depending on the chosen approach (vector DB vs. local embeddings):
Vector Database: Each Document (or chunk of a document) will have an embedding vector.
Local Index: Store embeddings in a local file or simple database.

Implementation Plan
1. Backend Setup with FastAPI
File Upload Endpoint


Accept file uploads (PDF, TXT, etc.).
Extract and preprocess text (OCR if necessary).
Split text into chunks for indexing.
Generate embeddings via LM Studio or a compatible embedding model.
Store the embeddings and metadata in a vector store local index.
Search Endpoint


Accept natural language queries.
Use embeddings to find the most relevant chunks from the knowledge base.
Construct context from these chunks.
Send context + query to LM Studio for final RAG-based answer.
Data Storage


For MVP, consider a simple JSON or SQLite-based storage for metadata and a local or cloud-based vector index.
Add basic error handling (invalid file format, missing data, etc.).
CORS Setup


Configure CORS in FastAPI to allow calls from the Streamlit frontend.

2. Frontend Development (Streamlit)
File Upload Interface


Simple file upload widget.
On submission, call the FastAPI file upload endpoint.
Provide feedback on success/failure.
Search Interface


Text input for queries.
On submission, call the FastAPI search endpoint.
Display the AI-generated response and (optionally) the top retrieved chunks.
UX & Basic Layout


Show a list of previously uploaded files (titles, metadata, etc.).
Simple and intuitive design with minimal clutter.
Provide error messages or success confirmations.
Error Handling & User Feedback


Show relevant messages for file upload errors, incomplete data, etc.
Display a loading indicator while the system is querying or processing.

API Endpoints
POST /api/files/upload


Description: Upload and store documents.
Payload: File(s) + optional metadata.
Response: Success message with document ID(s).
GET /api/files


Description: List all uploaded documents.
Response: A JSON array of documents with basic metadata.
GET /api/files/{id}


Description: Fetch the details of a specific document by ID.
Response: Document details (title, content if needed, metadata).
POST /api/search


Description: Search the knowledge base with a natural language query.
Payload: { "query": "Your question here" }
Response: RAG-based answer and possibly the top chunks or references.

Future Enhancements (Beyond MVP)
Authentication & Authorization for secure file sharing.
Advanced File Parsing (OCR for scanned PDFs, docx parsing).
Versioning & Revision History for uploaded documents.
UI Improvements such as advanced filtering, summarization, or highlight features.

Related Skills

graphql-mutation-builder

25
from ComeOnOliver/skillshub

Graphql Mutation Builder - Auto-activating skill for API Development. Triggers on: graphql mutation builder, graphql mutation builder Part of the API Development skill category.

building-gitops-workflows

25
from ComeOnOliver/skillshub

This skill enables Claude to construct GitOps workflows using ArgoCD and Flux. It is designed to generate production-ready configurations, implement best practices, and ensure a security-first approach for Kubernetes deployments. Use this skill when the user explicitly requests "GitOps workflow", "ArgoCD", "Flux", or asks for help with setting up a continuous delivery pipeline using GitOps principles. The skill will generate the necessary configuration files and setup code based on the user's specific requirements and infrastructure.

funnel-analysis-builder

25
from ComeOnOliver/skillshub

Funnel Analysis Builder - Auto-activating skill for Data Analytics. Triggers on: funnel analysis builder, funnel analysis builder Part of the Data Analytics skill category.

form-builder-helper

25
from ComeOnOliver/skillshub

Form Builder Helper - Auto-activating skill for Business Automation. Triggers on: form builder helper, form builder helper Part of the Business Automation skill category.

filtering-query-builder

25
from ComeOnOliver/skillshub

Filtering Query Builder - Auto-activating skill for API Development. Triggers on: filtering query builder, filtering query builder Part of the API Development skill category.

cte-query-builder

25
from ComeOnOliver/skillshub

Cte Query Builder - Auto-activating skill for Data Analytics. Triggers on: cte query builder, cte query builder Part of the Data Analytics skill category.

building-classification-models

25
from ComeOnOliver/skillshub

This skill enables Claude to construct and evaluate classification models using provided datasets or specifications. It leverages the classification-model-builder plugin to automate model creation, optimization, and reporting. Use this skill when the user requests to "build a classifier", "create a classification model", "train a classification model", or needs help with supervised learning tasks involving labeled data. The skill ensures best practices are followed, including data validation, error handling, and performance metric reporting.

building-websocket-server

25
from ComeOnOliver/skillshub

Build scalable WebSocket servers for real-time bidirectional communication. Use when enabling real-time bidirectional communication. Trigger with phrases like "build WebSocket server", "add real-time API", or "implement WebSocket".

building-terraform-modules

25
from ComeOnOliver/skillshub

Execute this skill empowers AI assistant to build reusable terraform modules based on user specifications. it leverages the terraform-module-builder plugin to generate production-ready, well-documented terraform module code, incorporating best practices for sec... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

building-recommendation-systems

25
from ComeOnOliver/skillshub

Execute this skill empowers AI assistant to construct recommendation systems using collaborative filtering, content-based filtering, or hybrid approaches. it analyzes user preferences, item features, and interaction data to generate personalized recommendations... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

building-neural-networks

25
from ComeOnOliver/skillshub

Execute this skill allows AI assistant to construct and configure neural network architectures using the neural-network-builder plugin. it should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

building-graphql-server

25
from ComeOnOliver/skillshub

Build production-ready GraphQL servers with schema design, resolvers, and subscriptions. Use when building GraphQL APIs with schemas and resolvers. Trigger with phrases like "build GraphQL API", "create GraphQL server", or "setup GraphQL".