GrepAI Workspaces
This skill covers using GrepAI workspaces to manage multiple related projects with a unified search index.
When to Use This Skill
- Working with monorepos
- Searching across multiple related projects
- Managing microservices architecture
- Organizing large codebases
What are Workspaces?
Workspaces allow you to:
- Group multiple projects together
- Search across all projects at once
- Or search specific projects within the workspace
- Share configuration across projects
Creating a Workspace
Output:
Adding Projects
Output:
Listing Workspaces
Output:
Viewing Workspace Details
Output:
Indexing a Workspace
Output:
Background Indexing
Searching Workspaces
Search All Projects
Results include project context:
Search Specific Project
Only searches the frontend project.
Workspace Status
Output:
Removing Projects from Workspace
Deleting a Workspace
This removes the workspace configuration but NOT the project files.
Workspace Configuration
Workspaces store config in ~/.grepai/workspaces/<name>/:
workspace.yaml
MCP with Workspaces
Use workspaces with MCP servers:
Use Cases
Monorepo
Microservices
Frontend + Backend
Cross-Project Search Examples
Find All API Endpoints
Find Shared Type Usage
Find Cross-Project Dependencies
Best Practices
- Name descriptively:
ecommerce-stacknotws1 - Group related projects: Only projects that you'd search together
- One daemon per workspace: Run
grepai watch --workspace - Use project filter: When you know which project to search
- Update after major changes: Re-index after adding/removing files
Common Issues
❌ Problem: Workspace not found
✅ Solution: Check workspace exists: grepai workspace list
❌ Problem: Project paths changed ✅ Solution: Remove old path, add new path:
❌ Problem: Search returns mixed results
✅ Solution: Use --project flag to filter:
Output Format
Workspace overview:


