grepai-embeddings-ollama

Configure GrepAI to use Ollama for local embedding generation.

18|2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-embeddings-ollama
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: grepai-embeddings-ollama
Source: https://github.com/yoanbernabeu/grepai-skills/tree/main/skills/embeddings/grepai-embeddings-ollama
Command: npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-embeddings-ollama

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill configures Ollama as a private, local embedding provider for GrepAI, enabling on-device vector generation and offline indexing without exposing data to external services.

Core Features & Use Cases

  • Local embeddings: Generate and index code embeddings entirely on your machine.
  • Private by design: Keeps sensitive codebase data within your environment.
  • Flexible deployment: Works with local Ollama instances and custom endpoints for remote servers.

Quick Start

Configure your environment to run Ollama, select a compatible embedding model, and point GrepAI to the local endpoint. Then start Ollama and run a watch to index your codebase.

Frequently Asked Questions about grepai-embeddings-ollama

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate local embeddings for code search without sending data to external services?▼

You can generate local embeddings by configuring Ollama as the embedding provider for GrepAI. This setup enables on-device vector generation and offline indexing, keeping sensitive codebase data entirely private within your environment.

Can I use a remote Ollama endpoint for offline indexing?▼

Yes, offline indexing supports both local Ollama instances and custom remote endpoints. You can point GrepAI to your desired server by specifying the endpoint URL in the .grepai/config.yaml configuration file.

How do I configure GrepAI to use Ollama for semantic code search?▼

To configure GrepAI, set the embedder provider, model, and endpoint in your .grepai/config.yaml file. After updating the configuration, verify that the Ollama server is running before starting the indexing watch process.

What are the prerequisites for running on-device embeddings with Ollama?▼

The primary prerequisite is a running Ollama server and a compatible embedding model. You must also ensure your .grepai/config.yaml file correctly specifies the provider, model, and endpoint to generate vector embeddings locally.

Does offline indexing with Ollama work for large codebases?▼

Yes, on-device semantic search with Ollama is designed for large codebases. By running a watch to index your codebase locally, it handles extensive vector generation while maintaining strict data privacy.

Why is my local embedding configuration not working in GrepAI?▼

Local embedding configuration usually fails if the Ollama server is not running or if the .grepai/config.yaml file lacks the correct provider, model, and endpoint settings. Verify these configuration requirements to resolve the issue.