mod-lab

by Anand Chapla · ★ 0 · updated 6 Oct 2026

PanesStatus lineGuardsCommandsPromptTools & agentsvalidates

0

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 mod-lab

Install

/plugin marketplace add achapla/cc-mods
/plugin install mod-lab@cc-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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$.store.set$.tool.list$.tool.register$.ui.ask$.ui.close$.ui.copy$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
Pane
Can see
every tool callevery promptthe system promptevery skillsubagent spawnscompaction
Reach
level 2 of 3 runs processeswrites filesdrives Claudewrites the prompt boxwrites the clipboardreads filesreads settingsreads the transcriptreads the prompt boxreads the system promptreads mod statepersists statedraws

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
743bfa0 the 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.

★ 0GuardsAutomation

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.

★ 0GuardsCommandsAutomation

no-new-branch

achapla/cc-mods

Asks you before any command that would create a new git branch or worktree.

★ 0Guards

no-process-kill

achapla/cc-mods

Asks you before any command that would stop a running process.

★ 0Guards

pnpm-only

achapla/cc-mods

Blocks npm and npx commands and tells Claude the pnpm command to use instead.

★ 0Guards

prompt-snippets

achapla/cc-mods

Replaces short names such as ;plan in your prompt with longer texts that you saved.

★ 0ToastsCommandsPrompt

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.

★ 0BandsCommandsPrompt