Kulaxyz/self-learning-skills
845 stars · Last commit 2026-07-01
A self-improving skill for AI coding agents (Claude Code, Cursor, AGENTS.md): recognize a hard-won golden path in a session and harvest it into a reusable skill/rule for next time.
README preview
# self-learning-skills **A self-improving skill for AI coding agents.** Works with Claude Code, Cursor, and any agent that reads an `AGENTS.md` / standing-instructions file. Every session you do hard debugging or rediscover the same thing — *how do I reach the prod DB? where do the creds live? what's the deploy command? how do I verify this live?* — and that hard-won knowledge evaporates when the session ends. The next session starts from zero and re-learns it. **self-learning** fixes that. It teaches your agent to recognize the moment it has just earned a reusable **golden path** and persist it where the tool will auto-load it next time — so the next session starts already knowing the route instead of rediscovering it. It's a *meta-skill*: it doesn't do the work, it captures **how** the work got done — including the **failures**, since skipping a known dead-end next session is often worth more than the win itself. ## The loop (same everywhere)