Learn-skills.dev skool-rag
Query Skool community content using RAG pipeline with vector search. Use when user asks to search Skool knowledge, find community answers, or query Skool content.
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/aiagentwithdhruv/skills/skool-rag" ~/.claude/skills/neversight-learn-skills-dev-skool-rag && rm -rf "$T"
manifest:
data/skills-md/aiagentwithdhruv/skills/skool-rag/SKILL.mdsource content
Skool RAG Pipeline
Goal
Query Skool community content using a RAG (Retrieval-Augmented Generation) pipeline with vector search and reranking.
Scripts
- Prepare content for indexing./scripts/skool_rag_prepare.py
- Index content in Pinecone./scripts/skool_rag_index.py
- Query the knowledge base./scripts/skool_rag_query.py
Pipeline
1. Prepare Content
python3 ./scripts/skool_rag_prepare.py --community makerschool
Scrapes and chunks community content.
2. Index in Pinecone
python3 ./scripts/skool_rag_index.py --input .tmp/skool_chunks.json
Creates OpenAI embeddings and stores in Pinecone.
3. Query
python3 ./scripts/skool_rag_query.py --query "How do I get my first client?"
Pipeline:
- OpenAI embeddings for query
- Pinecone vector search
- Cohere reranking
- Claude response generation
Environment
PINECONE_API_KEY=your_key OPENAI_API_KEY=your_key COHERE_API_KEY=your_key ANTHROPIC_API_KEY=your_key
Schema
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Natural language question to search for |
| string | No | Community slug to index (default: makerschool) |
Outputs
| Name | Type | Description |
|---|---|---|
| string | AI-generated answer with source references |
Credentials
| Name | Source |
|---|---|
| .env |
| .env |
| .env |
| .env |
Composable With
Skills that chain well with this one:
skool-monitor
Cost
Pinecone + OpenAI embeddings + Cohere reranking + Claude