/shipping-mode:spike-host-mcp-bridge --server <mcp-server> --tool <mcp-tool-or-full-tool-name> --input-file <json>from shipping-mode
Temporarily prove the Corte 3 P4-0 host-to-MCP transport bridge with one explicitly approved read-only MCP call.
Ships in shipping-mode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this temporary skill only for Corte 3 Plan 4 P4-0.
The skill deliberately does not pre-approve mcp__*. The user must inspect and
approve the selected read-only MCP tool through the normal Claude Code permission
flow. Never select a create, update, delete, transition, comment or other mutating
tool.
Claude Code substitutes ${CLAUDE_PLUGIN_ROOT}, ${CLAUDE_PLUGIN_DATA} and
${CLAUDE_PROJECT_DIR} directly into installed plugin skill content. The bridge
capture handlers are plugin-level hooks in hooks/hooks.json, not skill-scoped
hooks: the tested Claude Code 2.1.220 host permits ${CLAUDE_PLUGIN_DATA} for
plugin hooks but rejects it in skill hook commands. Every bridge entrypoint
therefore receives the same substituted directory explicitly through
--plugin-data-dir.
The plugin-level hooks run for matching MCP events while the plugin is enabled,
but capture remains challenge-scoped. When no pending request matches the exact
session, project, tool and input, the handler returns BRIDGE_UNAVAILABLE without
persisting an envelope or failure state.
Confirm CLAUDE_CODE_SESSION_ID is present in the Bash environment. Treat the
already-substituted ${CLAUDE_PLUGIN_DATA} path in these instructions as the
authoritative persistent data directory. Create it if needed, but do not print
its full contents or expose bridge.key.
Confirm the installed plugin includes its standard hooks/hooks.json; a
skill-only copy without the plugin hooks cannot perform P4-0.
Run:
node "${CLAUDE_PLUGIN_ROOT}/spikes/host-mcp-bridge/bridge-cli.mjs" cleanup-expired \
--plugin-data-dir "${CLAUDE_PLUGIN_DATA}"
Prepare exactly one challenge:
node "${CLAUDE_PLUGIN_ROOT}/spikes/host-mcp-bridge/bridge-cli.mjs" prepare \
--plugin-data-dir "${CLAUDE_PLUGIN_DATA}" \
--operation get \
--server <mcp-server> \
--tool <mcp-tool-or-full-tool-name> \
--project-root "${CLAUDE_PROJECT_DIR}" \
--expected-input-file <json>
Read the prepared output and invoke exactly one read-only MCP tool with the
returned toolInput. The full tool name must belong to the declared server.
Allow the plugin-level PostToolUse or PostToolUseFailure hook to record the
result. Both plugin hook commands receive the same substituted plugin data
directory through --plugin-data-dir; do not manually execute either capture
script.
Do not write to Jira or any external system.
Consume the envelope in the same Claude Code session:
node "${CLAUDE_PLUGIN_ROOT}/spikes/host-mcp-bridge/bridge-cli.mjs" consume \
--plugin-data-dir "${CLAUDE_PLUGIN_DATA}" \
--request-id <request-id> \
--project-root "${CLAUDE_PROJECT_DIR}"
Report the bounded consumed DTO or normalized bridge finding.
Run cleanup again with the same explicit --plugin-data-dir argument.
CLAUDE_CODE_SESSION_ID is unavailable.${CLAUDE_PLUGIN_DATA} remains literally unresolved or resolves to a
blank path instead of an installed-plugin data directory.BRIDGE_AMBIGUOUS, BRIDGE_INVALID, BRIDGE_EXPIRED,
BRIDGE_REPLAYED or BRIDGE_RECOVERY_REQUIRED.--data-root; that override is restricted to deterministic tests..planning/**.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
Other plugins' skills for the same job
/initInitialize a Shipping Mode project context.Generated from the plugin's indexed repository (adumun/shipping-mode) — no native marketplace selected
npx claudepluginhub p/cmartinezs-shipping-mode