yoanbernabeu avatar

Grepai Embeddings Openai

Configures OpenAI's embedding API as your GrepAI provider when you want high-quality semantic search without running local models. You get text-embedding-3-small (recommended, $0.00002/1K tokens) or text-embedding-3-large for maximum accuracy at higher cost. The tradeoff is straightforward: your code gets sent to OpenAI servers, so this isn't for sensitive codebases. Setup is just adding your API key to the config and setting parallelism based on your rate limit tier. Good for teams that want consistent embeddings without maintaining infrastructure, and the cost is genuinely low for most codebases (around $0.10 to index 1000 files). If privacy matters more than convenience, stick with Ollama instead.

skills.sh installs
560
GitHub stars
20
last updated
Aug 21, 2026

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-embeddings-openai --agent claude-code

Installs into .claude/skills of the current project.

Files

GrepAI Embeddings with OpenAI

This skill covers using OpenAI's embedding API with GrepAI for high-quality, cloud-based embeddings.

When to Use This Skill

  • Need highest quality embeddings
  • Team environment with shared infrastructure
  • Don't want to manage local embedding server
  • Willing to trade privacy for quality/convenience

Considerations

AspectDetails
✅ QualityState-of-the-art embeddings
✅ SpeedFast, no local compute needed
✅ ScalabilityHandles any codebase size
⚠️ PrivacyCode sent to OpenAI servers
⚠️ CostPay per token
⚠️ InternetRequires connection

Prerequisites

  1. OpenAI API key
  2. Billing enabled on OpenAI account

Get your API key at: https://platform.openai.com/api-keys

Configuration

Basic Configuration

# .grepai/config.yaml
embedder:
  provider: openai
  model: text-embedding-3-small

Set the environment variable:

export OPENAI_API_KEY="sk-..."

With no api_key and no endpoint, grepai uses the official endpoint (https://api.openai.com/v1) and reads OPENAI_API_KEY from the environment.

Sponsors

Details

Repository
github.com/yoanbernabeu/grepai-skills
Categories
Code Review & Quality, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27
1oakoss avatarui-ux-polishoakoss/agent-skillsIterative UI/UX polishing workflow for web applications. Use when improving visual polish, refining desktop and mobile UX separately, running iterative enhancem559skills.sh installs
2davila7 avatarnodejs-best-practicesdavila7/claude-code-templatesNode.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.558skills.sh installs
3davila7 avatarplanning-with-filesdavila7/claude-code-templatesImplements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, re558skills.sh installs
4get-convex avatarmike-convex-thumbnailget-convex/agent-skillsGenerate Mike-style YouTube thumbnail concepts and final drafts for Convex videos using Mike's local head-and-shoulders photo cutouts and local Convex logo asse554skills.sh installs
5pbakaus avatarresolve-reviewspbakaus/agent-reviewsResolve all PR review comments (human and bot) on current PR. Fetches unanswered comments, evaluates each one, fixes real issues, dismisses false positives, and552skills.sh installs
6davila7 avatarreact-best-practicesdavila7/claude-code-templatesComprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use when 550skills.sh installs