Tracks behavioral corrections and runs self-reflection protocols — captures correction rules from user feedback, promotes patterns through HOT/COLD tiers, and runs structured reflection sessions. Use when user says 'reflect', 'what did I learn', 'self-assess', 'audit memory', 'correction:', or 'I prefer X not Y'. Even if user just says 'reflect on that', 'remember my preference', or 'capture that correction' — use this skill. Do NOT use for 'evening reflection', 'end of day', or 'what did I do today' — those trigger the productivity skill's evening reflection workflow. Do NOT use for storing facts or reference information — use the recall skill for that.
From tandemnpx claudepluginhub binatrixai/tandem-marketplace --plugin tandemThis skill uses the workspace's default tool permissions.
evals/evals.jsonreferences/audit-format.mdreferences/rule-schema.mdreferences/tier-algorithm.mdDispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Executes pre-written implementation plans: critically reviews, follows bite-sized steps exactly, runs verifications, tracks progress with checkpoints, uses git worktrees, stops on blockers.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
Behavioral-rules layer that complements the recall plugin. Recall stores facts and context; self-improving stores correction-derived behavioral rules. Data lives in ~/self-improving/ (not in the skill directory, not in recall's memory/). Three tier files: rules.md (new/unconfirmed rules), hot.md (confirmed 3+ times in 7 days), cold.md (archived 30+ days unused). Reflection sessions saved in ~/self-improving/reflections/YYYY-MM-DD.md. Rule metadata tracked in ~/self-improving/meta.json. Full algorithm details in references/.
On any self-improving action, check if ~/self-improving/ exists. If not:
# Rules\n\n# Hot Rules\n\n# Cold Rules\n\n{}Then load ~/self-improving/hot.md to apply active rules immediately.
Triggers: "reflect", "reflect on that", "reflect deeply", "what did I learn", "self-assess". Do NOT trigger on "evening reflection", "end of day", "what did I do today" — those belong to the productivity skill's Evening Reflection workflow.
Steps:
# Reflection: YYYY-MM-DD [HH:MM]
## What Went Well
[1-3 sentences]
## What Went Poorly
[1-3 sentences]
## Lesson
[One reusable takeaway — generalized from the specific task]
*Task context: [brief description of what was being done]*
Triggers:
Steps for every capture:
rule-a1b2c3d4)## Rule: [short human-readable title]
**ID:** rule-[8-char hex]
**Trigger:** [situation that causes this to matter]
**Action:** [what to do (or avoid) in that situation]
**Source:** [verbatim correction or "reflection YYYY-MM-DD"]
**Created:** YYYY-MM-DD
{ "created_at": today, "last_used": today, "use_count": 0, "tier": "rules" }When a rule from hot.md or rules.md influences a response:
Silent acceptance counts as confirmation. If user explicitly corrects a rule, do NOT increment — that correction may spawn a new rule instead.
Full algorithm detail: see references/tier-algorithm.md
Triggers: "audit memory", "audit rules", "review my rules".
Steps:
Every tier change is reported to the user — no silent moves between files.
Write ONLY to ~/self-improving/ files: rules.md, hot.md, cold.md, meta.json, reflections/*.md. NEVER write to memory/, CLAUDE.local.md, or any recall-managed path. Read memory/ only for duplicate check (grep, read-only). Degrade gracefully if memory/ absent.