shell-mode

shell-mode is a Claude Code mod by h1048576 that 用 /shell-mode 切换 Bash 模式,连续执行命令并显示颜色,退出后将输出保留在 CLI 中.

Updated 2026-10-15

What is shell-mode?

shell-mode is a Claude Code mod by h1048576 that 用 /shell-mode 切换 Bash 模式,连续执行命令并显示颜色,退出后将输出保留在 CLI 中. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorh1048576
Repositoryh1048576/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityHigh risk (56/100)
Rank#3,321 of 5,272 Claude Code mods; #1,374 in Interface
Last commit2026-10-15
Hooks7 events
Seesonly the events it hooks
Draws onCommandOutput, UserMessage, Pane

Is shell-mode safe to install?

shell-mode scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.cwd
$.ui.closedraws interface
$.ui.focusdraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws interface
$.ui.toastdraws interface

How do I install shell-mode?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/h1048576/claude-mods
    claude plugin validate ./claude-mods/shell-mode
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/h1048576/claude-mods && claude --plugin-dir ./claude-mods/shell-mode

Or ask Claude to set it up

Paste this into Claude Code and it installs shell-mode for you:

Install the "shell-mode" Claude Code mod from https://github.com/h1048576/claude-mods/tree/main/shell-mode. Run claude plugin validate on it first and show me what it can access before you enable it.

More from h1048576/claude-mods

This repository has 3 Claude Code mods on MCPMods.

  • codebuddy: 读取本机 CodeBuddy 登录信息,在底部状态区域显示剩余积分、总积分和今日用量 (High risk)
  • show-mode: hidden 模式仅展示当前思考,回合结束清理临时显示,并保存文件 diff 与思考过程供回看;显式指定 off/hidden 切换 (Low risk)