Create environment

From mderk/memento · View interactive version

Create environment is an AI agent skill from the GitHub repository mderk/memento. Generate a comprehensive AI-friendly development environment for your project

How to use this skill

Skill file

Create Environment 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).

Invocation

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:

Follow the relay protocol to execute each returned action and call mcp__memento-workflow__submit with the result until the workflow completes.

Workflow Phases

Phase 0: Check Existing Environment

Phase 1: Detect & Plan

Phase 2: Execute Strategy

Fresh (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

Phase 3: Finalize

Required Variables

| Variable | Description |

| ---------------- | ---------------------------------- |

| plugin_root | Absolute path to memento plugin |

| plugin_version | Plugin version for commit metadata |

File Access

During generation, Claude Code requests permission to read plugin files. Pre-approve with Read(~/.claude/plugins/**) in .claude/settings.json.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.