Communitygithub.com

aiagentwithdhruv/skills

使用 RAG 管線搭配向量搜尋查詢 Skool 社群內容。當使用者要求搜尋 Skool 知識、尋找社群答案或查詢 Skool 內容時使用。

skills 是什麼?

這是一個基於 RAG(檢索增強生成)管線的技能,專為查詢 Skool 社群內容而設計。它透過向量搜尋和重新排序來提供高品質的答案,適合開發者或 AI 代理整合。技能支援多個平台,並依賴環境變數設定 API 金鑰。主要腳本包括準備內容 (`skool_rag_prepare.py`)、在 Pinecone 中建立索引 (`skool_rag_index.py`) 以及查詢知識庫 (`skool_rag_query.py`)。管線運作流程為:使用 OpenAI 嵌入查詢、透過 Pinecone 進行向量搜尋、以 Cohere 重新排序,最後由 Claude 生成回答。此技能可與 `skool-monitor` 等其他技能組合使用,輸入為自然語言查詢和社群代號(預設為 makerschool),輸出為附來源的 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=your_key
OPENAI_API_KEY=your_key
COHERE_API_KEY=your_key
ANTHROPIC_API_KEY=your_key

結構

輸入

名稱類型必要描述
querystring是用於搜尋的自然語言問題
communitystring否要建立索引的社群代號(預設: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.

相關技能