Skip to main content
skill CX Codex

vector-search-workflows — Claude Code skill: setup

This skill lays out a workflow for semantic code search with MCP Vector Search. Use it to index a repository, query it, and refresh stale data.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add bobmatnyc/claude-mpm-skills --skill vector-search-workflows -a claude-code
Open on GitHub

What vector-search-workflows does

The skill documents a complete mcp-vector-search flow: install the package with pip, run setup, build a codebase index, and issue semantic queries. The setup command detects project languages, creates configuration, indexes the repository, and prepares MCP connectivity for tools such as Claude Code and Cursor.

It covers regular and forced indexing, full or path-based reindexing, status checks, and diagnostics. Auto-indexing can be configured, inspected, or removed, while MCP_ENABLE_FILE_WATCHING=true keeps file changes visible to the integration. The workflow depends on mcp-vector-search being installed first.

What it helps with

  • index a repository for semantic code search
  • locate code by describing its behavior
  • rebuild the index after parser or dependency changes
  • configure automatic reindex checks
  • connect vector search through MCP

Example prompts for the agent

  • Set up mcp-vector-search for this repository and configure its MCP integration.
  • Search the codebase for the logic that handles authentication errors.
  • Check the index, then force a reindex after the parser changed.

How to install vector-search-workflows

1Skills CLI (Vercel)

npx skills add bobmatnyc/claude-mpm-skills --skill vector-search-workflows -a claude-code

2Manually: put the files in place

~/.claude/skills/vector-search-workflows/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/vector-search-workflows/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about vector-search-workflows

How do I install vector-search-workflows in Claude Code?

Run npx skills add bobmatnyc/claude-mpm-skills --skill vector-search-workflows -a claude-code, then check ~/.claude/skills/vector-search-workflows/SKILL.md.

What does vector-search-workflows do?

It documents setup, indexing, semantic queries, automatic index maintenance, and MCP integration for mcp-vector-search.

How does the MCP setup work?

The workflow uses native claude mcp add when that command is available. Otherwise, it falls back to configuring .mcp.json.

Source text

SKILL.md · MIT
---
name: vector-search-workflows
description: Vector search indexing and querying workflows using MCP Vector Search, including setup, reindexing, auto-index strategies, and MCP integration.
user-invocable: false
disable-model-invocation: true
version: 1.0.0
category: toolchain
author: Claude MPM Team
license: MIT
progressive_disclosure:
  entry_point:
    summary: "Index a codebase with mcp-vector-search, keep it fresh with auto-indexing, and query via CLI or MCP integration."
    when_to_use: "Building semantic search for codebases, setting up MCP search tools, or troubleshooting indexing and reindexing workflows."
    quick_start: "1. mcp-vector-search setup 2. mcp-vector-search search \"query\" 3. mcp-vector-search index --force when schema changes"
tags:
  - vector-search
  - embeddings
  - indexing
  - search
  - mcp
---

# Vector Search Workflows (MCP Vector Search)

## Overview

Use `mcp-vector-search` to index codebases into ChromaDB and search via semantic embeddings. The recommended flow is `setup` (init + index + MCP integration), then `search`, and use `index` or `auto-index` to keep data fresh.

## Quick Start

```bash
pip install mcp-vector-search
mcp-vector-search setup
mcp-vector-search search "authentication logic"
```

`setup` detects languages, initializes config, indexes the repo, and configures MCP integrations (Claude Code, Cursor, etc.).

## Core Commands

### Indexing

```bash
mcp-vector-search index
mcp-vector-search index --force
mcp-vector-search index reindex --all --force
mcp-vector-search index reindex path/to/file.py
```

### Auto-Index Strategies

```bash
mcp-vector-search auto-index setup --method all
mcp-vector-search auto-index status
mcp-vector-search auto-index check --auto-reindex --max-files 10
mcp-vector-search auto-index teardown --method all
```

### Search

```bash
mcp-vector-search search "error handling patterns"
mcp-vector-search search "vector store initialization"
```

### Status + Doctor

```bash
mcp-vector-search status
mcp-vector-search doctor
```

## MCP Integration Pattern

`setup` uses native `claude mcp add` when available, otherwise falls back to `.mcp.json`.

Typical `.mcp.json` entry:

```json
{
  "mcpServers": {
    "mcp-vector-search": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "mcp-vector-search", "mcp"],
      "env": {
        "MCP_ENABLE_FILE_WATCHING": "true"
      }
    }
  }
}
```

## Reindex Triggers

- Dependency updates or parser changes
- Large refactors
- Adding new languages or file extensions
- Tool upgrades (version tracking triggers reindex)

## Local Patterns

- Use `uv` for dev installs: `uv sync --dev`
- Use `setup --force` to rebuild config + index after tool upgrades
- Keep file watching on via `MCP_ENABLE_FILE_WATCHING=true`

## Related Skills

- `toolchains/ai/protocols/model-context`
- `universal/main/model-context-builder`

© Claude MPM Team · MIT · bobmatnyc/claude-mpm-skills

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set97

vercel-security-access A reference skill for Vercel security: roles, SSO, deployment protection, firewall, BotID and audit logs. Useful when you lock down projects and previews. CX Codex +1 328installs terraform This skill structures Terraform work around state, plans, modules, and CI checks. Use it when infrastructure changes need reviewable steps. CX Codex +1 322installs emergency-release-workflow This skill guides critical fixes and security patches through an expedited release flow. Use it when a production issue needs an urgent deployment. CX Codex +1 318installs digitalocean-teams A reference skill for DigitalOcean Teams and Organizations: roles, access, membership and consolidated billing. Useful when you set up a team or untangle permissions. CX Codex +1 318installs vercel-storage-data Tells the agent which Vercel service fits your data: Postgres, Redis, Blob, Edge Config or the data cache. CX Codex +1 315installs dispatching-parallel-agents Hands each independent failure to its own agent and runs them at the same time. Useful when tests break in different files for different reasons. CX Codex +1 314installs spring-boot A skill that gives your agent a Spring Boot 3.x reference: auto-configuration, dependency injection, REST controllers, Actuator. Useful when you write Java services. CX Codex +1 309installs requesting-code-review This skill makes the agent dispatch a code-reviewer subagent and check the work against the plan or requirements before moving on. CX Codex +1 306installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor