# Vector Store

> Transient vector store service for fast similarity search (FAISS)

- Skill: `majiayu000/vector-store-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/vector-store-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/vector-store-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/vector-store-2

---


# Vector Store Skill

Transient vector store service for fast similarity search using FAISS (IndexFlatIP).
Designed to be used by other skills (memory, edge-verifier) to accelerate KNN search.

## Configuration

- `VECTOR_STORE_PORT`: Port to listen on (default: 8600)

## API

### POST /index

Add vectors to the index.

```json
{
  "ids": ["id1", "id2"],
  "vectors": [[0.1, 0.2, ...], [0.3, 0.4, ...]],
  "reset": false
}
```

### POST /search

Search for nearest neighbors.

```json
{
  "query": [0.1, 0.2, ...],
  "k": 10
}
```

Returns:

```json
{
  "ids": ["id2", "id1"],
  "scores": [0.95, 0.88]
}
```

### DELETE /reset

Clear the index.

### GET /info

Get index stats.

