handonlisted
Install: claude install-skill x-mesh/xm
# x-handon — Session Restore (Resume)
Restore session context from the last handoff. **Context injection is automatic** — running this skill means "give me the previous session's context."
## Model Routing
This skill runs **entirely on the leader** (sonnet). The JSON read itself is mechanical, but Step 3.5 is an MCP call and MCP tools are frequently unavailable inside a dispatched Agent — routing this to haiku silently degrades the restore to file-only. Run the CLI with Bash from the leader; do not delegate.
**Step 4 (wait for user)** is the boundary — once the user asks for actual work based on the restored context, that work runs at its own appropriate model.
## mem-mesh Backend (capability gate)
**Do NOT decide by inspecting your toolset.** MCP tools are often *deferred* — listed by name with no loaded schema — so "is `mcp__mem-mesh__search` in my tools?" reads as "no" even when mem-mesh is fully available. That misread silently disabled the mem-mesh half of this skill.
Decide by **attempting**, in this order:
1. If `mcp__mem-mesh__search` is directly callable → dual-write mode.
2. If it is listed as a deferred tool → load it first (`ToolSearch` with `select:mcp__mem-mesh__search`), then dual-write mode.
3. Only if the tool does not exist at all, or the call fails after loading → **file-only mode**: make ZERO further mem-mesh calls and never mention mem-mesh in the output.
복원 원본은 **가장 최신의 검증된 handoff**입니다. 로컬 `SESSION-STATE.json`은
mem-mesh에 더 새 `handoff` + `sessio