From Glovebox
Route Claude Code's `!`-prefixed input-box commands through the glovebox sandbox so the user's terminal sees the same filesystem and state as Claude's Bash, Read, Write, and Edit tool calls. Activated by setting CLAUDE_CODE_SHELL to the bundled shim. Falls back transparently to /bin/bash when no glovebox sandbox is running.
How this skill is triggered — by the user, by Claude, or both
Slash command
/glovebox:shellThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
By default, `!cmd` typed in Claude Code's input box runs on the **host** — separate from the glovebox sandbox where Claude's tool calls execute. This skill ships a drop-in bash shim (`glovebox-bash.sh`) that routes those `!` commands through the newest running glovebox MSB sandbox so your input-box shell and Claude share the same state.
By default, !cmd typed in Claude Code's input box runs on the host — separate from the glovebox sandbox where Claude's tool calls execute. This skill ships a drop-in bash shim (glovebox-bash.sh) that routes those ! commands through the newest running glovebox MSB sandbox so your input-box shell and Claude share the same state.
Add an env.CLAUDE_CODE_SHELL entry to your project's .claude/settings.json (or .claude/settings.local.json for personal opt-in). The value must be an absolute path — Claude Code does not expand ${CLAUDE_PLUGIN_ROOT} or any other plugin-relative variable inside env.* values (only MCP/LSP/hook command fields support that).
The shim ships with this skill at:
!`echo "${CLAUDE_SKILL_DIR}/glovebox-bash.sh"`
Paste that absolute path into your settings:
{
"env": {
"CLAUDE_CODE_SHELL": "<paste the path above>"
}
}
Start (or restart) Claude Code from this project. From that point on, every ! command in the input box is routed through the glovebox sandbox.
-c <cmd>, bare command string, script file, interactive). Only -c <cmd> (and the equivalent bare-string form CC sometimes uses) is rewritten — every other form is deferred to real /bin/bash.printf '%s' '<b64>' | base64 -d | msb exec '<name>' -- bash) aren't double-wrapped.glovebox-* sandbox via msb list. If none is running, falls back to /bin/bash so unrelated terminal usage is unaffected.msb exec <sandbox> -- bash -c <cmd>.Remove the CLAUDE_CODE_SHELL entry from .claude/settings.json and restart Claude Code.
npx claudepluginhub jedi4ever/glovebox --plugin gloveboxProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.