claude-code-plugin.md
docs/integrations/claude-code-plugin.md
Claude Code plugin
<!-- translations:start -->
한국어 · 中文 · 日本語 · Русский · Español · Français · Deutsch
<!-- translations:end -->
Tesserae ships a Claude Code plugin so you can drive the full Tesserae workflow from inside a TUI session — slash commands, an auto-registered MCP server, a skill that orients the agent, and four hooks that close the agent↔project-memory loop. The plugin lives in-repo at plugin/.
Install
# In a Claude Code session, from a local checkout
/plugin install /path/to/Tesserae/plugin/
Pre-req: tesserae already installed (pip install tesserae or pipx install tesserae). If installing via pipx, make sure ~/.local/bin is on the PATH Claude Code inherits at launch.
What's shipped
- 9 slash commands — seven 1:1 wrappers around the CLI (
/tesserae:compile,/tesserae:ask,/tesserae:sessions-import,/tesserae:build-site,/tesserae:serve,/tesserae:obsidian-sync,/tesserae:setup) plus two workflow macros (/tesserae:refreshchains import + compile + obsidian-sync;/tesserae:statusshows graph counts and last compile). - Auto-MCP-registration for the
tesserae_mcpserver — agent getsask,search_nodes,list_sessions,find_session_findings, etc. asmcp__plugin_tesserae_tesserae__<tool>without manual config edits. using-tesseraeskill — auto-loads when you ask about the typed graph, past-session recall, wiki/vault content, or any tesserae workflow. Teaches the agent which MCP tool to use vs which slash command to suggest.- 4 hooks —
SessionStartprints a graph summary;SessionEndbackgrounds an import+compile so this conversation's insights become graph nodes for the next session;PostToolUse(opt-in) does an incremental recompile on docs/ edits;PreToolUsegates large-graph compiles via a confirmation dialog.
Full details, the complete command/hook tables, and per-project opt-out instructions are in the plugin's own