acc-error-memory
由 impkind 提供
Notes & PKM简介
Error pattern tracking for AI agents.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: why does my agent keep stating wrong Python versions?
- 1
Run encode-pipeline.sh to extract recent user and assistant exchanges since the last watermark
- 2
LLM screens exchanges via haiku-screen.sh and detects user correction signals
- 3
Call log-error.sh with pattern 'factual_error', context, and mitigation note
- 4
Run load-state.sh to confirm pattern severity and active count
- 5
Add ACC_STATE.md load step to AGENTS.md session startup so the agent sees the pattern on next launch
Pattern 'factual_error' logged at warning severity with mitigation 'Always verify version numbers via web search'
安装
clawhub install impkind/acc-error-memory运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。