Local development marketplace for claude-reflections
npx claudepluginhub andrewleech/claude-reflectionsMinimal conversation memory with vector search
Minimal conversation memory with vector search.
claude-reflections is a Claude Code plugin that indexes your past conversations and makes them searchable. The reflections skill is automatically triggered when you ask about past conversations, searches for relevant context, and reads the original JSONL files to provide detailed answers.
flowchart LR
A["Claude Code<br/>(user asks question)"] --> B["Skill<br/>(reflections)"]
B --> C["CLI Commands<br/>(index + search)"]
C --> D["sqlite-vec<br/>(vectors.db per project)"]
Skill workflow:
$PWDuv run claude-reflections search "X"cd /path/to/claude-reflections
./install.sh
This will:
~/.claude/plugins/local-marketplace~/.claude/settings.json with plugin configurationVector databases are created automatically per-project on first use.
After installation:
reflectionsclaude-reflectionsIf you prefer manual setup:
Install Python dependencies:
cd /path/to/claude-reflections
uv sync
Create local marketplace:
mkdir -p ~/.claude/plugins/local-marketplace/.claude-plugin
mkdir -p ~/.claude/plugins/local-marketplace/plugins
# Symlink plugin
ln -s /path/to/claude-reflections \
~/.claude/plugins/local-marketplace/plugins/claude-reflections
Create marketplace manifest:
cat > ~/.claude/plugins/local-marketplace/.claude-plugin/marketplace.json << 'EOF'
{
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
"name": "local",
"description": "Local development plugins",
"owner": {"name": "your-name"},
"plugins": [{
"name": "claude-reflections",
"description": "Minimal conversation memory with vector search",
"version": "0.2.0",
"source": "./plugins/claude-reflections",
"category": "productivity"
}]
}
EOF
Update Claude Code settings (~/.claude/settings.json):
{
"enabledPlugins": {
"claude-reflections@local": true
},
"extraKnownMarketplaces": {
"local": {
"source": {
"source": "directory",
"path": "/home/YOUR_USER/.claude/plugins/local-marketplace"
}
}
}
}
Restart Claude Code for changes to take effect
For development without the marketplace:
# Clone and setup
cd ~/claude-reflections
uv sync --all-extras
# Install pre-commit hooks
uv run pre-commit install
Once installed, the reflections skill is automatically available in Claude Code. The skill is triggered when you ask questions about past conversations:
Example questions:
The skill automatically:
Search automatically indexes before searching (incremental), ensuring results are always up-to-date.
See .claude/skills/reflections/SKILL.md for complete usage details.
# List available projects
claude-reflections list
# Index a project (incremental)
claude-reflections index --project my-project
# Full reindex
claude-reflections index --project my-project --full
# Search
claude-reflections search "API design" --project my-project