What is trial-run?
trial-run is a Claude Code mod by ilovepixelart that puts risky shell commands on trial: a prosecutor, a defense and a judge argue in a pane. A guilty verdict stops the command; an acquittal leaves it to your own permission rules. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | ilovepixelart |
| Repository | ilovepixelart/trial-run-mod |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (72/100) |
| Rank | #3,423 of 5,272 Claude Code mods; #1,420 in Interface |
| License | MIT |
| Last commit | 2026-10-13 |
| Hooks | 8 events |
| Sees | classic hooks, every prompt |
| Draws on | Pane, AbovePrompt, Spinner, ToolResult, ToolGroup |
Is trial-run safe to install?
trial-run scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 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 no files or config | Pass |
| 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 |
|---|---|
$.audio.play | plays audio |
$.audio.speak | plays audio |
$.clock.after | |
$.clock.sleep | |
$.command.register | |
$.fs.list | reads files |
$.fs.stat | reads files |
$.model.complete | drives Claude |
$.process.run | runs processes |
$.session.messages | reads the transcript |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
How do I install trial-run?
- 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/ilovepixelart/trial-run-mod claude plugin validate ./trial-run-mod/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add ilovepixelart/trial-run-mod && claude plugin install trial-run@trial-run-mod
Or ask Claude to set it up
Paste this into Claude Code and it installs trial-run for you:
Install the "trial-run" Claude Code mod from https://github.com/ilovepixelart/trial-run-mod. Run claude plugin validate on it first and show me what it can access before you enable it.