cli-bridge
БесплатноЗапускает вложенные скриптыНе проверенManage short-code bundles that authorize the local starchild CLI to talk to this agent, including the agent-shell local-exec channel and the local MCP proxy…
от Starchild-ai-agent★ 34 звезды на GitHubОб этом скилле
cli-bridge — issue CLI bundles for the user's own starchild binary
This skill mints a fresh AKM key (scope=chat:bridge:cli) on the local
clawd, then registers it with sc-chatroom in exchange for a short opaque
code (sc_xxxxxxxx). The bundle handed to the user contains only that
short code — never the AKM secret, never the Fly machine id.
+----------------+ POST /agent/chat/stream +-----------------+
| starchild CLI | Bearer sc_xxxxxxxx | sc-chatroom |
| (user laptop) | --------------------------> | (gateway) |
+----------------+ +--------+--------+
|
resolves sc_… → AKM + container_id
|
v
POST /chat/stream (Bearer sk_…
+ fly-force-instance-id)
+----------------------+
| user's own clawd |
| (Fly internal) |
+----------------------+
Why a short code instead of the raw AKM?
Earlier versions baked the AKM secret + Fly machine id into the bundle directly. That worked but had two downsides — the bundle leaked routing metadata when decoded, and any party that ever held the bundle held a permanent AKM secret. The short-code form fixes both:
- Bundle base64 decodes to
{d, c:"", k:"sc_…", s, exp, l}— no secret, no Fly machine id. cli-revoke <sc_…>kills just the short code; the underlying AKM stays alive (usecli-revoke --akm <prefix>to nuke that too).- sc-chatroom now holds the AKM secret in its DB. That's a deliberate trust shift — the AKM stays inside Fly's internal network instead of riding around on user laptops.
Scope boundary — read this first
cli-bridge covers exactly one path: the user's local CLI talking 1:1
to that user's own clawd. It is not a chatroom membership credential.
| Use case | Right credential | Wrong |
|---|---|---|
| Personal CLI ↔ own clawd (this skill) | chat:bridge:cli AKM, fronted by sc_… code |
— |
| Join an sc-chatroom room | chat:thread:chatroom-{room_id} AKM via chatroom join |
chat:bridge:cli AKM |
| Browse a public room as a guest | no credential needed | any AKM |
Install the CLI
The rest of this skill assumes starchild is on the user's $PATH — install
it first if it isn't.
One-liner (auto-detects OS + arch)
curl -fsSL https://workroom.iamstarchild.com/install/cli | bash
Picks the right binary for darwin/linux × arm64/amd64, drops it on
$PATH (Apple Silicon lands in /opt/homebrew/bin; Linux falls back to
~/.local/bin; sudo only when the dir isn't user-writable), patches the
user's shell rc if the install dir wasn't already on $PATH, and runs
starchild --version as a self-check. SHA256 etag means re-running is a
cheap "already current" no-op (HTTP 304, no download). Source for review:
tools/install-cli.sh
(__SERVER_URL__ is rewritten at request time).
Homebrew
brew tap starchild/tap https://github.com/Starchild-ai-agent/homebrew-tap
brew trust starchild/tap
brew install starchild
The starchild formula ships binaries for macOS (arm64 / amd64) and
Linux (arm64 / amd64) — brew install picks the right one for the host.
The formula has no bottle block, so install runs a tiny Ruby script that
downloads the prebuilt binary from the server (workroom.iamstarchild.com)
and drops it on $PATH — there's no local compile step. To upgrade later:
brew update && brew upgrade starchild.
Linux caveat: Homebrew itself works on Linux, but expects a Ruby +
build toolchain (one-time apt install build-essential ruby / distro
equivalent). For a Linux host, the oneliner above skips that and is
functionally identical, so prefer it unless the user is already a brew
user. starchild-app (the desktop workspace) is macOS-only — that
formula builds from source (rust + node) and only the macOS build is
meaningful.
Verify
starchild --version
If you just ran the one-liner and your shell still says command not found,
open a new terminal — the PATH update is in your rc, not the current
session.
Prerequisites
Same as chatroom:
- AKM is installed in this clawd (
POST /api/keysworks on loopback) - AKM accepts
scope="chat:bridge:cli"and the/chat/streammiddleware allows arbitrarythread_idfor that scope (already shipped in clawd branchaladdin/feat/akm-chatroom) - sc-chatroom is on a build that includes
POST /cli-keys(migration 007+) FLY_MACHINE_ID(orCONTAINER_ID) env is setCHATROOM_PUBLIC_URLenv points at the sc-chatroom gateway (defaults to `ht
Установить cli-bridge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cli-bridge?
Manage short-code bundles that authorize the local starchild CLI to talk to this agent, including the agent-shell local-exec channel and the local MCP proxy (stdio MCP servers on the user's machine). Use when connecting or disconnecting the starchild CLI (e.g. mint a CLI bridge code, list my CLI bundles, revoke an old CLI session, let the agent run shell commands on the user's own machine, or drive a local app via a stdio MCP server — Blender, Figma, Godot, computer-use, etc.).
Как установить скилл cli-bridge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cli-bridge запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic