From memento
Detects tech stack changes, plugin updates, and local modifications to selectively update Memory Bank files with 3-way merge preserving user edits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memento:update-environmentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Selective update/regeneration of Memory Bank files with smart change detection. Detects tech stack changes, plugin updates, local modifications, and applies 3-way merge to preserve user edits.
Selective update/regeneration of Memory Bank files with smart change detection. Detects tech stack changes, plugin updates, local modifications, and applies 3-way merge to preserve user edits.
Prerequisite: This skill requires the memento-workflow plugin. If mcp__memento-workflow__start is not available as a tool, stop and tell the user: "The memento-workflow plugin is required but not installed. Install it via Claude Code: /install-plugin memento-workflow".
Before starting the relay loop, load the relay protocol by invoking the Skill tool with skill: "memento-workflow:workflow-engine".
Then call mcp__memento-workflow__start with:
update-environment{"plugin_root": "${CLAUDE_PLUGIN_ROOT}", "plugin_version": "1.6.0"}.["${CLAUDE_PLUGIN_ROOT}/skills/update-environment"]Follow the relay protocol to execute each returned action and call mcp__memento-workflow__submit with the result until the workflow completes.
/tmp/new-project-analysis.jsonanalyze-local-changes pre-update)
Static files: Copy via analyze-local-changes copy-static with 3-way merge
Prompt-based files: Regenerate in batches with merge support
Obsolete files: Remove from project and generation plan
New prompts: Generate missing files
| Variable | Description |
|---|---|
plugin_root | Absolute path to memento plugin |
plugin_version | Plugin version for commit metadata |
npx claudepluginhub mderk/memento --plugin mementoAnalyzes local modifications in Memory Bank files: computes MD5 hashes, detects new/ modified files, classifies changes like new sections or added lines, and provides merge strategies.
Integrates mnemonic memory capture and recall into existing Claude Code plugins using sentinel markers for updates, removal, and git rollback. Triggers on integrate/wire/add memory requests.
Processes file changes to update CLAUDE.md or AGENTS.md memory sections after edits. Analyzes dirty files, AUTO-MANAGED areas, verifies removals via grep, detects stale commands.