com um clique
sqlite-vectordb
// SQLite vector DB for work log storage and semantic search. Use for indexing work logs, generating embeddings, semantic search, and DB maintenance.
// SQLite vector DB for work log storage and semantic search. Use for indexing work logs, generating embeddings, semantic search, and DB maintenance.
[HINT] Baixe o diretório completo da skill incluindo SKILL.md e todos os arquivos relacionados
| name | sqlite-vectordb |
| description | SQLite vector DB for work log storage and semantic search. Use for indexing work logs, generating embeddings, semantic search, and DB maintenance. |
Store work logs in a searchable vector database and provide semantic search infrastructure.
When to use:
/log-work execution (integrated with work-logger)Note: DB initializes automatically. No need to run init_db.py manually.
Index a markdown log into the vector DB.
uv run .claude/skills/sqlite-vectordb/scripts/add_entry.py \
--file "private-docs/work-logs/YYYY-MM-DD-slug.md" \
--summary "One-line summary" \
--tags "tag1,tag2"
--file, -f (required): Work log file path--summary, -s (required): One-line summary for search indexing--tags, -t (required): Comma-separated tagsSemantic similarity search in work logs.
uv run .claude/skills/sqlite-vectordb/scripts/search.py \
--query "search terms" \
--limit 5
--query, -q (required): Search query--limit, -l: Max results (default: 5)--tag, -t: Filter by tag--type, -T: Filter by log type--json, -j: JSON outputRemove a work log entry from the database.
uv run .claude/skills/sqlite-vectordb/scripts/delete_entry.py \
--file "private-docs/work-logs/YYYY-MM-DD-slug.md"
Manual schema creation. Usually not needed - other scripts auto-initialize.
uv run .claude/skills/sqlite-vectordb/scripts/init_db.py
<technical_specs>
private-docs/work-logs/.vector-db/work-logs.dbsqlite-vec extensionall-MiniLM-L6-v2 (384-dim)uv run with PEP 723 inline deps</technical_specs>
Language requirement: All data stored in the vector DB MUST be written in English.
auth, refactor, not 인증, 리팩토링)all-MiniLM-L6-v2) performs best with English textExit codes:
Common fixes:
private-docs/work-logs/.vector-db/work-logs.db and re-run (auto-recreates)uv syncValid usage:
# Add entry (auto-initializes DB if missing)
uv run .claude/skills/sqlite-vectordb/scripts/add_entry.py \
--file "private-docs/work-logs/2026-01-16-auth-feature.md" \
--summary "Implement OAuth2 authentication" \
--tags "auth,oauth,security"
# Search with filters
uv run .claude/skills/sqlite-vectordb/scripts/search.py \
--query "authentication login" --limit 3 --tag auth
Invalid usage:
# WRONG: Non-existent file → Exit code 1
uv run .../add_entry.py --file "missing.md" ...
# WRONG: Empty summary → Poor search quality
uv run .../add_entry.py --file "..." --summary "" --tags "..."