# Vector Notes Indexer

> Description

- Skill: `xspoonai/vector-notes-indexer` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add xspoonai/vector-notes-indexer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xspoonai/vector-notes-indexer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: XSpoonAi (https://skillmd.com/u/xspoonai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/xspoonai/vector-notes-indexer

---


## Description

Create a simple local embedding index for notes using vector embeddings. Enables semantic search and similarity matching for note collections.

## Inputs

```json
{
  "notes": ["Note texts to index"],
  "model": "embedding model name",
  "index_path": "Path to save index"
}
```

## Outputs

```json
{
  "ok": true,
  "data": {
    "indexed": 10,
    "index_size": "5.2MB"
  }
}
```

## Usage

### Demo Mode
```bash
python scripts/main.py --demo
```

### Create Index
```bash
echo '{"notes":["Note 1","Note 2"],"model":"sentence-transformers"}' | python3 scripts/main.py
```

## Examples

### Example 1: Index Notes
```bash
$ echo '{"notes":["Meeting notes about Q1 planning","Project status update"],"model":"sentence-transformers","index_path":"./notes_index"}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "indexed": 2,
    "index_size": "1.2MB"
  }
}
```

## Error Handling

When an error occurs, the skill returns:

```json
{
  "ok": false,
  "error": "Error description",
  "details": {
    "notes": "Notes list is required"
  }
}
```

