Install
/plugin marketplace add bytesbrains/cruise-claude-plugin
/plugin install cruise@bytesbrains
Put a Cruise key in your environment — a shell profile or a secret manager, not a settings file — and restart Claude Code:
Power your agent
Lệnh của chính nhà phát hành. Không phải endpoint của PlugMCP.
Host a copy with our keys and logs.
npx -y @bytesbrains/[email protected]Claude Code không có liên kết cài đặt cho lệnh cục bộ. Sao chép lệnh bên dưới và chạy trong terminal.
claude mcp add bytesbrains-claude-code-cruise -- npx -y @bytesbrains/claude-code-cruise@0.1.17Chạy trong terminal.
{ "mcpServers": { "bytesbrains-claude-code-cruise": { "command": "npx", "args": [ "-y", "@bytesbrains/[email protected]" ] } }}claude_desktop_config.json
URL từ xa hay một lệnh trên máy của bạn? Hai cách cài đặt khác nhau thế nào
Chạy trên PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
MởTừ nhà phát hành
/plugin marketplace add bytesbrains/cruise-claude-plugin
/plugin install cruise@bytesbrains
Put a Cruise key in your environment — a shell profile or a secret manager, not a settings file — and restart Claude Code:
BytesBrains Cruise for Claude Code: your key's models, budget and spend over MCP, a skill for lanes and refusals, a spend status line, and guided setup. The package root is the plugin root, for a marketplace's npm source.
export CRUISE_API_KEY=cru_live_…
Then run /cruise:setup. It checks the key, confirms the MCP server answers, and — only if
you agree — routes Claude Code's own model requests through Cruise and adds the spend status line.
To try it without spending anything, use the demo: export CRUISE_BASE_URL=https://cruise-demo.bytesbrains.net
with a cru_demo_ key.
Every release is also published to npm as
@bytesbrains/claude-code-cruise,
at the same version as the marketplace. Releases from v0.1.4 on are published by this repo's
release workflow, with provenance
linking the package to the commit it was built from. The package is for your own marketplace,
for example an internal one that pins versions or mirrors a registry. Point an entry at it:
{ "name": "cruise", "source": { "source": "npm", "package": "@bytesbrains/claude-code-cruise" } }
When a Claude subscription is expired or quota is exhausted, or when Claude Code is locked out by an authentication helper failure because CRUISE_API_KEY was not exported in a new terminal, Claude Code fails before it can execute any prompt or slash command. To resolve this offline:
# Run Claude on-demand through Cruise without touching global settings
npx @bytesbrains/claude-code-cruise@latest run [args...]
# or binary alias:
claude-cruise [args...]
# Enable Cruise gateway routing & status line globally
npx @bytesbrains/claude-code-cruise@latest enable
# Or configure Cruise for the current repository only (./.claude/settings.json)
npx @bytesbrains/claude-code-cruise@latest enable --local
# Switch active model or lane (globally or locally with --local)
npx @bytesbrains/claude-code-cruise@latest switch bb/agentic-coding
# Check current gateway status and auto-upgrade legacy settings
npx @bytesbrains/claude-code-cruise@latest status
# Safely revert to standard Anthropic routing offline
npx @bytesbrains/claude-code-cruise@latest disable
Slash commands run through the active model, but /cruise:disconnect does not: a plugin hook
runs it on your machine before the prompt is sent (and only for that command), so a missing, expired or refused
CRUISE_API_KEY, an exhausted budget or an unreachable gateway cannot block it
(#45). If hooks are turned off
(disableAllHooks), quit Claude Code and run npx @bytesbrains/claude-code-cruise@latest disable
instead. Both remove Cruise lanes and pinned provider models (provider/model) from every model
setting, so native routing starts clean.
Keep the @latest: without it, npx reuses whatever older copy it has cached, and one from
before v0.1.15 reports "Cruise routing is not active" and leaves a stale provider/model in
place (#40).
Once /cruise:setup (or /cruise:connect) reports the MCP server answering:
/cruise:connect → Enable Cruise gateway routing and status line in 1 step/cruise:disconnect → Revert to native Anthropic subscription routing/cruise:models → View reachable models, lanes, and pricing/cruise:status (or /cruise:budget) → Inspect current budget, wallet balance, and serve/refuse status/cruise:spend [month] → Breakdown monthly spend by lane and model (e.g. /cruise:spend 2026-09)/cruise:switch <model-or-lane> → Switch active model (e.g. /cruise:switch bb/agentic-coding)/cruise:update → Update Cruise plugin to latest release and refresh status linelist_modelsget_budgetget_spendbudget_exhausted. What does that mean and what should I do?" → the
cruise skill, which explains every refusal codeThe tools read only your key's own project and never change anything.
To stop routing Claude Code through Cruise, remove the keys /cruise:setup added to
~/.claude/settings.json: the ANTHROPIC_* and CLAUDE_CODE_* entries under
env, plus apiKeyHelper and statusLine.
bb/agentic-coding),
x-cruise-session pins member model selection across multi-turn agent sessions (1-hour sliding
inactivity TTL), preserving upstream prompt caching instead of redrawing a member model each turn.x-cruise-class: agentic tags Claude Code requests in the Cruise
cost ledger, keeping agentic coding spend distinct from interactive chat or batch pipelines.This repository is the source of the plugin. Develop, test and release it here. A change is a
pull request here, and a bug or request is an issue here. npm ci && npm test runs the plugin's
contract tests. CONTRIBUTING.md covers the checks and how a release is cut.
To report a vulnerability, see SECURITY.md.
Apache-2.0; see NOTICE. The plugin carries the same text in
plugins/cruise/, because that directory is all an install copies.
The license covers this plugin's code only. The Cruise service is governed by the terms of service
of BytesBrains Pte. Ltd., and the BytesBrains and Cruise names are not licensed. Releases up to
v0.1.1 keep the licence they shipped with.
BytesBrains Cruise for Claude Code: your key's models, budget and spend over MCP, a skill for lanes and refusals, a spend status line, and guided setup. The package root is the plugin root, for a mark
{ "mcpServers": { "bytesbrains-claude-code-cruise": { "command": "npx", "args": [ "-y", "@bytesbrains/[email protected]" ] } }}Tổng quan
BytesBrains Cruise for Claude Code: your key's models, budget and spend over MCP, a skill for lanes and refusals, a spend status line, and guided setup. The package root is the plugin root, for a marketplace's npm source.
Công cụ
Chưa có danh sách công cụ. Máy chủ từ xa sẽ có danh sách sau lần kiểm tra tình trạng đầu tiên.
Câu hỏi thường gặp
Sao chép cấu hình stdio cho Cursor, Claude Desktop, Claude Code hoặc VS Code trên trang này. Cấu hình dùng bản cài đặt của nhà phát hành, không phải proxy của PlugMCP.
Bản ghi này không liệt kê biến môi trường bắt buộc nào.
@bytesbrains/claude Code Cruise chạy cục bộ qua stdio.
Kiểm tra lần cuối: 2026-10-28. BytesBrains Cruise for Claude Code: your key's models, budget and spend over MCP, a skill for lanes and refusals, a spend status line, and guided setup. The package root is the plugin root, for a marketplace's npm source.