
Grepai Watch Daemon
This handles the background daemon that keeps your code index fresh as you work. You run `grepai watch` once and it scans your entire codebase, chunks it into ~512 token segments, generates embeddings, then monitors for file changes in real time. The setup is straightforward with `--background` for daemon mode and `--status` to check on it. What I appreciate here is the OS-native file watching (FSEvents on macOS, inotify on Linux) and the debounce configuration that prevents your editor's multiple rapid writes from triggering constant reindexing. If you're using GrepAI for semantic code search, you'll want this running so your index doesn't go stale every time you save a file.
- skills.sh installs
- 723
- GitHub stars
- 20
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-watch-daemon --agent claude-codeInstalls into .claude/skills of the current project.
Files
GrepAI Watch Daemon
This skill covers the grepai watch command and daemon management for real-time code indexing.
When to Use This Skill
- Starting initial code indexing
- Setting up real-time file monitoring
- Running the daemon in background
- Troubleshooting indexing issues
What the Watch Daemon Does
The watch daemon:
- Scans all source files in your project
- Chunks code into segments (~512 tokens)
- Generates embeddings via your configured provider
- Stores vectors in your configured backend
- Monitors for file changes in real-time
- Updates the index when files change
Basic Usage
Start Watching (Foreground)
cd /your/project
grepai watch
Output:
π GrepAI Watch
Scanning files...
Found 245 files
Processing chunks...
ββββββββββββββββββββββββββββββββ 100%
Indexed 1,234 chunks
Watching for changes...
Press Ctrl+C to stop.
Start in Background
grepai watch --background
Output:
π GrepAI Watch (background)
Daemon started with PID 12345
Log file: ~/.grepai/daemon.log
Check Daemon Status
grepai watch --status
Sponsors
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- Category
- DevOps & CI/CD
- First seen
- Jun 3, 2026
More from yoanbernabeu/grepai-skills
All 27- Grepai Config Reference717
- Grepai Troubleshooting717
- Grepai Workspaces711
- Grepai Ignore Patterns703
- Grepai Storage Gob692
- Grepai Mcp Claude618
- Grepai Mcp Cursor601
- Grepai Quickstart600
- Grepai Installation598
- Grepai Storage Qdrant570
- Grepai Embeddings Lmstudio568
- Grepai Embeddings Openai560
- Grepai Storage Postgres560
- Grepai Search Basics936
- Grepai Search Advanced855
- Grepai Trace Graph831
- Grepai Trace Callers812
- Grepai Ollama Setup808
- Grepai Search Tips807
- Grepai Trace Callees790
- Grepai Search Boosting778
- Grepai Embeddings Ollama770
- Grepai Mcp Tools744
- Grepai Languages732