Skip to content
TakoAPI
Back to skills

acc-error-memory

by impkind

Notes & PKM
816Downloads reported by clawskills.sh
3Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Error pattern tracking for AI agents.

Description

What This Skill Does

Tracks error patterns for AI agents across sessions. When a user corrects the agent, the skill logs the exchange, assigns a pattern name, and escalates severity as the same mistake recurs. Patterns clear automatically after 30 days without recurrence.

Unlike one-off corrections that an agent forgets next session, this skill persists mistake patterns in a state file so the same errors don't recur indefinitely.

When to Use It

  • Flagging an agent that repeatedly cites outdated software versions
  • Escalating tone mismatch errors to critical after three occurrences
  • Loading known error patterns at session start to pre-warn the agent
  • Reviewing which mistakes resolved after a 30-day clean period
  • Running scheduled transcript analysis to detect new correction signals

Example Workflow

INPUT

User asks: why does my agent keep stating wrong Python versions?

AGENT
  1. 1

    Run encode-pipeline.sh to extract recent user and assistant exchanges since the last watermark

  2. 2

    LLM screens exchanges via haiku-screen.sh and detects user correction signals

  3. 3

    Call log-error.sh with pattern 'factual_error', context, and mitigation note

  4. 4

    Run load-state.sh to confirm pattern severity and active count

  5. 5

    Add ACC_STATE.md load step to AGENTS.md session startup so the agent sees the pattern on next launch

OUTPUT

Pattern 'factual_error' logged at warning severity with mitigation 'Always verify version numbers via web search'

Installation

clawhub install impkind/acc-error-memory

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links