We open-sourced the skill that makes our agents learn on their own
At Veriddan AI Studio we run a handful of ventures with Claude Code agents doing most of the day-to-day work. One skill made a real difference in how those agents behave over time, so we're giving it away: self-learning-agent.
The problem. Agents forget. I kept explaining the same deploy trap every few weeks. Skills went stale when a path or version changed. Memory notes piled up as duplicates that contradicted each other.
What it does. It reads your agent's own finished sessions (Claude Code, and Codex if you use it) and learns from them:
- Stop repeating yourself. Work you keep doing becomes a skill, but only after it shows up in 3+ sessions across 2+ weeks, and only if no existing skill covers it.
- Skills that actually work. Before a skill is added, it's tested against your real past sessions, including one it never saw while being written. If it wouldn't have gotten the work right, it doesn't ship.
- Gets better every week. Skills that fail get fixed, duplicates get merged, unused ones get retired. Correct a fact once and every memory note that still says the old thing is fixed.
How it runs. Locally, through the claude CLI on your subscription: no API key, no server, zero dependencies. It never deletes anything (backups + _archive/), redacts secrets and scans for prompt injection before writing, and --dry shows a full run without changing a thing.
It complements Anthropic's skill-creator: skill-creator helps you write a skill; this decides which skills should exist and keeps them alive.
Free download: github.com/leandromaiam-code/self-learning-agent Install: npx skills add leandromaiam-code/self-learning-agent, then ask your agent to "learn from our sessions" (try --dry first).
Curious how others here handle agent memory and skill rot. Feedback and PRs welcome.







Comments
0 comments