Agent skill
langchain-retrieval
Document Q&A with RAG using Supabase pgvector store.
Install this agent skill to your Project
npx add-skill https://github.com/rebyteai-template/rebyte-skills/tree/main/langchain-retrieval
SKILL.md
LangChain Retrieval
Document Q&A with RAG (Retrieval Augmented Generation) using Supabase vector store.
Tech Stack
- Framework: Next.js
- AI: LangChain.js, AI SDK
- Vector Store: Supabase pgvector
- Package Manager: pnpm
Prerequisites
- Supabase project with pgvector extension
- OpenAI API key
Setup
1. Clone the Template
git clone --depth 1 https://github.com/Eng0AI/langchain-retrieval.git .
If the directory is not empty:
git clone --depth 1 https://github.com/Eng0AI/langchain-retrieval.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
2. Remove Git History (Optional)
rm -rf .git
git init
3. Install Dependencies
pnpm install
4. Setup Environment Variables
Create .env with required variables:
SUPABASE_URL- Supabase project URLSUPABASE_PRIVATE_KEY- Supabase service role keyOPENAI_API_KEY- For embeddings and LLMSUPABASE_DB_URL- Direct PostgreSQL connection URL
5. Setup Vector Store
Initialize pgvector extension and create documents table in Supabase.
Build
pnpm build
Development
pnpm dev
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
natural-language-postgres-presentation
Presentation-focused Natural Language to SQL app with PPT-style visualizations.
formsmd-builder
Build stylish, Typeform-like multi-step forms and surveys using Forms.md library. Use when user asks to: create a form, build a survey, make a questionnaire, create an onboarding flow, build a feedback form, or any multi-step data collection UI. Outputs standalone HTML files with embedded CSS/JS that can be deployed anywhere.
financial-deep-research
Conduct enterprise-grade financial research with multi-source synthesis, regulatory compliance tracking, and verified market analysis. Use when user needs comprehensive financial analysis requiring 10+ sources, verified claims, market comparisons, or investment research. Triggers include "financial research", "market analysis", "investment analysis", "due diligence", "financial deep dive", "compare stocks/funds", or "analyze [company/sector]". Do NOT use for simple stock quotes, basic company lookups, or questions answerable with 1-2 searches.
stripe-subscription
Stripe Checkout for recurring subscriptions with Customer Portal. Auto-creates plans if not configured.
gatsby-ecommerce-netlify
Gatsby e-commerce starter with styled components for Netlify.
market-data
Access US stock market data including price bars, news with sentiment, and company details via eng0 data API. Use when user asks for stock prices, OHLCV data, price history, stock news, or company information. Triggers include "stock price", "price history", "OHLCV", "stock news", "company info", "market data", "ticker data". Do NOT use for SEC filings (use sec-edgar-skill instead).
Didn't find tool you were looking for?