yoanbernabeu avatar

Grepai Embeddings Ollama

This walks you through setting up Ollama as your embedding provider for GrepAI, which means your code never leaves your machine for semantic search. The guide covers four models with real tradeoffs: nomic-embed-text is the sweet spot at 274MB and fast, while mxbai-embed-large gives you maximum accuracy at 670MB. You get actual configuration snippets, performance tuning advice like keeping models loaded to avoid the 5-minute timeout, and troubleshooting for connection issues. Honestly the most useful part is the model comparison table, it tells you exactly what RAM you need and whether to prioritize speed or quality. Good for teams that can't send code to external APIs or don't want to pay embedding costs.

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

Install

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

Installs into .claude/skills of the current project.

Files

GrepAI Embeddings with Ollama

This skill covers using Ollama as the embedding provider for GrepAI, enabling 100% private, local code search.

When to Use This Skill

  • Setting up private, local embeddings
  • Choosing the right Ollama model
  • Optimizing Ollama performance
  • Troubleshooting Ollama connection issues

Why Ollama?

AdvantageDescription
🔒 PrivacyCode never leaves your machine
💰 FreeNo API costs or usage limits
⚡ SpeedNo network latency
🔌 OfflineWorks without internet
🔧 ControlChoose your model

Prerequisites

  1. Ollama installed and running
  2. An embedding model downloaded
# Install Ollama
brew install ollama  # macOS
# or
curl -fsSL https://ollama.com/install.sh | sh  # Linux

# Start Ollama
ollama serve

# Download model
ollama pull nomic-embed-text

Configuration

Basic Configuration

# .grepai/config.yaml
embedder:
  provider: ollama
  model: nomic-embed-text
  endpoint: http://localhost:11434

With Custom Endpoint

Sponsors

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27
1lingfengqaq avatarwebnovel-reviewlingfengqaq/webnovel-writer使用审查 Agent 评估章节质量,生成报告并写回审查指标。766skills.sh installs
2ruvnet avatardiscover-pluginsruvnet/rufloDiscover and recommend ruflo plugins based on your workflow, installed MCP tools, and current task758skills.sh installs
3cap-go avatarcapacitor-plugin-spm-supportcap-go/capgo-skillsGuides the agent through adding Swift Package Manager support to an existing Capacitor plugin. Covers Package.swift, CAPBridgedPlugin conversion, bridge cleanup756skills.sh installs
4rand avataranti-sloprand/cc-polymathComprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design. Use when revie753skills.sh installs
5mvanhorn avatarpp-contact-goatmvanhorn/printing-press-librarySuper LinkedIn for the terminal. Search, enrich, and map warm-intro paths across LinkedIn (stickerdaniel/linkedin-mcp-server subprocess), Happenstance (cookie-f752skills.sh installs
6zhinkgit avatarcanzhinkgit/embeddedskills嵌入式 CAN / CAN-FD 调试工具,用于扫描接口、监控报文、发送测试帧、记录日志、数据库文件解码和总线统计。 当用户提到 CAN、CAN-FD、DBC 解码、总线抓包、USB-CAN 联调、报文发送、总线统计、 PCAN、Vector、slcan、CAN 接口扫描、CAN ID 过滤、ASC 日志、BLF 文件751skills.sh installs