Failure Memory — Development skill for Claude Code
🧠 Automatic failure pattern recording & recall for OpenClaw agents.
How to install Failure Memory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open VoidLight00/failure-memory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Failure Memory does
🧠 Automatic failure pattern recording & recall for OpenClaw agents. Never repeat the same mistake.
Alternatives in Development
- Autoresearch — Claude Autoresearch Skill — Autonomous goal-directed iteration for Claude Code 2.5k ★
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Agentic Stack — One brain, many harnesses 2.2k ★
README
🧠 Failure Memory
**Never repeat the same mistake twice.** An automatic failure pattern recording & recall system for [OpenClaw](https://openclaw.ai) agents.
[](https://clawhub.com/skills/failure-memory-log) [](LICENSE)
Why?
AI agents make mistakes — misconfigurations, wrong flags, API quirks, permission errors. Without a structured way to log and recall these failures, **the same mistakes get repeated across sessions.**
Failure Memory solves this by:
- Recording every failure with context, root cause, and resolution
- Recalling relevant past failures before starting similar tasks
- Reporting patterns so systemic issues get fixed
How It Works
Error occurs → Log to memory/failures.md → Next similar task → Auto-recall → Avoid repeat
Recording Format
## [2026-03-02 12:30] Docker permission denied on socket
- **Category:** permissions
- **Context:** Trying to run `docker compose up` for local dev
- **Error:** `Got permission denied while trying to connect to the Docker daemon socket`
- **Root Cause:** User not in docker group after fresh OS install
- **Resolution:** `sudo usermod -aG docker $USER && newgrp docker`
- **Prevention:** Check docker group membership in setup scripts
- **Tags:** docker, permissions, linux, setup
Pre-Task Recall
Before starting any significant task, the agent searches `memory/failures.md` for relevant history and surfaces known pitfalls:
⚠️ Known pitfall: Docker permission denied — check docker group membership first
Installation
Via ClawHub (recommended)
clawhub install failure-memory-log
Via Git
git clone https://github.com/VoidLight00/failure-memory.git
cp -r failure-memory /path/to/your/openclaw/workspace/skills/
Initialize
bash skills/fail
Related Skills
Engage.Memory
Cross-engagement pattern memory — recall prior techniques, record confirmed findings, housekeeping
Megavibe
Give Claude Code a memory that never dies. Persistent context, automatic recovery, remote access.
Memory Orchestrator
🧠 Five-layer memory system for OpenClaw agents — persistent, cross-session, cross-platform context that never
Claude Reflect System
Continual Learning & Self-improving skills system for Claude Code - learn from corrections, never repeat mista
Brain Add Pattern
Add an error pattern and solution to the brain's pattern store for automatic recognition
Incident Pattern Matcher
A Claude skill for SREs to identify recurring failure patterns across post-mortems and incident logs
Related Agents
Part 16: autoDream — Automatic Memory Consolidation
Note: OpenClaw 2026.4+ has a built-in dreaming system (Part 22) inside memory-core. If you're on 2026.4+, use
Cognitive Engineer
Agent cognition and memory systems expert. When to use: memory plugin design, decision-making models, agent ps
Memory Recall
Use this agent PROACTIVELY before starting complex, multi-step implementations or when encountering unfamiliar