- Home
- Skills
- Yoanbernabeu
- Grepai Skills
- Grepai Quickstart
grepai-quickstart_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-quickstart- SKILL.md5.3 KB
Overview
This skill guides you through getting GrepAI running and searching a codebase in about five minutes. It covers installation, initializing a project, indexing code with local embeddings, performing semantic searches, and optional call-graph tracing so you can find and understand code quickly.
How this skill works
The walkthrough shows how to install GrepAI and an embedding provider (Ollama), initialize a project, and start the watch daemon that scans files, chunks code, generates embeddings, and stores vectors locally. Once indexed, you run semantic searches and tracing commands to locate relevant code, inspect snippets, and analyze caller/callee relationships.
When to use it
- First time setting up GrepAI for a project
- Quick refresher on GrepAI basic workflow
- Setting up GrepAI on a new machine or repo
- Demonstrating GrepAI features to teammates
- Indexing code for fast semantic search and call tracing
Best practices
- Run grepai init inside the project root to create a proper .grepai config
- Use Ollama locally for embedding generation to avoid network latency
- Run grepai watch --background for continuous indexing on long-lived projects
- Craft descriptive, intent-focused English queries for best search results
- Respect .gitignore so sensitive or irrelevant files are not indexed
Example use cases
- Find the authentication flow across handlers and middleware with grepai search "authentication flow"
- Locate where a specific error is logged using descriptive queries like "where errors are logged to the console"
- Trace who calls a function before refactoring with grepai trace callers "FunctionName"
- Run a JSON search output for scripting or integration: grepai search "database queries" --json
- Keep live indexes up to date by running grepai watch --background on CI or dev machines
FAQ
You need terminal access and a code project to index. Installing Ollama for local embeddings is recommended but optional if you use another provider.
How do I check indexing status or stop the daemon?
Use grepai watch --status to check and grepai watch --stop to stop the background daemon.