From memento
Generates Memory Bank documentation for projects using workflow engine: detects tech stack, creates generation plans, supports fresh/resume/merge strategies, finalizes with fixes and commits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memento:create-environmentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate Memory Bank documentation for a project using the workflow engine. Supports three strategies: Fresh (clean generation), Resume (missing files only), Regenerate with merge (preserve local changes).
Generate Memory Bank documentation for a project using the workflow engine. Supports three strategies: Fresh (clean generation), Resume (missing files only), Regenerate with merge (preserve local changes).
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:
create-environment{"plugin_root": "${CLAUDE_PLUGIN_ROOT}", "plugin_version": "1.6.0"}.["${CLAUDE_PLUGIN_ROOT}/skills/create-environment"]Follow the relay protocol to execute each returned action and call mcp__memento-workflow__submit with the result until the workflow completes.
.memory_bank/ exists, count modified files.memory_bank/ directoryproject-analysis.jsongeneration-plan.mdFresh (default): Copy static files, parallel-generate all prompt-based files, update plan
Resume: Load existing plan, generate only missing files in parallel
Merge: Copy statics with 3-way merge, sequential generate + merge per file, update plan
fix-broken-links skill)check-redundancy skill)analyze-local-changes commit-generation)| Variable | Description |
|---|---|
plugin_root | Absolute path to memento plugin |
plugin_version | Plugin version for commit metadata |
During generation, Claude Code requests permission to read plugin files. Pre-approve with Read(~/.claude/plugins/**) in .claude/settings.json.
npx claudepluginhub mderk/memento --plugin mementoUniversal project workflow guide that reads the existing codebase, keeps changes small, and explains technical decisions in plain language. Use when starting, modifying, debugging, or deploying software projects.
Creates a project-specific knowledge base document that primes AI with the project's tech stack, architecture, trusted sources, and structure. Triggered by phrases like 'set up knowledge base'.
Creates CONTEXT.md, ARCHITECTURE.md, IMPLEMENTATION.md, ASSUMPTIONS.md, and AGENT MEMORY.md from workspace source code analysis. Use when docs are missing or stale to capture context, structure, and unknowns.