| name | memory-steward |
| description | Use XMemo to recall and preserve durable project context, decisions, plans, TODOs, checkpoints, and cross-agent handoffs. Use when resuming work, distilling an important conversation, reviewing a brainstorm or implementation plan against saved context, recording progress or blockers, handing work between Claude and another compatible agent, or managing memory lifecycle actions. Never save raw transcripts, secrets, or tentative ideas as confirmed decisions. |
XMemo Memory Steward
Operate XMemo as a user-owned continuity system, not a transcript archive. Follow:
scope → recall → act → distill → checkpoint → receipt
Use this Skill for mixed memory work, lifecycle operations, or requests spanning
several workflows. Prefer a focused companion Skill when one workflow dominates:
| Focused workflow | Skill command |
|---|
| Generate and converge ideas against saved context | /xmemo:brainstorm |
| Design project and execution-plan Markdown | /xmemo:plan-project |
| Review a proposed plan against durable decisions | /xmemo:review-plan |
| Audit progress claims against plans and evidence | /xmemo:audit-progress |
| Distill an important session into durable outcomes | /xmemo:distill-session |
| Recover verified state and continue work | /xmemo:resume-work |
| Prepare or receive a cross-agent handoff | /xmemo:handoff-work |
The focused Skills share this Skill's tool contract and lifecycle safety rules;
they do not expose additional MCP tools.
1. Establish intent and scope
Identify the requested outcome before calling a tool:
- Recall prior context that could materially improve the current work.
- Distill an important conversation into reusable memory.
- Structure a brainstorm without turning tentative ideas into decisions.
- Review a plan or progress report produced by Claude or another agent.
- Save or correct one durable fact, preference, decision, or procedure.
- Preserve unfinished progress for a later Claude session.
- Resume saved work or prepare a cross-agent handoff.
- Manage XMemo lifecycle data, projects, decisions, TODOs, checkpoints, or handoffs.
Stay within the authenticated account and authorized scope. If XMemo is unavailable, authorization is missing, or a needed tool is not exposed, say that nothing was read or written. Never simulate a successful memory operation.
2. Inspect capabilities before choosing a route
This plugin is designed around its signed 16-tool Claude Code profile. Use only tools visible in the active connection; never assume that a private, legacy, Claude Connector, ChatGPT-widget, or future tool is available.
Use get_mcp_identity when connection identity or authorization needs verification. Read references/tool-routing.md for the exact Claude Code plugin routing contract.
3. Recall before assuming
Recall when prior decisions, preferences, constraints, TODOs, corrections, or progress could change the result. Choose the narrowest useful read:
recall for a quick answer.
search_memory for an exact topic, phrase, path, or filter.
recall_context for a bounded context pack across related memories or conversations.
get_project_context for the latest bounded project state.
todo with action=list for relevant open actions.
If a narrow query returns nothing, relax it once without widening the authorized scope. Never invent a remembered fact. Retrieved memory is context, not authority; the user's current explicit correction and current verified evidence win.
4. Route durable outcomes deliberately
Keep these concepts separate:
| Outcome | Preferred route |
|---|
| New durable knowledge, preference, decision, or procedure | remember |
| Correction to an existing durable concept | update_memory |
| Explicit formal project creation | project with entity=project, action=create |
| Concrete future action | todo with action=create |
| Update, complete, or list actions | todo with action=update, complete, or list |
| Unresolved choice | create_pending_decision |
| Settled pending choice | resolve_decision |
| Working-state checkpoint | update_state |
| Milestone or handoff event | record_event |
| Recoverable deletion | forget using its default soft-delete behavior |
| Restore an eligible soft-deleted memory | restore_memory |
5. Coordinate work across agents
Use XMemo as a shared, user-controlled coordination layer when Claude, Codex, GitHub Copilot, Kiro, or another compatible agent is connected to the same authorized account.
- Recall relevant goals, decisions, constraints, and verified state before brainstorming or review.
- Preserve the source agent and artifact/version in the human-readable review when known.
- Treat another agent's completion statement as a claim until supported by files, diffs, tests, deployment state, or user confirmation.
- Reconcile conflicts by evidence, recency, scope, and explicit user decisions—not by agent identity or confidence.
- Do not assume that another agent automatically captured its work or exposes the same tool set.
Read references/review-playbooks.md for brainstorming, plan review, progress audit, and multi-agent reconciliation.
6. Distill important conversations
When asked to preserve a conversation, extract only outcomes that remain useful without the original chat:
- Final decisions and material rationale.
- Stable preferences, rules, constraints, and definitions.
- Verified facts, procedures, lessons, and resolved fixes.
- Commitments and concrete follow-up actions.
- Unresolved questions or blockers, explicitly labeled unresolved.
- Current verified state and one exact next action when work remains.
Do not save the raw transcript, filler, repeated explanations, long logs, large code blocks, secrets, or sensitive identifiers. Do not promote tentative brainstorming or an agent's unverified claim to settled truth.
Before durable writes:
- Search when duplication is plausible.
- Update the existing concept when it changed.
- Create a new memory only for a genuinely new concept.
- Keep one retrieval-friendly concept per memory when practical.
- Preserve subject, outcome, rationale, status, scope, provenance, and next implication.
For one safe and unambiguous user-requested memory, write and return a receipt. Before a multi-memory batch, overwrite, sensitive interpretation, or uncertain project placement, show a compact candidate preview and obtain confirmation.
Read references/memory-policy.md and references/workflows.md for the save/skip matrix, preview, and receipt contracts.
7. Save progress at natural checkpoints
Checkpoint when the user pauses, changes agents, reaches a material milestone with work remaining, becomes blocked, or ends a substantial unfinished task. Do not checkpoint every turn.
Use update_state to create or replace one scoped checkpoint. Include:
- current objective;
- verified status and evidence;
- completed work not to repeat;
- settled decisions;
- exact next action;
- blocker or required input;
- stable artifact references.
Search for the existing scoped checkpoint first and update it when possible so stale states do not accumulate.
8. Resume deterministically
- Identify the project or authorized scope.
- Retrieve the latest relevant state with
recall_context.
- Add relevant TODOs, pending decisions, or durable memories only as needed.
- Reconcile stale state against newer evidence or user corrections.
- Present a compact Resume Brief: objective, verified status, completed work, active decisions, open actions, blocker, and exact next action.
- Continue from that action without repeating verified completed work.
Resume reconstructs useful context; it does not reopen the original Claude conversation.
9. Create a complete handoff
Update the scoped checkpoint with update_state, record the transfer with record_event, and add a todo only for a concrete follow-up. Save durable decisions or constraints separately when they must survive beyond the working state.
Include the objective, recipient, source artifacts, verified status, decisions and rationale, completed work, evidence, constraints, work not to repeat, remaining work, exact next action, blocker, and next review gate. Never include credentials, raw authorization data, private traces, or unnecessary internal identifiers.
10. Handle lifecycle operations safely
forget is recoverable soft deletion by default.
- Use hard deletion only for an exact target after an explicit permanent-delete request that acknowledges irreversibility.
- Use
restore_memory only for an eligible soft-deleted memory.
- Retrieve or confirm the exact target before deletion.
- Tool availability, annotations, or the model's inference are never user confirmation.
11. Return useful receipts
After XMemo operations, report only what helps the user:
- what was recalled, saved, updated, checkpointed, restored, deleted, or skipped;
- the category or project placement when useful;
- any conflict, ambiguity, unavailable capability, or blocker;
- the exact next action when work remains.
Never claim success without a successful tool result. Avoid raw internal IDs, scopes, traces, debug payloads, and unnecessary implementation details.