What is rex?
rex is a Claude Code mod by KingMichaelPark. Rex terminal integration: run, edit or skip commands that leave the sandbox in a short-lived Rex pane, and watch each sub-agent work in its own Rex tab. It is listed under Security and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | KingMichaelPark |
| Repository | KingMichaelPark/claude-mods |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | High risk (44/100) |
| Rank | #3,777 of 9,397 Claude Code mods; #464 in Security |
| Last commit | 2026-11-25 |
| Hooks | 8 events |
| Sees | Bash calls, every prompt, every tool call, subagent spawns |
| Draws on | nothing |
Is rex safe to install?
rex scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 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 |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.check | |
$.ui.log | draws interface |
$.ui.status | draws interface |
How do I install rex?
- 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/KingMichaelPark/claude-mods claude plugin validate ./claude-mods/rex
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add KingMichaelPark/claude-mods && claude plugin install rex@mike-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs rex for you:
Install the "rex" Claude Code mod from https://github.com/KingMichaelPark/claude-mods/tree/main/rex. Run claude plugin validate on it first and show me what it can access before you enable it.
More from KingMichaelPark/claude-mods
This repository has 3 Claude Code mods on MCPMods.
- model-router: Uses Haiku to pick Opus, Sonnet or Haiku for each sub-agent (Low risk)
- usage-meter: Minimal band: model, context tokens and estimated session cost, coloured by context fill (Low risk)