By hesreallyhim
A comprehensive workbench for Claude Code mods: explore the mod API, trace the interaction of mods in a live session, and learn how to build your own mods from the ground up
npx claudepluginhub hesreallyhim/claude-mod-labRun mod API calls in a live session and inspect their results and dispatched events
Connects the browser explorer to Claude Code so you can run probes and inspect session activity
Triggers intentional hook failures so /mod-lab verify can check how Claude Code handles them
Records prompt box changes caused by history recall, clearing the draft, or plugin actions
Demonstrations of various rendering techniques for mods and how they are handled by different clients
Demonstrates animated raster graphics in a pane, updated with $.ui.blit without rerendering
Generates an image in a pane and updates its pixels with $.ui.blit
The session's tool calls as an SVG bar chart, if SVG is available, or as block glyphs on the terminal
Shows how a mod can handle clicks on links in a Markdown pane
Displays a popup card when you hover over a word, without running a hook on each hover
Displays a tool call count and the most recently used tool above the prompt box
Displays the duration of each tool call below its transcript entry
Automatically closes brackets in the prompt box and highlights matching pairs
Displays keystrokes above the prompt box for screen recordings and pairing
Expands shortcuts such as :tests: into saved prompts, with previews as you type
Highlights recognized slash commands, marks unknown commands, and previews completions in the prompt box
Highlights possible API keys in the prompt box and requires a second Enter press before submitting them
Saves drafts cleared with Ctrl+C so you can restore them with Tab
A skill that creates a working starter mod with hooks, types, tests, and a README
7-day visitors to each marketplace page
A comprehensive workbench for Claude Code mods. Explore the mod API, trace the interaction of mods in a live session, and learn how to build your own mods from the ground up.
https://github.com/user-attachments/assets/0f41d1df-0edc-4ccc-bb55-82bdbe605362
Requirements:
claude on your PATH for the launcherFrom a project folder where you'd like to explore the lab (or a scratch folder you've created), run:
npx claude-mod-lab run
This opens an interactive Claude Code session with the lab's plugins loaded and connects it to the explorer in your browser. The plugins are loaded for this session; no marketplace installation is required. Start with the Mod API's Try it flow, or type /mod-lab help in Claude Code for the command list.
The lab works across the terminal, desktop app, and VS Code, though mod APIs—especially UI features—vary by client and Claude Code version.
To use the lab in the desktop app or sessions started without the launcher, add the marketplace and install the bridge:
claude plugin marketplace add hesreallyhim/claude-mod-lab
claude plugin install mod-lab-bridge@claude-mod-lab
The bridge connects the session to the explorer and installs the lab as a dependency. Enable the plugin in your client and run /reload-plugins. /mod-lab opens the lab's client pane; /mod-lab explorer gives you the browser explorer's address or starts it if needed. Add --scope local to the install command to limit installation to the current project.
$), generated from locally available Claude Code TypeScript declarations. The session indicator shows the session and reference versions./mod-lab <probe>.A deep dive into how mods interact with a live session.
mod-lab serverThe local server serves the browser explorer and API reference. The mod-lab-bridge plugin connects a running Claude Code session to that server: it carries commands from the explorer into the session and sends results and session events back to the browser. Once connected, you can run probes, inspect activity, and use the lab's controls against that live session. Without a connection, you can still browse the available reference and lesson material.
[!TIP] You can use the lab in an existing Claude Code project. For building mods or working through lessons, we recommend a dedicated directory to keep your experiments and lesson files together. See Setting up lessons for the lesson workspace commands.
run accepts an existing project directory and forwards Claude Code options after --:
npx claude-mod-lab run ~/code/my-project -- --model haiku
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Plugins with agents, skills, and commands for Claude Code and six other coding tools. Local plugins are maintained as one Markdown source and adapted to each tool.