/memento:session [create|update|complete]from memento
Use when locating, creating, updating, or closing a persistent Memento session for the current branch.
Ships in memento. 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.
Resolve paths with node <plugin-root>/scripts/resolve-session.js, where
<plugin-root> is ../.. from this skill directory. Run from the consumer
repository. The resolver reads .memento/config.json and prints sessionPath,
sessionExists, branchMetadataPath, legacy, migrationCommand, and warnings.
Exit 1 means there is no repository or branch. Report configuration warnings.
Default directories are .memento/sessions/ and .memento/branches/. The branch
name with / replaced by - is the filename; the resolver also finds legacy
.claude/sessions/ records. Always resolve again after a branch change.
create: create a record at the resolved path without replacing an existing
record. Store the branch, goal, current state, decisions, and remaining work.update: update that record in place. Retain the information needed to resume;
link an existing implementation plan instead of copying its task list.complete: record the delivered result and remaining work accurately. Update
branch metadata too if the project uses it.Sessions are optional unless the project requires them. This skill does not require a branch per issue, force a commit, or declare implementation complete because a session is marked complete. It does not create or publish work items.
When legacy is true, the existing record remains usable. The resolver's
migrationCommand is quoted and anchored to the repository root; preserve it
verbatim when a migration is requested. Do not automatically migrate records.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub flexion/claude-domestique --plugin memento