What is mod-lab?
mod-lab is a Claude Code mod by achapla that 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. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | achapla |
| Repository | achapla/cc-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (60/100) |
| Rank | #2,482 of 5,272 Claude Code mods; #1,043 in Interface |
| License | MIT |
| Last commit | 2026-10-06 |
| Hooks | 18 events |
| Sees | compaction, every prompt, every skill, every tool call, subagent spawns, the system prompt |
| Draws on | Pane |
Is mod-lab safe to install?
mod-lab scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; watches every prompt or event. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.agent.spawn | drives Claude |
$.clock.after | |
$.command.list | |
$.command.register | |
$.config.list | |
$.fs.list | reads files |
$.fs.write | writes files |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.prompt.compose | |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.session.append | |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.model | |
$.session.repo | |
$.session.root | |
$.session.surfaces | |
$.session.turns | |
$.session.usage | |
$.session.version | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
How do I install mod-lab?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/achapla/cc-mods claude plugin validate ./cc-mods/mod-lab
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add achapla/cc-mods && claude plugin install mod-lab@cc-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs mod-lab for you:
Install the "mod-lab" Claude Code mod from https://github.com/achapla/cc-mods/tree/main/mod-lab. Run claude plugin validate on it first and show me what it can access before you enable it.
More from achapla/cc-mods
This repository has 8 Claude Code mods on MCPMods.
- danger-check: Asks you before a command that can destroy work, such as rm -rf, git reset --hard or git push --force. (Low risk)
- done-sound: Plays a sound, picked by chance from the ones you chose, when a long turn ends and when Claude waits for your answer. (Review before installing)
- no-new-branch: Asks you before any command that would create a new git branch or worktree. (Low risk)
- no-process-kill: Asks you before any command that would stop a running process. (Low risk)
- pnpm-only: Blocks npm and npx commands and tells Claude the pnpm command to use instead. (Low risk)
- prompt-snippets: Replaces short names such as ;plan in your prompt with longer texts that you saved. (Low risk)
- usage-line: Shows live session cost, context use, and the 5-hour and weekly limits with their pace in one line above the prompt. (Low risk)