Skill Issue ›
Browse Skills ›
Learning to rule or skill
Learning to rule or skill
Learning to rule or skill is an AI agent skill from the GitHub repository event4u-app/agent-config . Use when a repeated learning, mistake, or successful pattern should be turned into a new rule or skill. Also use after completing a task to capture learnings from the work.
How to use this skill
Claude Code: save it as .claude/skills/learning-to-rule-or-skill/SKILL.md
Cursor: save it as .cursor/rules/learning-to-rule-or-skill.md
Codex: save it as .agents/skills/learning-to-rule-or-skill/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
learning-to-rule-or-skill
When to use
Use this skill when:
A repeated mistake appears across multiple tasks
A successful pattern should be reused in the future
A new constraint or workflow should be captured permanently
Reviewing post-task learnings or retrospectives
Deciding whether a learning belongs in a rule or a skill
After completing a task — reflecting on what worked or caused friction
Mining the audit log (agents/runtime/state/audit/<YYYY-MM>.jsonl,