Claude Code's Code Mode as a mod: one repl tool runs JavaScript in a persistent kernel with $, file, edit, write, tools and agent(). Preferred beside the other tools, or the one way to work when the session denies them.
self-compact
kzarzycki/claude-mods
Compaction at task boundaries: the model can ask to compact once its turn ends. Above a fill threshold it is asked whether to, after a turn decision-model judges a finished task, or, without decision-model, with each prompt.
eval-kernel
kzarzycki/claude-mods
A persistent JavaScript kernel the model drives with one eval tool: state survives between cells, and cells call Claude Code tools, models and subagents.