Skip to content
Back to skills

Review

ASecurity

Review a memory diff like a PR — a zero-LLM packet that op-classifies each touched memory (ADD/UPDATE/SUPERSEDE/ARCHIVE/EDGE), runs the shipped lints scoped to the touched files, and (local only) previews how recall shifts by replaying recent episode queries against base-vs-head shadow indexes. Use for "review this memory PR", "review the memory diff", "what changed in memory", "memory review packet", "/hippo:review". The human still merges — this renders review material, never an approval.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 14, 2026
ai-agentspythonrustgoshellbashgit

Works with

  • claude code
  • claude desktop
  • terminal
  • cli
  • mcp

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add youknowfred/hippo --skill review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/youknowfred-review/badge)](https://www.skillsdirectory.com/skills/youknowfred-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Review a memory diff like a PR — a zero-LLM packet that op-classifies each touched memory (ADD/UPDATE/SUPERSEDE/ARCHIVE/EDGE), runs the shipped lints scoped to the touched files, and (local only) previews how recall shifts by replaying recent episode queries against base-vs-head shadow indexes. Use for "review this memory PR", "review the memory diff", "what changed in memory", "memory review packet", "/hippo:review". The human still merges — this renders review material, never an approval.
---

# /hippo:review — the corpus review packet

A memory PR deserves the same review ergonomics as a code PR: what OPERATION each
touched memory represents, whether the shipped lints flag it, and how the change would
shift recall. `memory review` builds that packet with zero LLM and zero network — every
classification derives from git name-status, frontmatter edges, and `archive/` moves.

## Surface routing — decide first, then act silently

- **On Claude Desktop** (your context says you are in the Claude desktop app, `CLAUDE_CODE_ENTRYPOINT` is `claude-desktop`, or the preflight below stops on an unset `CLAUDE_PLUGIN_DATA`): the `review` MCP tool builds the same packet — pass range for a branch or PR (default: working tree vs HEAD), ci=true for the lints-only gate. Present the packet as is. Call the tool with no preamble.
- **In a terminal Claude Code session**: run the bash flow below, guard first.

## 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
[ -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:review skill, not from a copy of its SKILL.md. If the loaded skill stops here too, take the MCP-tool route in 'Surface routing' above."; exit 1; }
. "${CLAUDE_PLUGIN_ROOT}/hooks/_resolve_py.sh"  # canonical PY resolver
hippo_resolve_py
hippo_note_usage skill review  # count this skill's use (one spool line, no Python)
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
MEMORY_DIR="$REPO_ROOT/.claude/memory"
```

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. **Pick the range.** No argument reviews the working tree against HEAD (the solo
   default — "what am I about to commit?"). Reviewing a branch or PR takes a git
   range: `main..feature`, `origin/main...HEAD`, or a single ref (meaning
   `ref..HEAD`).

2. **Build the packet (read-only):**

   ```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)"; MEMORY_DIR="$REPO_ROOT/.claude/memory"
   hippo review --memory-dir "$MEMORY_DIR" --repo-root "$REPO_ROOT"
   ```

   or, for a committed range:

   ```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)"; MEMORY_DIR="$REPO_ROOT/.claude/memory"
   hippo review origin/main...HEAD --memory-dir "$MEMORY_DIR" --repo-root "$REPO_ROOT"
   ```

   Present the packet to the user as-is (it is pasteable markdown — a PR comment a
   human posts, if they choose to). Walk them through it concretely:
   - **operations** — each touched memory as ADD / UPDATE / SUPERSEDE / ARCHIVE /
     EDGE, derived purely from frontmatter, typed edges, and archive/ moves. A
     `DELETE` row is a convention break worth calling out: hippo retires memories
     via `archive/` (reversible), never by deleting.
   - **lints** — GATE findings (secrets, threat Tier-A) are what `--ci` fails on;
     advisory findings (portability, dangling edges, conflict radar) are reviewer
     context, deliberately never a gate.
   - **recall-impact preview** — which memories would newly recall or stop
     recalling for this machine's recent real queries. Local only: the replay
     reads this machine's episode buffer and builds temp shadow indexes; it
     never runs in CI, and it states its 80-char query-preview bound inline.

3. **The human decides.** Auto-approve was removed outright — never coming back —
   as hippo's review-gated-writes identity pillar. The packet informs the merge;
   a person makes it. (Auto-posting the packet as a PR comment is not built either —
   it is future, trust-spine-gated scope, and would still never approve anything.)

## CI wiring (the one canonical memory-diff gate)

`--ci` is the SINGLE sanctioned CI scan for memory-file diffs's memory-diff
gate half, and the threat-lint CI leg rides the same vehicle:

```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)"; MEMORY_DIR="$REPO_ROOT/.claude/memory"
hippo review --ci origin/main...HEAD --memory-dir "$MEMORY_DIR" --repo-root "$REPO_ROOT"
```

Exit 1 iff a gate finding (secret / threat Tier-A) exists on a touched memory file;
exit 0 otherwise — including when the range touches no memory files at all. The
repo's `memory-review` job in `.github/workflows/ci.yml` runs exactly this against
each PR; do not add a second memory-scanning CI surface. (The `secret-scan` job in
the same file is the other half — release hygiene over the whole shipped tree,
a different scope.)

## Hard rules

- **Review material, never an approval.** No mode of this skill or its CLI can
  accept, merge, or post anything. The human merges everywhere.
- **Zero LLM, zero network.** Op classification is mechanical; a packet that needed
  a model to explain itself would not be reviewable evidence.
- **The preview is local-only.** Never in CI (`--ci` omits it; `HIPPO_DISABLE=dense`
  and CI environments skip it with an explicit line) — a fresh clone has no episode
  buffer, and an honest "no local episodes to replay" beats a fabricated preview.
- **Advisory lints never gate.** Cited paths ARE repo coupling (portability would
  flag nearly every project memory), and an unresolved contradiction is a human
  judgment for /hippo:tend — failing CI on either would automate a decision
  hippo deliberately leaves to people.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.