memorywhale

Solid

Query and write durable debugging memory recorded by MemoryWhale. Use when debugging a failure that may have happened before, when you need the exact error/flags/output from an earlier attempt, when the user asks "how did we fix this last time?", or once you've figured out why something failed / how a fix worked and it's worth remembering. Works across machines and past sessions.

AI & Automation 84 stars 23 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# MemoryWhale memory MemoryWhale records terminal commands, their arguments, exit codes, output, and errors into a local SQLite database. That history survives crashes, SSH drops, and switching machines — it's the record of what was already tried. It also holds freeform lessons you or a past agent session chose to remember. ## When to read from it - A build/test/deploy is failing and it might have failed before. - You need the *exact* earlier error text, flags, or working directory, not a paraphrase. - The user references past work ("last week", "on the Jetson", "how did I fix"). ## How to pull the memory Prefer the MCP tools if the `memorywhale` MCP server is connected: `recent_errors`, `search_memory`, `get_context`. Otherwise shell out: ```bash mw context # recent failed commands + sessions, compact mw context --last-error # just the most recent failure, with its error tail mw context project:NAME # scope to a project tag mw search "linker error" # full-text search across commands, output, notes, lessons ``` `mw context`/`search_memory` return failed commands with `cwd`, exit code, and the tail of their error, plus any remembered lessons. Use it to avoid re-deriving context: check whether the current failure already has a known cause before proposing a fix. ## When to write to it Once you've figured out *why* something failed or *how* a fix worked — not just that it's fixed — save it. That's the part a raw command log doesn't capture, and...

Details

Author
wuisabel-gif
Repository
wuisabel-gif/MemWhale
Created
2 months ago
Last Updated
today
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

captain-memo

Persistent cross-session, cross-tool memory for this project via captain-memo. Use at the START of any non-trivial task to recall prior context, decisions, conventions, and past bugs/fixes, and whenever you'd ask "have we done / decided / hit this before?". Searches a shared local memory corpus (past session observations, curated project memory, skills) through the captain-memo MCP tools. Works across AI tools (Claude Code, Codex, Cursor, Gemini CLI) pointed at the same captain-memo worker.

3 Updated 1 weeks ago
kalinbogatzevski
AI & Automation Listed

memory-search

Searches the project's recorded memory (core-memory-kit) — decisions, conventions, architecture, the reasoning behind choices, and where things live — and returns a curated, cited summary. Fire whenever the answer might be something the project already established in past work, HOWEVER the question is phrased — any prior decision, convention, rationale, or "how/where/why is it this way" question, including oblique or roundabout asks ("why is everything so spread out?", "remind me what we settled on for X", "how come these files are tiny?"). Also fire when a "[core-memory-kit] Memory available" hint appears on the prompt. The examples are illustrative, not a checklist — prefer recalling over re-deriving an answer from the code. The session-start snapshot is a bounded index; this skill reaches the rest. Skip only when the question is purely about uncommitted or just-edited live code that memory cannot know, concerns this conversation only, or the user asked to ignore memory.

7 Updated today
LH8PPL
AI & Automation Listed

memai-memory

How to use the MemAI MCP server (long-term agent memory: one ACID SQLite store, BM25 keyword search) — which tool family to call when: pulse/search/recall/list_by_domain/list_recent/ list_domains/get_memory/help to read; note, reasoning, anti_pattern, checkpoint, handoff, diagram to write; diagram_*/get_diagram for flows; edit_memory/link_memories/set_confidence/also_domain/forget/purge_memory to curate — plus the session/domain/tags convention, with domains as nested PATHS and cross-listing (also), and review_after/source_ref for a memory that will go stale. Use at the START of a session or when RESUMING work (warming a cold session), whenever SAVING or LOOKING UP durable knowledge (a fact, a decision, a rule, a pitfall), when DOCUMENTING a routine as a flow, and before PAUSING or ENDING work (checkpoint). Also on "MemAI", "memory", "long-term memory", "warm up the session", "checkpoint", "what did the last session leave", "save this lesson", "anti-pattern", "diagram of the flow".

0 Updated 1 weeks ago
Filipe-Soares-de-Almeida