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.
| Type | Claude code mod |
|---|---|
| Author | h1048576 |
| Repository | h1048576/claude-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | High risk (56/100) |
| Rank | #3,321 of 5,272 Claude Code mods; #1,374 in Interface |
| Last commit | 2026-10-15 |
| Hooks | 7 events |
| Sees | only the events it hooks |
| Draws on | CommandOutput, 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.ui.close | draws interface |
$.ui.focus | draws interface |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.toast | draws interface |
How do I install shell-mode?
- 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/h1048576/claude-mods claude plugin validate ./claude-mods/shell-mode
- 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.