Uninstall/offboarding for THIS project — removes the cross-machine symlink so native memory stops injecting the floor, offers to delete the derived index/telemetry dirs, and reports (never deletes) the shared venv/model-cache paths. The committed .claude/memory/ corpus is always left alone, inert in git. Use for "remove hippo from this project", "uninstall memory", "/hippo:remove".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Remove?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/youknowfred-remove)
---
description: Uninstall/offboarding for THIS project — removes the cross-machine symlink so native memory stops injecting the floor, offers to delete the derived index/telemetry dirs, and reports (never deletes) the shared venv/model-cache paths. The committed .claude/memory/ corpus is always left alone, inert in git. Use for "remove hippo from this project", "uninstall memory", "/hippo:remove".
---
# /hippo:remove — uninstall and offboarding path
The teardown counterpart to `/hippo:setup`. Scoped to **this one project** — it never touches
another project's symlink, another project's corpus, or the shared per-machine venv/model cache
(those are reported for reclamation, never deleted, since other projects may still depend on
them).
## Preflight (shared across all hippo skills)
```bash
export CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" CLAUDE_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}" # Claude Code fills both in when it loads this skill
[ "${CLAUDE_CODE_ENTRYPOINT:-}" != "claude-desktop" ] || { echo "✘ /hippo:remove has no Desktop-safe MCP-tool equivalent yet. Run it from a terminal Claude Code session in this repo (claude, then /hippo:remove)."; exit 1; }
[ -n "${CLAUDE_PLUGIN_DATA:-}" ] && [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] || { echo "✘ hippo's plugin paths are empty in this shell. Claude Code fills them into this skill's text when it loads the skill (the Bash tool does not inherit them), so run these blocks from the loaded /hippo:remove skill, not from a copy of its SKILL.md. If the loaded skill stops here too, this Claude Code does not fill them in: update it and run /hippo:remove again."; exit 1; }
. "${CLAUDE_PLUGIN_ROOT}/hooks/_resolve_py.sh" # canonical PY resolver
hippo_resolve_py
hippo_note_usage skill remove # count this skill's use (one spool line, no Python)
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
```
Each Bash call is a fresh shell, so nothing set here reaches the next call. Every block below
opens by pinning what it needs; an inline `hippo …` command runs
as written (`hippo` is on the Bash tool's PATH and finds its own venv).
## What this does, in order
1. **Remove the cross-machine symlink.** This is the one step that actually stops native memory
from injecting the floor — as long as `~/.claude/projects/<encoded>/memory` resolves to this
project's `.claude/memory`, Claude Code keeps reading it every session regardless of anything
else in this skill. Use the ONE tested Python helper
(`memory.provenance.remove_project_symlink`, — the exact inverse of's
`create_project_symlink`, same encoding formula) — never hand-rolled `rm` in bash:
```bash
export CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" CLAUDE_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}" # a fresh shell: pin again
. "${CLAUDE_PLUGIN_ROOT}/hooks/_resolve_py.sh"; hippo_resolve_py
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
"$PY" -c \
"import sys, json; from memory.provenance import remove_project_symlink; \
r = remove_project_symlink(sys.argv[1], sys.argv[1] + '/.claude/memory'); \
print(json.dumps(r)); sys.exit(1 if r['status'] == 'conflict' else 0)" \
"$REPO_ROOT"
```
- `status: "removed"` — done; report the path that was unlinked.
- `status: "absent"` — nothing was there; report "no symlink found for this project (already
removed, or never initialized here)" rather than treating it as an error.
- `status: "conflict"` — the symlink at that path points at a DIFFERENT directory than this
project's `.claude/memory`. **Stop and report it rather than forcing removal** — this
usually means either a prior manual setup or that `$REPO_ROOT` doesn't match what you
expect; forcing it risks unlinking a symlink that belongs to a different project's corpus.
1b. **De-register from the cross-project registry.** `/hippo:setup` listed this project
in the machine-local `~/.claude/hippo-projects.json` so `/hippo:recall --all-projects`
could search it from other projects; offboarding removes that listing (idempotent — `true`
also when it was never registered):
```bash
export CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" CLAUDE_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}" # a fresh shell: pin again
. "${CLAUDE_PLUGIN_ROOT}/hooks/_resolve_py.sh"; hippo_resolve_py
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
"$PY" -c \
"import sys, json; from memory.registry import deregister_project; \
print(json.dumps({'deregistered': deregister_project(sys.argv[1])}))" \
"$REPO_ROOT"
```
Trust state (`hippo-trust.json`) is deliberately left as-is — trust records the user's
review of the CORPUS content, which removal does not un-review; re-running `/hippo:setup`
later picks both straight back up. This is the opposite intent from revoking consent (the `trust`
MCP tool, action='revoke'): **remove** = "I'm done working here" (offboard the project, keep
the review), while **revoke** = "I no longer trust this corpus" (withdraw the review,
by-gate, no cache wipe). Revoke after finding a bad/poisoned memory; remove to offboard a
project you still trust.
2. **Offer to delete the derived, gitignored dirs — agent-gated, never unconditional.** Ask the
user (in this skill's own conversational turn) before deleting anything here; a "yes" to step
1 is not consent for step 2. If confirmed, remove these three dirs in `.hippo/` at the
project root (v1.42.4 moved them out of `.claude/`; an older hippo left them at
`.claude/.memory-index/`, `.claude/.memory-telemetry/` and `.claude/.memory-pending/` —
remove those too if they exist). Remove them by name, never `.hippo/` as a whole: it also
holds `.hippo/snapshots/` (see below):
- `.hippo/index/` (the recall index — rebuildable any time via
`/hippo:setup` or `memory.build_index`)
- `.hippo/telemetry/` (recall/episode/reconsolidation ledgers —
`recall_events.jsonl`, `episode_buffer.jsonl`, `reconsolidation_events.jsonl` all live here;
deleting the directory takes all three with it)
- `.hippo/pending/` (draft-capture queue — un-approved session-capture seeds
awaiting review; deleting it discards those drafts, which never entered the corpus anyway)
All three are already gitignored derived state — deleting them loses no git history and
nothing committed. If the user declines, leave them exactly as they are and say so plainly
(they're inert without the symlink from step 1 anyway — nothing reads them once native memory
has nothing pointing at this corpus). Once they are gone, `.hippo/` may be removed only if
nothing but its `.gitignore` and `.migrate.lock` is left in it.
**The outbox is not derived either — report it, never delete it here.** A corpus that sets
`"write_path": "outbox"` keeps saves it has not moved into the corpus yet in
`.claude/memory.outbox/`. Those memories exist nowhere else: they are not in git. If the
folder exists, name it with the number of memory files in it
(`ls .claude/memory.outbox/*.md 2>/dev/null | wc -l`), say it was left in place, and tell the
user to move any memory they want to keep into `.claude/memory/` (and commit it) before they
delete the folder themself.
**Pre-migration backups are not derived — report them, never delete them here.**
`.hippo/snapshots/memory.pre-cite2-*/` (v1.42.5 and later), `.hippo-snapshots/` (v1.42.3
and v1.42.4) and `.claude/memory.pre-cite*/` (older) are copies of the corpus taken before
a citation migration. For a gitignored corpus they are its only undo. Name each one that
exists with its size (`du -sh <dir>`), say it was left in place, and let the user delete it
themself.
3. **Report (never delete) the shared, per-machine paths.** These are NOT per-project — removing
them affects every other project on this machine still using the plugin, so this skill only
ever prints them for the user's own manual reclamation:
- venv: `${CLAUDE_PLUGIN_DATA}/venv`
- fastembed model cache: the path this prints
```bash
export CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" CLAUDE_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT}" # a fresh shell: pin again
. "${CLAUDE_PLUGIN_ROOT}/hooks/_resolve_py.sh"; hippo_resolve_py
"$PY" -c "from memory.build_index import durable_fastembed_cache_dir; print(durable_fastembed_cache_dir())"
```
State explicitly: "these are shared across every project using hippo on this machine — only
delete them yourself if you're removing hippo everywhere, not just from this project."
4. **Explain what was left alone.** End every run with this, regardless of what steps 2-3 did:
`.claude/memory/` itself — the git-tracked corpus — is untouched and stays committed in git,
inert, until someone runs `/hippo:setup` again (in this repo or a fresh clone of it). Removal
never edits, deletes, or archives a single memory file, and it leaves every pre-migration
backup where it is.
## Hard rules
- **Never delete `.claude/memory/` itself.** That is the git-tracked corpus, entirely out of
scope for this skill — only the symlink pointing AT it, and the derived caches beside it, are
ever candidates for removal here.
- **Step 2 is agent-gated, not automatic.** No `--all`, no silent sweep — a confirmed step in
this skill's own conversation, every time.
- **Never delete the outbox** (`.claude/memory.outbox/`): it holds memories that are not in
git yet. Report it; the user decides.
- **Never delete a pre-migration backup** (`.hippo/snapshots/`, `.hippo-snapshots/`,
`.claude/memory.pre-cite*/`), and never `rm -rf .hippo/`, which would take
`.hippo/snapshots/` with it. Report them; the user decides.
- **Never delete the venv or model cache.** Report their paths only; a human decides whether
removing hippo everywhere on this machine is actually what they want.
- **A `conflict` status on the symlink removal is a hard stop, not a force-through.** A symlink
pointing somewhere else means this call doesn't know enough to safely act — report it and let
the user resolve it by hand.
## After removal
No hook still fires for this project in a way that matters — `SessionStart` and
`UserPromptSubmit` still run (they're global to the plugin, not per-project), but with the
symlink gone, Claude Code's native memory has nothing to read for this repo, so there is no more
floor injection and no more recall output tied to this corpus. Re-running `/hippo:setup` here
later picks the existing `.claude/memory/` corpus back up exactly where it was left ('s
existing-corpus path) — nothing was lost.