mod-lab
by Anand Chapla · ★ 0 · updated today
Shows what mods can do: a live list of events, a dump of what a mod can read, and demos you run with one press.
Install
/plugin marketplace add achapla/cc-mods/plugin install mod-lab@cc-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runtool.calltool.checkprompt.submitprompt.contextprompt.composeprompt.attachmentskill.promptagent.spawnturn.startturn.stepturn.completesession.appendsession.measuresession.compactsession.endui.render- API calls
$.agent.list$.agent.spawn$.clock.after$.command.list$.command.register$.config.list$.fs.list$.fs.write$.model.complete$.model.fork$.process.run$.prompt.compose$.prompt.fill$.prompt.read$.session.append$.session.cwd$.session.id$.session.messages$.session.model$.session.repo$.session.root$.session.surfaces$.session.turns$.session.usage$.session.version$.settings.read$.state.get$.state.set$.store.get$.store.keys- Draws
Pane- Can see
every tool callevery promptthe system promptevery skillsubagent spawnscompaction- Reach
- level 2 of 3 other: $.prompt.composeother: $.prompt.readother: $.state.getother: $.state.setruns processeswrites filesdrives Claudewrites the prompt boxreads filesreads settingsreads the transcriptpersists state
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/achapla/cc-mods
- Path in repo
mod-lab- Source commit
743bfa0the exact code the scan read- Author
- Anand Chapla @achapla
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from achapla/cc-mods
danger-check
achapla/cc-mods
Asks you before a command that can destroy work, such as rm -rf, git reset --hard or git push --force.
done-sound
achapla/cc-mods
Plays a sound, picked by chance from the ones you chose, when a long turn ends and when Claude waits for your answer.
no-new-branch
achapla/cc-mods
Asks you before any command that would create a new git branch or worktree.
no-process-kill
achapla/cc-mods
Asks you before any command that would stop a running process.
pnpm-only
achapla/cc-mods
Blocks npm and npx commands and tells Claude the pnpm command to use instead.
prompt-snippets
achapla/cc-mods
Replaces short names such as ;plan in your prompt with longer texts that you saved.
usage-line
achapla/cc-mods
Shows live session cost, context use, and the 5-hour and weekly limits with their pace in one line above the prompt.