Continuous memory + self-improvement for AI agents. Learns how you work, recalls it automatically, no commands. Claude Code & Codex.
# Add to your Claude Code skills
git clone https://github.com/kurikomi-labs/komi-learnkomi-learn is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by kurikomi-labs. Continuous memory + self-improvement for AI agents. Learns how you work, recalls it automatically, no commands. Claude Code & Codex. It has 68 GitHub stars.
komi-learn's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/kurikomi-labs/komi-learn" and add it to your Claude Code skills directory (see the Installation section above).
komi-learn is primarily written in Python. It is open-source under kurikomi-labs on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh komi-learn against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Continuous memory and self-improvement for coding agents. It learns how you work and recalls it automatically, with no commands. Works with Claude Code and Codex.
It watches a session, distills durable lessons in the background (your style, your stack, fixes that worked), and loads the relevant ones at the start of the next session. No slash commands, nothing to save by hand.
The idea is from Hermes Agent; this is my own take, generalized across hosts with an optional shared layer (the community pool, below).
It's early. The core loop is built and CI-tested, but it hasn't been battle-tested across a lot of real sessions yet. Feedback and bug reports are welcome.
pip install komi-learn
komi-learn install # or: komi-learn install --host codex
install runs a short interactive setup, then recall and background learning start in your next session. If you already use Claude Code you're already logged in. For scripts, komi-learn install --yes takes the defaults.
From source:
git clone https://github.com/kurikomi-labs/komi-learn
cd komi-learn
pip install -e .
komi-learn doctor # check the install and what to fix
komi-learn update # upgrade komi-learn + the agent's hooks (--check to only look)
komi-learn status # config + how much it has learned
komi-learn config # change any setting (menu, or `config set <key> <val>`)
komi-learn sync # pull the latest community learnings
komi-learn queue # review/approve/reject what you'd contribute to the pool
komi-learn forget <x> # erase learnings matching <x> (archive, or --hard to delete)
komi-learn reclassify # re-scan memory; move newly-confidential learnings to private (.local)
komi-learn uninstall # remove the hooks (keeps your data; --purge to wipe)
You can change anything after install, e.g. komi-learn config set recall.semantic false or leave the pool with komi-learn config set pool.repo_url "".
It tries not to learn the wrong things. Secrets, machine-specific paths, one-off failures, and "tool X is broken" complaints are filtered out by a deterministic check before the LLM ever sees them.
A public pool of general agent lessons, stored as a GitHub repo of signed Markdown files (no server). If you opt in, you get lessons other people's agents figured out, and you can contribute your own.
Contributions are scrubbed of anything identifying and never leave your machine without your approval (each one opens a PR you reviewed). Learnings are content-addressed (BLAKE3) and signed (Ed25519); one signed by more distinct GitHub accounts ranks higher when pulled. That account count is Sybil-resistant but not Sybil-proof, so it's an advisory signal, not a hard trust gate. Recalled community items are labelled and treated as untrusted input. Details: pool-repo-template/CONTRIBUTING.md.
No setup or API key needed:
python examples/demo_loop.py
It runs two sessions: you correct the agent in the first, and the second shows it recalling that with nothing typed.
komi-learn login, or an API key via --api-key.komi-learn install verifies these with a real model call and stops with fix steps if something's missing. At runtime, if a hook can't reach the model it skips that learning pass rather than interrupting your session.
The engine has no required dependencies. Optional extras add real signing (pip install komi-learn[crypto]) and local semantic recall ([smart]); without them it falls back to a stdlib hash and keyword search.
To run your own pool, see pool-repo-template/.
MIT. Issues and PRs welcome.