agentleFS
aiagentwithdhruvaiagentwithdhruv/skills/skool-rag/SKILL.md

skool-rag

Skill16 starsChanged 9 months agoMITView on GitHub

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.

  • Reads credentials

3 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Skool RAG Pipeline

Goal

Query Skool community content using a RAG (Retrieval-Augmented Generation) pipeline with vector search and reranking.

Scripts

  • ./scripts/skool_rag_prepare.py - Prepare content for indexing
  • ./scripts/skool_rag_index.py - Index content in Pinecone
  • ./scripts/skool_rag_query.py - Query the knowledge base

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:

  1. OpenAI embeddings for query
  2. Pinecone vector search
  3. Cohere reranking
  4. 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

NameTypeRequiredDescription
querystringYesNatural language question to search for
communitystringNoCommunity slug to index (default: makerschool)

Outputs

NameTypeDescription
answerstringAI-generated answer with source references

Credentials

NameSource
PINECONE_API_KEY.env
OPENAI_API_KEY.env
COHERE_API_KEY.env
ANTHROPIC_API_KEY.env

Composable With

Skills that chain well with this one: skool-monitor

Cost

Pinecone + OpenAI embeddings + Cohere reranking + Claude

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.