Communitygithub.com

aiagentwithdhruv/skills

通过 RAG 管道和向量搜索查询 Skool 社区内容。当用户要求搜索 Skool 知识、查找社区答案或查询 Skool 内容时使用。

skills 是什么?

该技能实现了一个完整的检索增强生成 (RAG) 管道,用于查询 Skool 社区内容。它首先通过脚本抓取并分块社区内容,然后使用 OpenAI 嵌入将其索引到 Pinecone 向量数据库中。查询时,管道会为输入问题生成嵌入,在 Pinecone 中进行向量搜索,利用 Cohere 对结果进行重排序,最后使用 Claude 生成带源引用的回答。该技能支持 Python 脚本和 .env 环境变量,与 skool-monitor 技能兼容,适用于任何需要基于 Skool 社区知识库进行问答的开发者或 AI 代理。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/skool-rag

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Skool RAG 管道

目标

使用 RAG(检索增强生成)管道(包含向量搜索和重排序)查询 Skool 社区内容。

脚本

  • ./scripts/skool_rag_prepare.py - 准备内容以供索引
  • ./scripts/skool_rag_index.py - 将内容索引到 Pinecone 中
  • ./scripts/skool_rag_query.py - 查询知识库

管道

1. 准备内容

python3 ./scripts/skool_rag_prepare.py --community makerschool

抓取并分块社区内容。

2. 索引到 Pinecone

python3 ./scripts/skool_rag_index.py --input .tmp/skool_chunks.json

创建 OpenAI 嵌入并存储在 Pinecone 中。

3. 查询

python3 ./scripts/skool_rag_query.py --query "如何获得我的第一个客户?"

管道流程:

  1. 查询的 OpenAI 嵌入
  2. Pinecone 向量搜索
  3. Cohere 重排序
  4. Claude 响应生成

环境变量

PINECONE_API_KEY=你的密钥
OPENAI_API_KEY=你的密钥
COHERE_API_KEY=你的密钥
ANTHROPIC_API_KEY=你的密钥

模式

输入

名称类型必填描述
querystring是用于搜索的自然语言问题
communitystring否要索引的社区 slug(默认:makerschool)

输出

名称类型描述
answerstring带源引用的 AI 生成回答

凭据

名称来源
PINECONE_API_KEY.env
OPENAI_API_KEY.env
COHERE_API_KEY.env
ANTHROPIC_API_KEY.env

可组合的技能

能够良好衔接此技能的其他技能:skool-monitor

成本

Pinecone + OpenAI 嵌入 + Cohere 重排序 + Claude

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

aiagentwithdhruv/skills

Add new Modal webhooks for event-driven execution. Use when user asks to create a webhook, add an endpoint, or set up event triggers.

aiagentwithdhruv/skills

Answer Euron Gen AI Bootcamp doubts instantly. Covers Euri API setup across all frameworks (Python, LangChain, OpenAI SDK, TypeScript, n8n, curl), MCP server setup, common errors, model recommendations, and token limits. Use when someone in the bootcamp asks a question.

aiagentwithdhruv/skills

Manage emails across multiple Gmail accounts with unified tooling. Use when user asks to check email, read inbox, label emails, archive messages, or manage Gmail across accounts.

aiagentwithdhruv/skills

Auto-label Gmail emails into Action Required, Waiting On, and Reference categories. Use when user asks to label emails, triage inbox, categorize emails, or organize Gmail.

aiagentwithdhruv/skills

Scrape Google Maps for B2B leads with deep website enrichment and contact extraction. Use when user asks to find local businesses, scrape Google Maps, generate contractor lists, or build local service business databases.

aiagentwithdhruv/skills

Run Claude orchestrator locally with Cloudflare tunneling. Use when user asks to run locally, start local server, or test webhooks locally.

aiagentwithdhruv/skills

MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard

aiagentwithdhruv/skills

Deploy execution scripts to Modal cloud. Use when user asks to deploy to Modal, push code to cloud, or update Modal functions.

aiagentwithdhruv/skills

Scrape and verify business leads using Apify, classify with LLM, enrich emails, and save to Google Sheets. Use when user asks to find leads, scrape businesses, generate prospect lists, or build lead databases for any industry or location.

aiagentwithdhruv/skills

Scrape Upwork jobs and generate personalized proposals with cover letters. Use when user asks to find Upwork jobs, create Upwork proposals, or apply to Upwork listings.

相关技能