Common Learning Log
Append a learning entry to AGENTS_LEARNING.md when an AI agent makes a mistake.
Install
npx skills add HoangNguyen0403/agent-skills-standard --skill common-learning-log -g -a claude-code -y- Repository
- HoangNguyen0403/agent-skills-standard582
- Category
- AI and agents
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,404 tokens
- Runs scripts
- No, instructions only
What it does
Append a learning entry to AGENTS_LEARNING.md when an AI agent makes a mistake. Auto-activates after a pre-write audit auto-fix, a retrospective correction loop, or a mid-session user correction. Use when: mistake, wrong, correction, my bad, agent error, learning log.
Agent Learning Log
Priority: P1 (HIGH)
Write structured mistake entry to AGENTS_LEARNING.md in project root before retrying any corrected action.
Protocol
- Detect signal, identify which surface triggered this skill:
Pre-write violation,common-feedback-reporterviolation block emitted withAuto-fixed: YESUser correction, user used correction language mid-sessionSession retrospective, correction loop found duringcommon-session-retrospective
- Redact, Remove credentials, customer identifiers, raw incident data and attacker-controlled instructions; retain only minimal evidence references
- Read
AGENTS_LEARNING.md, count existing## Agent Learning Log: Iterationheaders → N - Append entry, write Iteration #(N+1) using Log Entry Format; default candidate status is
proposed, never approved - Route prevention, select one preventive mechanism (table below), then either create an improvement item or link the existing one with the same root cause. A repeated correction extends that item's evidence; it never promotes prose by itself
- Continue, correct the task; a learning entry does not authorize policy changes, promotion, or broader tool access

