- Home
- Skills
- Yoanbernabeu
- Grepai Skills
- Grepai Ollama Setup
grepai-ollama-setup_skill
1
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill yoanbernabeu/grepai-skills --skill grepai-ollama-setup- SKILL.md5.0 KB
Overview
This skill installs and configures Ollama as the local embedding provider for GrepAI so you can generate private embeddings on your machine. It guides you through installation on macOS, Linux, and Windows, model downloads, verification steps, and GrepAI configuration. The goal is a fast, private setup where code never leaves your device.
How this skill works
The skill walks you through installing the Ollama service, pulling an embedding model (recommended: nomic-embed-text), verifying the local API is responding, and updating GrepAI’s config to point at the local endpoint. It includes commands to test embedding generation and common troubleshooting steps for connection, model availability, and resource limits.
When to use it
- Setting up GrepAI for private, local embeddings
- Installing Ollama for the first time on macOS, Linux, or Windows
- Choosing and downloading an embedding model for code search
- Troubleshooting Ollama connectivity or model issues
- Optimizing local embedding performance and memory usage
Best practices
- Start Ollama before launching GrepAI (run ollama serve or enable the service)
- Use nomic-embed-text for a balance of size and performance unless you need multilingual or higher-accuracy models
- Run Ollama in the background as a service for continuous availability
- Monitor memory usage and pick a smaller model if you hit RAM limits
- Keep models updated with ollama pull to benefit from fixes and improvements
Example use cases
- Private code search in a local repo where code must never leave the machine
- Setting up an offline development environment that generates embeddings without network access
- Switching to a multilingual embedding model for repositories with mixed-language comments
- Testing embedding generation locally during CI or pre-commit checks
- Troubleshooting slow or failing GrepAI searches by validating the Ollama endpoint and model
FAQ
Curl the API tags endpoint (curl http://localhost:11434/api/tags) or run ollama list to see downloaded models.
Which model should I pull first?
Start with nomic-embed-text (768 dims) for general code search; pull larger or multilingual models only if you need higher accuracy or language coverage.