SKILL.md--- name: install-memu description: Install or uninstall memU for whatever agent you are — identify your host, print its packaged guide, and follow it to wire (or unwire) both seams (record and inject). Use when the user asks to install, set up, integrate, remove, or uninstall memU. --- # Install memU > **Audience: the agent.** A user has pointed you at this file ("read SKILL.md > and follow it to install memU"). This skill does not contain the install > steps — it routes you to the right guide, which ships inside the memU package > and is always in sync with the installed code. Do not install from memory or > from blog posts; print the guide and follow it to the letter. memU integrates with a host agent through two seams: **record** saves session information into durable memory, and **inject** retrieves relevant memory before answering. Each supported host has its own adapter binary carrying its own install guide. Your job here is three steps: install the package, pick your binary, print and follow its guide. ## Before installing Identify the agent executing this skill and check the supported-host table in Step 2 before installing the package. If the host is unknown or absent from the table, report that it is currently unsupported and stop the installation. ## Before installing with Codex If you are Codex, check the session's effective sandbox mode before Step 1. Continue only with `danger-full-access`; approval policy alone is not sufficient. If restricted or unknown, pause and show both ways to continue: enable **Full access** in Codex Desktop, or restart Codex CLI with `codex --dangerously-bypass-approvals-and-sandbox`. Recheck the effective mode before proceeding. After installation, remind the user to restore their previous permission mode. ## Step 1 — install the package ``` pip install --upgrade memu-cli ``` `memu-cli` is the package memU ships to bridge your agent to its long-term memory service; it installs helper interfaces only and is harmless to run on a personal machine. **Keep the `--upgrade`.** A machine that already has an older `memu-cli` would otherwise keep it, and the steps below name subcommands that older builds do not have — the symptom is `invalid choice`. If you meet that error at any point, you are on a stale build: upgrade, then re-run the command that failed. This puts `memu` and every host-adapter binary on `PATH`. If `pip` is not the right tool for this machine (managed Python, uv-only), use the equivalent — what matters is that the binaries below resolve from a bare, non-interactive shell. With uv this means `uv tool install --upgrade memu-cli`, **not** `uv pip install`: however it is installed, `memu-cli` is a cross-session bridging tool and must be callable everywhere, not scoped to one project venv. ## Step 2 — pick your host binary Identify **which agent you are** (not which agents are installed — the one executi