claudemods

All Claude Code modsh1048576/claude-mods

shell-mode

A Claude Code mod in h1048576/claude-mods

用 /shell-mode 切换 Bash 模式,连续执行命令并显示颜色,退出后将输出保留在 CLI 中

review UI rewrite

shell-mode reaches L2 (writes or runs) and passed claude plugin validate with warnings on Claude Code 2.1.302.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, drives Claude, reads files, reads env vars, draws

Validation

Passed with warnings on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, command.run {command=shell-mode}, command.describe {command=shell-mode-output}, command.run {command=shell-mode-output}, ui.render {component=CommandOutput}, ui.render {component=UserMessage}, ui.input {plugin=shell-mode, element=shell-command, requestId=shell-console}, ui.render {component=Pane, requestId=shell-console}, ui.close {id=shell-console}, session.end
API calls
$.command.register, $.command.run, $.env.get, $.fs.exists, $.fs.read, $.fs.write, $.process.run, $.session.cwd, $.ui.close, $.ui.focus, $.ui.invalidate, $.ui.open, $.ui.resolve, $.ui.scroll, $.ui.toast
Validation on 2.1.302
Passed with warnings
Scanned revision
be6350e05552
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. shell-mode/hooks/output.ts:146, shell-mode/hooks/register.ts:20, shell-mode/hooks/register.ts:70, shell-mode/hooks/register.ts:165

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from h1048576/claude-mods

Badge for your README

Reach badge for shell-mode Validation badge for shell-mode

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/h1048576--claude-mods--shell-mode-reach.svg)](https://mods.aidojo.si/mods/h1048576--claude-mods--shell-mode/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/h1048576--claude-mods--shell-mode-validates.svg)](https://mods.aidojo.si/mods/h1048576--claude-mods--shell-mode/)