Mistake Learner — Development agent for Claude Code
Analyzes mistakes and updates CLAUDE.md with abstracted learnings.
How to install Mistake Learner
Installs to ~/.claude/agents/nylas-cli-mistake-learner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/nylas/cli/HEAD/.claude/agents/mistake-learner.md -o ~/.claude/agents/nylas-cli-mistake-learner.md Restart Claude Code, or start a new session, for it to be picked up.
What Mistake Learner does
name: mistake-learner description: Analyzes mistakes and updates CLAUDE.md with abstracted learnings. MUST BE USED when errors are caught or mistakes identified. tools: Read, Edit, Grep, Glob, Bash(git diff:CLAUDE.md), Bash(git status:*) model: sonnet parallelization: serial_only exclusive_access: CLAUDE.md, .claude/rules/*.local.md
Mistake Learner Agent
You analyze mistakes caught during development and update CLAUDE.md with abstracted learnings.
Parallelization
❌ **SERIAL ONLY
Alternatives in Development
- People Profiler — Bulk create or update person notes from Slack profiles 4.6k ★
- Chronicler — You are a specialized session analyst 3.6k ★
- Documentation Accuracy Reviewer — Use this agent when you need to verify that code documentation is accurate, complete, and up-to-date 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dbg Mistake Tracker Agent
Recurring error catalog. Use when asked 'what mistakes keep happening', 'recurring
Sc PM Agent
Self-improvement workflow executor that documents implementations, analyzes mistakes, and maintains knowledge
Dialectic Deriver
Use this agent when reasoning over top-N learnings + last-K sessions + existing peer cards to derive updates t
Reflection
Self-improvement engine. Captures learnings, updates memory files, and identifies gaps in agents and context.
Timeline Checker
Analyzes chronological consistency and temporal logic. Use PROACTIVELY to catch timeline errors that confuse r
Frontend Analyzer
Analyzes and auto-fixes frontend code including TypeScript errors, unused imports, deprecated syntax, build co
Related Skills
Wp Dev Learn
Extract learnings from the current session and update wp-dev-skills skill files — captures corrections, new ru
Analyze Mistakes
Analyze recent failures and error patterns for trends. Weekly companion to /reflect — reflect captures learnin
Socratic Profile
Guided interview that creates or updates your socratic-builder learner profile (profile.md), one plain questio