agentleFS
Harmeet10000Harmeet10000/skills/skills/product-management/mvp/SKILL.md

mvp

Skill7 starsChanged 9 months agoMITView on GitHub

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.)…

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use company-values, find-community and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • slavingiaSkill

    company-values

    Help define company values and culture for a minimalist business. Use when someone is setting up their company culture, preparing to hire, or wanting to codify what their company stands for.

    Also in 5 projects that use this

  • slavingiaSkill

    find-community

    Help identify and evaluate communities to build a minimalist business around. Use when someone is looking for a business idea, trying to find their community, or wondering where to start as an entrepreneur.

    Also in 5 projects that use this

  • +7 more from slavingia

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use embeddings to find the most relevant chunks from the knowledge base.

    line 51
  2. Distinctive:

    Add basic error handling (invalid file format, missing data, etc.).

    line 58

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.