Skip to content
yoanbernabeu avatar

Grepai Embeddings Openai

Configure OpenAI as the GrepAI embedding provider for high-quality cloud embeddings with a privacy tradeoff.

CCM score
62 of 100
skills.sh installs
565
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers model selection between text-embedding-3-small and text-embedding-3-large, including dimension reduction and per-model cost estimates
  • Includes YAML examples for environment-variable keys, parallel requests, and OpenAI-compatible endpoints such as Azure, vLLM, and TEI
  • Enforces that environment keys go only to the official endpoint, with a hard error when a custom endpoint is set without api_key
  • Designed for teams that accept sending code to external servers in exchange for managed, scalable embeddings

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/yoanbernabeu/grepai-skills
Categories
AI Agents & LLM Apps, Memory & Context
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27

Similar to Grepai Embeddings Openai

More AI Agents & LLM Apps