跳到正文
FunCoding

memory

Project memory powered by Hippo. Use when starting a session, after learning something, after hitting an error, or when the user mentions memory/remember/recall.

Star
796
许可证
MIT
最近提交
2026年12月1日

extensions/claude-code-plugin/skills/memory/SKILL.md

在 GitHub 上查看

Hippo Memory

One memory for every agent you'll ever use. Hippo writes what you teach a coding agent into a store in your repo, and your other agents read that same store. Unused memories weaken over a year or two, each recall keeps one longer, and pinned rules never fade.

At the start of a task

In Claude Code, if hippo memories were already added to this session, load no more. Otherwise call hippo_recall with a short query that names the task. The MCP tools hippo_remember, hippo_outcome and hippo_recall also do the steps below. With no hippo tools listed, run this instead:

hippo context --auto --budget 1500

Read the output. These are things the project has learned from past sessions.

In Copilot (the CLI and VS Code), hippo adds pinned and recent memories at session start only, and they are not matched to the task. Run the shell commands from the project folder. For each new task, run this:

hippo recall "<short query naming the task>"

Use hippo remember and hippo outcome for the later steps. The Copilot CLI starts the plugin's MCP server outside the project, so there hippo_recall, hippo_remember and hippo_outcome use the global store. The shell commands find the project's store from the folder they run in.

In Windows PowerShell, run hippo.cmd in place of hippo, as the plugin's hooks do.

hippo remember saves to the project's store. When it exits 1 with "No hippo store", the project has none: run the same command again with --global.

The recall output gives each memory's id on its first line, such as mem_f8eacd787ae9, and marks a memory from the global store [global]. The store keeps one last recall, and another chat on the same store can replace it. So pass hippo outcome one --id <id> for each memory without [global], and send the [global] ids in a second call with --global. Skip a call that has no ids, and skip hippo outcome when the recall showed no memories.

When you learn something non-obvious

hippo remember "<the lesson in 1-2 sentences>" --tag <category>

When you hit an error or unexpected failure

hippo remember "<what failed, why, and how you fixed it>" --error

The --error flag doubles the half-life, so the lesson lasts twice as long.

After completing work successfully

hippo outcome --good

If the recalled memories were irrelevant:

hippo outcome --bad

In Copilot, pass one --id for each recalled memory without [global], and send the [global] ids in a second call with --global, as the Copilot section says.

When stuck or hitting repeated errors

hippo recall "<what's going wrong>" --budget 2000 --why

When a stored fact is no longer true

hippo supersede <id> "<the new fact>"

The old memory leaves recall but stays on record.

When making an architectural decision

hippo decide "<decision>" --context "<why>"

Decisions get a recall boost so they surface when relevant, and stay active until superseded.

When migrating or replacing a tool

hippo invalidate "<old tool>" --reason "migrated to <new tool>"

Or let hippo learn --git detect it automatically from migration commits.

After significant coding sessions

hippo learn --git

This scans recent commits, auto-extracts lessons, and invalidates memories about replaced tools.

Export memories

hippo export memories.json
hippo export --format markdown memories.md

Check memory health

hippo status

相似的 Skill

ask-matt

MAmattpocock/skills336k近 7 天新增 5,004 个 star

chief-of-staff

MAmattpocock/skills336k近 7 天新增 5,004 个 star

setup-matt-pocock-skills

MAmattpocock/skills336k近 7 天新增 5,004 个 star

subagent-driven-development

OBobra/superpowers331k近 7 天新增 5,757 个 star

autonomous-loops

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

agent-eval

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star