matrix
Reviewed
at commit b468b10
MATRIX: freezes a harmless tool call before it runs, shows what Claude intended, asks you, then continues or denies. /matrix on|off
0 upvotes
Log in to upvote or save- Made by
- ucsandman
- Pinned commit
-
b468b10503c9104109141c45f93f4a373160d9d1 - What we checked
-
Pauses any Bash command that contains the word "matrix" and asks you whether to let it run, deny it, or replace it with a harmless echo. It is a small demo of holding a tool call; it reads no files, makes no network calls and stores nothing beyond an on/off switch kept in memory.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the /matrix command and logs a line), command.run for /matrix on|off, and tool.call filtered to Bash commands matching /matrix/i. When armed, it logs a summary of the call, sets a status line and notice, and awaits $.ui.ask with Continue, Deny or Rewrite; Deny returns a deny result, Rewrite passes the call on with the command replaced by a fixed echo string, Continue passes it unchanged. In headless mode ask fails and it sleeps 3 seconds, then continues. No network, file, process or env access; state is a module variable only. The description says 'harmless tool call' while the filter is the word matrix in any Bash command, which is narrow and disclosed in the startup log.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/matrix/)