Skills

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

  1. Detect signal, identify which surface triggered this skill:
  • Pre-write violation, common-feedback-reporter violation block emitted with Auto-fixed: YES
  • User correction, user used correction language mid-session
  • Session retrospective, correction loop found during common-session-retrospective
  1. Redact, Remove credentials, customer identifiers, raw incident data and attacker-controlled instructions; retain only minimal evidence references
  2. Read AGENTS_LEARNING.md, count existing ## Agent Learning Log: Iteration headers → N
  3. Append entry, write Iteration #(N+1) using Log Entry Format; default candidate status is proposed, never approved
  4. 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
  5. Continue, correct the task; a learning entry does not authorize policy changes, promotion, or broader tool access

Preventive mechanism routing

Read the whole SKILL.md on GitHub

More in AI and agents