by wuisabel-gif
Persistent, local memory for developers and their coding agents. Records commands, output, errors, and the fixes that worked into SQLite and serves them over MCP.
# Add to your Claude Code skills
git clone https://github.com/wuisabel-gif/MemWhaleMemWhale is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by wuisabel-gif. Persistent, local memory for developers and their coding agents. Records commands, output, errors, and the fixes that worked into SQLite and serves them over MCP. It has 144 GitHub stars.
MemWhale's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/wuisabel-gif/MemWhale" and add it to your Claude Code skills directory (see the Installation section above).
MemWhale is primarily written in Rust. It is open-source under wuisabel-gif on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh MemWhale against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
You hit an error. MemoryWhale remembers you've seen it before, and hands back the fix.
MemoryWhale records what actually happened while you debug: commands, output, failures, and the fixes that worked. It stores that evidence in local SQLite so you and your coding agents can find it after the terminal, SSH connection, or agent session is gone. It works with 19 coding agents through MCP, with no account and nothing uploaded.
On LongMemEval, a public long-term memory benchmark, search puts a session holding the answer in its top 5 for 97% of 470 questions (retrieval only, no model).
In a controlled evaluation on project-specific bugs, an agent solved 25% without memory and 96% with it. These are synthetic tasks that demonstrate the mechanism, not a field study; see how it was measured.
MemoryWhale 0.33.0: Community Contributions · December 1, 2026. The CLI, web UI, and desktop app share product version 0.33.0; the reusable Rust core is version 0.14.0. See the release notes for the upgrade guide. Opening a store migrates it from schema 10 to 17.
Knowledge memory, opt-in. mw knowledge import brings in what you have already told Claude Code, Codex, ChatGPT, and Claude, and proposes statements for you to approve. See knowledge memory.
Want to contribute? Start with the Start here issue. Many tasks need no Rust, including translation reviews and documentation fixes.
mw-mcp.MemoryWhale records development experience, not everything. It is a debugging memory layer, not an autonomous coding agent, a general-purpose personal memory system, or a replacement for project documentation.
mw integrate; mw doctor
checks MCP, hooks, and skills independently.claude,
rho, or NULL. The display/filter label terminal means terminal/manual
or legacy provenance, not proof that a human ran it. Agent identity is
separate from source type such as command, session, or note.mw-serve provides HTTP MCP at POST /mcp;
mw-serve --api opts into the read-only JSON API. Both use the dashboard's
listener; non-loopback access requires a token.mw github context <pr> reads PR
metadata, checks, and reviews through your existing gh login. It prints
bounded, redacted context without checking out code or automatically saving
it to memory. There is no background GitHub sync.Prebuilt binaries are available for Linux x86_64/aarch64 and macOS:
(
set -eu
installer="$(mktemp)"
trap 'rm -f "$installer"' EXIT
curl -fsSL https://raw.githubusercontent.com/wuisabel-gif/MemWhale/7c3864c743cec9a8fa813dcc0b2459cc2859c849/install.sh -o "$installer"
printf '%s %s\n' '3e0cad72b29c1894d5ff5f7c30b099537f96501801c14b6320c12e169a3ac8d6' "$installer" | shasum -a 256 -c -
sh "$installer"
)
Or install with Cargo or Homebrew:
cargo install memorywhale-cli
brew tap wuisabel-gif/memorywhale https://github.com/wuisabel-gif/MemWhale
brew install memorywhale
After installation or upgrade, check the version and local setup:
mw --version
mw doctor
Windows users can run MemoryWhale inside WSL. See the getting-started guide for package installs, PATH setup, and platform notes.
Desktop app. For a window instead of a terminal, the MemoryWhale app shows what your agents were told, the commands and output behind it, and your lessons, and stays in the menu bar to announce each new note. It ships with each release from 0.23 on; see the desktop guide.
mw global on # capture future interactive shell commands
mw-run -- cargo check # capture one command and its output
mw remember "the linker needed libssl-dev"
mw search "linker error" # recover the failure and its fix
mw context --last-error # compact context for any agent or chat
mw pet # check your memory store's mood

For longer work, mw --live records a crash-resistant shell session. mw tui
opens an interactive terminal browser, while mw-serve starts the local web
dashboard.
CAPTURE MEMORY RETRIEVAL
shell / mw-run ──────► local SQLite ────────► search / context
agent hooks ─────────► evidence + lessons ──► similar failures
│
INTERFACES
CLI / MCP / TUI / Web / Desktop
Capture and retrieval are independent. MCP gives an agent access to existing memory; it does not automatically record normal terminal activity. See the architecture and capture concept for the complete model.
mw-mcp is the common integration seam: a local stdio MCP server exposing six
memory tools, also available over HTTP through mw-serve. Existing guides
cover Claude Code, Rho, Claude Desktop, Cursor, VS
Code / GitHub Copilot, Windsurf, Zed, Codex CLI, Cline, Continue, Gemini CLI,
Goose, OpenClaw, CrowClaw, Hermes Agent, and other compatible clients.
mw integrate claude
mw integrate rho
mw doctor
Clients do not all provide the same capabilities. MCP supports memory access; automatic execution capture requires a client-specific hook. The integration matrix distinguishes access, capture, and memory-use guidance and links every verified setup guide.
Rho's current hook payload lacks command text and stdout: failures can be recorded as metadata with a sentinel command; successful calls without command text are skipped. The cross-agent handoff demo uses fixtures and a simulated Rho client against real MCP, not live agents or a verified Cargo fix.
The bundled skill guides memory use; it does not implement automatic task-start recall, failure lookup, or pre-compaction saving. Those lifecycle decisions remain with the client. MCP-authored lessons are pending review by default.
MemoryWhale is for developers whose debugging context is scattered across terminal scrollback, shell history, machines, and temporary agent sessions. It is especially useful wh