Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

grepai-workspaces

БесплатноБез исполняемых скриптовНе проверен

Configure multi-project workspaces in GrepAI. Use this skill for monorepos and multiple related projects.

yoanbernabeuот yoanbernabeu★ 20 звёзд на GitHub

Об этом скилле

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
  • Index them into one shared vector store
  • Search or trace across all projects at once
  • Or search specific projects within the workspace

Prerequisites

Workspaces need a vector store that several projects can share:

  • PostgreSQL with pgvector
  • Qdrant

The GOB backend is not supported: it is a local file per project, so it cannot be shared.

Creating a Workspace

# Interactive prompts (backend, then embedding provider)
grepai workspace create my-workspace

# Qdrant + Ollama, all defaults
grepai workspace create my-workspace --yes

# Qdrant + OpenAI (API key read from OPENAI_API_KEY, official endpoint)
grepai workspace create my-workspace --backend qdrant --provider openai --model text-embedding-3-small

# PostgreSQL + Ollama
grepai workspace create my-workspace --backend postgres --dsn "postgres://grepai:grepai@localhost:5432/grepai"

# From a YAML or JSON file (store + embedder)
grepai workspace create my-workspace --from workspace-config.yaml
Flag Description Default
--backend qdrant or postgres Required, unless --yes (then qdrant)
--provider ollama, openai or lmstudio ollama
--model Embedding model text-embedding-3-small for openai, nomic-embed-text otherwise
--endpoint Embedder endpoint Provider default
--dsn PostgreSQL connection string postgres://localhost:5432/grepai
--qdrant-endpoint Qdrant host http://localhost
--qdrant-port Qdrant gRPC port 6334
--collection Qdrant collection name workspace_<name>
--yes Use defaults for every value not set
--from Read store and embedder from a file (other flags are ignored)
--ui Interactive full-screen wizard

Adding Projects

grepai workspace add my-workspace /path/to/frontend
grepai workspace add my-workspace /path/to/backend
grepai workspace add my-workspace ./shared-lib

Relative paths are converted to absolute paths. The project name is the directory name (frontend, backend) and must be unique in the workspace. A project does not need its own grepai init: without a .grepai/config.yaml, it uses default settings.

Managing Workspaces

grepai workspace list                     # list workspaces
grepai workspace show my-workspace        # projects and settings
grepai workspace status my-workspace      # checks that each project path exists
grepai workspace remove my-workspace frontend   # remove a project, by name (not path)
grepai workspace delete my-workspace      # remove the workspace entry

workspace delete only removes the entry from workspace.yaml: indexed data stays in PostgreSQL or Qdrant, and project files are untouched.

Indexing a Workspace

# Index, then keep watching (foreground)
grepai watch --workspace my-workspace

# Same, in the background
grepai watch --workspace my-workspace --background
grepai watch --workspace my-workspace --status
grepai watch --workspace my-workspace --stop

# Index once and exit (CI, git hooks)
grepai index --workspace my-workspace

Chunks go to the shared store. Each project's symbol index (and RPG graph, if enabled) is written to <project>/.grepai/. grepai index --workspace continues past a failing project and returns an aggregate error. A project folder that is missing is skipped with a warning.

Searching Workspaces

Search All Projects

grepai search --workspace my-workspace "user authentication"

Search Specific Projects

# One project
grepai search --workspace my-workspace --project frontend "form validation"

# Several projects (repeat --project)
grepai search --workspace my-workspace --project frontend --project backend "query"

# Path prefix inside one project
grepai search --workspace my-workspace --project frontend --path components/ "React hooks"

# Path prefix without --project: start with the project name
grepai search --workspace my-workspace --path frontend/src/ "query"

With exactly one --project, a relative --path is relative to that project; otherwise it must start with a project name.

Workspace search uses the default search boost and does not use hybrid search or RPG enrichment.

Workspace Configuration

All workspaces are stored in a single file, ~/.grepai/workspace.yaml (file mode 0600, since it may hold API keys):

version: 1
workspaces:
  my-workspace:
    name: my-workspace
    store:
      backend: qdrant
      qdrant:
        endpoint: localhost
        port: 6334
    embedder:
      provider: ol
Полный SKILL.md на GitHub

Установить grepai-workspaces в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл grepai-workspaces?

Configure multi-project workspaces in GrepAI. Use this skill for monorepos and multiple related projects.

Как установить скилл grepai-workspaces?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл grepai-workspaces запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить grepai-workspaces с