VoidLight00

Failure Memory — Development skill for Claude Code

Development community

🧠 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.

[![ClawHub](https://img.shields.io/badge/ClawHub-failure--memory--log-blue?style=flat-square)](https://clawhub.com/skills/failure-memory-log) [![License: MIT](https://img.shields.io/badge/License-MIT-green?style=flat-square)](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:

  1. Recording every failure with context, root cause, and resolution
  2. Recalling relevant past failures before starting similar tasks
  3. 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