/knowledge:vectorize [stats|<path>]from knowledge
Build and maintain vector embeddings for semantic search over the knowledge vault. Supports full rebuild, incremental updates, and stats.
Ships in knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scripts path: The Python scripts live in the knowledge-tools plugin. Resolve the path with:
KNOWLEDGE_SCRIPTS=$(ls -d ~/.claude/plugins/cache/*/knowledge/*/node_modules/@agiterra/knowledge-tools/scripts 2>/dev/null | sort -V | tail -1)
Build vector embeddings for all indexed memory files, enabling semantic
similarity search via /knowledge:enrich.
First, verify that sentence-transformers is installed:
Bash(command="KNOWLEDGE_SCRIPTS=$(ls -d ~/.claude/plugins/cache/*/knowledge/*/node_modules/@agiterra/knowledge-tools/scripts 2>/dev/null | sort -V | tail -1) && python3 $KNOWLEDGE_SCRIPTS/vectorize.py --check-deps")
If not installed, tell the user to run: pip install sentence-transformers
Rebuild all embeddings from scratch. Run this after initial index build.
Bash(command="KNOWLEDGE_SCRIPTS=$(ls -d ~/.claude/plugins/cache/*/knowledge/*/node_modules/@agiterra/knowledge-tools/scripts 2>/dev/null | sort -V | tail -1) && python3 $KNOWLEDGE_SCRIPTS/vectorize.py")
After editing a memory file, update just that file's embedding:
Bash(command="KNOWLEDGE_SCRIPTS=$(ls -d ~/.claude/plugins/cache/*/knowledge/*/node_modules/@agiterra/knowledge-tools/scripts 2>/dev/null | sort -V | tail -1) && python3 $KNOWLEDGE_SCRIPTS/vectorize.py update <path>")
After adding a journal entry, update its embedding:
Bash(command="KNOWLEDGE_SCRIPTS=$(ls -d ~/.claude/plugins/cache/*/knowledge/*/node_modules/@agiterra/knowledge-tools/scripts 2>/dev/null | sort -V | tail -1) && python3 $KNOWLEDGE_SCRIPTS/vectorize.py update --journal <id>")
Check embedding coverage and staleness:
Bash(command="KNOWLEDGE_SCRIPTS=$(ls -d ~/.claude/plugins/cache/*/knowledge/*/node_modules/@agiterra/knowledge-tools/scripts 2>/dev/null | sort -V | tail -1) && python3 $KNOWLEDGE_SCRIPTS/vectorize.py --stats")
If $ARGUMENTS is provided:
stats, run --statsupdate <path>$ARGUMENTS is passed as described above.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (agiterra/knowledge-claude-code) — no native marketplace selected
npx claudepluginhub p/agiterra-knowledge17 skills in this plugin
/associateAssociate — Fast Keyword AssociationsLightweight keyword-only association search — fast (<100ms), no vector embeddings, no LLM. Returns quick context associations from the knowledge vault./bootKnowledge BootFull boot sequence — restores session state and memory continuity after context compaction./calibrateCalibrate — Compression Test BatteryMeasure decompression fidelity after compaction. Creates or runs a compression test battery tailored to the knowledge vault./checkpointKnowledge CheckpointMechanical vault persistence — journal.db → journal.sql, git add, commit, push. No editorial work. Safe to call from hooks, save-family skills, and periodic triggers./enrichEnrich — Deep Hybrid SearchDeep hybrid search — combines keyword matching, vector similarity, and optional LLM-based relevance filtering for high-recall knowledge vault retrieval./fast-saveKnowledge Fast SaveQuick session checkpoint — persists learnings and updates session state. Skips journal, indexing, and vectorization. Use before recycle or as a periodic snapshot.