kg-corelisted
Install: claude install-skill mironmax/claudecode-plugins
# Knowledge Graph Core Reference
## Session Protocol (Detailed)
Every session, immediately — before any task work:
```
kg_read(cwd="<project root>") # Returns full graph + session_id
```
The returned session_id is used for all subsequent tool calls.
Passing session_id to kg_search ensures the project graph is included — worth doing by default.
If resuming a session (context suggests prior conversation), try `kg_sync(session_id)` first.
If that fails (unknown session), run the full startup sequence.
### Post-Load Checklist
1. Scan user nodes for interaction style, preferences, guidelines
2. Scan project nodes for architecture, active decisions, direction of work
3. Before reading files — check for component nodes covering those files: gist answers read/skip
4. Scan archived IDs — read any that might relate to current task: kg_read(cwd, id="node-id")
5. Note health stats — high orphan rate may mean connection opportunities exist
## Coexistence with Other Memory Systems
The host environment may provide its own persistence (file-based auto-memory, CLAUDE.md, scratchpads,
or systems not yet invented). These are **supplementary formats**, not competing authorities.
Rules of coexistence:
- Other systems' exclusion lists ("don't save X") apply to **their** storage only
- Recording something in the graph is a **graph operation** (node/edge/touch), not a "memory write"
governed by another system's rules
- If knowledge benefits from structure and connections, it belongs in the