trial-run

by ilovepixelart · ★ 0 · updated 4 days ago

PanesBandsReskinsGuardsCommandsPromptAudiovalidates

0

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.

install trial-run

Install

/plugin marketplace add ilovepixelart/trial-run-mod
/plugin install trial-run@trial-run-mod

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.startclassic.SessionStartcommand.runtool.describeturn.completeprompt.submittool.checkui.render
API calls
$.audio.play$.audio.speak$.clock.after$.clock.sleep$.command.register$.fs.list$.fs.stat$.model.complete$.process.run$.session.messages$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.open$.ui.resolve
Draws
PaneAbovePromptSpinnerToolResultToolGroup
Can see
classic hooksevery prompt
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdrives Claudereads filesreads the transcriptplays audiopersists 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/ilovepixelart/trial-run-mod
Path in repo
repository root
Source commit
57ad8bb the exact code the scan read
Author
@ilovepixelart
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.