agentleFS
TakaGotoTakaGoto/rag-learning-academy/.claude/skills/sandbox/SKILL.md

sandbox

Skill24 starsChanged 19 days agoMITView on GitHub

Spin up a minimal RAG pipeline instantly to experiment with

  • Installs packages

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read progress/learner-profile.md for the learner's chosen language.

    line 16
  2. Distinctive:

    Check if dependencies are installed.

    line 18
  3. Very specific:

    Create a sandbox/ directory with three files:

    line 34
  4. Distinctive:

    No LLM generation step yet.

    line 48
  5. Distinctive:

    Add your own data file and query it

    line 54
  6. Distinctive:

    Run the pipeline with a sample query and show the output.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 10 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

Sandbox: Get a Working RAG Pipeline in 5 Minutes

Scope: This skill scaffolds a minimal pipeline for quick experimentation. For guided, step-by-step building with explanations, use /build.

Scaffold a complete, minimal RAG pipeline with sample data so the learner has something running immediately. This is for experimentation, not production.

Language awareness: See .claude/LANGUAGE_AWARENESS.md.

Step 1: Check Environment

Read progress/learner-profile.md for the learner's chosen language. If no profile exists, default to Python.

Check if dependencies are installed. If not, guide the learner through setup:

Python:

pip install chromadb langchain sentence-transformers

TypeScript:

npm install chromadb langchain @langchain/community

For Go/Rust, note that setup is more manual and offer to walk through it.

Step 2: Create the Sandbox

Create a sandbox/ directory with three files:

File 1: Sample Data (sandbox/data.txt)

A short collection of 5-10 paragraphs about a topic (e.g., coffee brewing methods, or RAG itself). Keep it under 2000 words. The data should be interesting enough that queries feel meaningful.

File 2: The Pipeline (sandbox/pipeline.[ext])

A single-file RAG pipeline that:

  1. Loads the sample data
  2. Chunks it (fixed-size, 200 tokens, 50 overlap)
  3. Embeds chunks using a local model (all-MiniLM-L6-v2)
  4. Stores in ChromaDB (in-memory)
  5. Takes a query, retrieves top-3 chunks
  6. Prints the retrieved chunks with similarity scores

No LLM generation step yet. Keep it simple: retrieval only.

File 3: README (sandbox/README.md)

Quick instructions: how to run it, what to try, and 3 suggested experiments:

  1. Try different queries and see what comes back
  2. Change the chunk size and see how results change
  3. Add your own data file and query it

Step 3: Run It Together

Run the pipeline with a sample query and show the output. Walk through what happened at each step: "Here's where it chunked your data... here's the embedding step... here's what ChromaDB returned."

Step 4: Suggest Experiments

Give the learner 3 things to try right now:

  1. "Try a query where the answer spans two chunks. Notice how the pipeline only returns individual chunks."
  2. "Change chunk size from 200 to 50 tokens. Run the same query. What changed?"
  3. "Add a paragraph about something totally different to data.txt. Query for it. Does it retrieve correctly?"

Then suggest next steps:

  • /lesson to understand the concepts behind what you just built
  • /break-it to learn by debugging
  • /build to extend this into a full pipeline with generation

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.