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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.