Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By T0mSIlverv0.1.8MITIn 1 marketplace
Submits the owner's Starbridge answers into the Claude Code session that asked. A Claude Code mod: a build that cannot load mods skips it, and the starbridge plugin keeps working.
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it decides whether tool calls may run; sees, changes or blocks tool calls; runs programs; makes network requests; writes files; reads files; reads environment variables (CLAUDE_CODE_ENTRYPOINT, CLAUDE_CONFIG_DIR, HOME, OS, STARBRIDGE_AGENT_SOCKET, STARBRIDGE_CONFIG_DIR, STARBRIDGE_NO_AGENT, USERPROFILE, XDG_CONFIG_HOME, XDG_RUNTIME_DIR); sends prompts on its own; messages other sessions.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
When the owner answers a decision, this mod submits the answer into the Claude
Code session that asked, as the line starbridge wait prints:
Answer to d_amber-otter-… (Merge #12 now?): Merge
It works in the terminal, the desktop app's Code tab, IDEs and Remote Control.
Install it from the Starbridge marketplace, beside the starbridge plugin
(plugin/README.md):
claude plugin install starbridge-mod@starbridge --scope user
A Claude Code build or organization that refuses mods skips this plugin and
keeps the skill; answers then wait until a session runs starbridge answers.
To try a checkout in one session: claude --plugin-dir mod.
The mod skips claude -p, whose run ends with its last turn, told apart by
CLAUDE_CODE_ENTRYPOINT (sdk-cli). An Agent SDK session (sdk-ts,
sdk-py) gets its loop once its first turn ends, since only an app that keeps
the session open runs a second one.
The mod holds no keys. Each session picks one of two paths, and switches when the agent starts or stops.
When the machine's agent (starbridge agent, PROTOCOL.md, "Local agent API")
answers on its unix socket, each session talks to it with $.http.fetch:
POST /v1/sessions/<id>/hello once per session id, with the session's
working directory.GET /v1/sessions/<id>/events?wait=25 back to back, under the 30 s limit on
calls from a mod. The agent hands the session only the answers to the
decisions it asked.POST /v1/sessions/<id>/ack; the agent hands an unconfirmed event over
again. It skips event types it does not know.POST /v1/sessions/<id>/bye when the session ends.The socket is $STARBRIDGE_AGENT_SOCKET, else
$XDG_RUNTIME_DIR/starbridge/agent-<key>.sock for the default config directory,
where <key> comes from the config directory's path, else agent.sock in the
config directory, as the CLI works it out; on Windows (OS=Windows_NT), the
port file agent.port in the config directory, which names the loopback port
and the token every call carries (PROTOCOL.md). A 426 (the agent speaks another
API revision), a 421 (the agent serves another config directory) or a call that
cannot connect sends the session to the CLI path.
With no agent, or with STARBRIDGE_NO_AGENT=1, the mod runs the CLI and checks
for the agent every 30 s.
~/.config/starbridge/mod-poller.json. It runs
starbridge answers --session <id> --wait 25 back to back, which stays
under the 30 s limit on calls from a mod.state.json. When it changes, they run starbridge answers --session <id>, which reads local state only.answers returns only answers to decisions that session asked and that no
wait has printed. The mod submits each line, then confirms it with
starbridge answers --session <id> --ack <ack>; the CLI hands an
unconfirmed line over again.answers every 30 s when
state.json has not changed, in case a change went unseen.On both paths, after a /clear or a /resume the mod uses the new session
id; a line that arrives during a /clear waits, unconfirmed, for the old
session. After an error the mod waits 2 s, then twice as long after each
further error, up to a minute, and shows the error in the status line until a
call succeeds.
Claude Code runs a submitted prompt only once the running turn ends. So while the agent works, an answer goes with its next tool result, which it reads at once; one that comes after the turn's last tool call is submitted when the turn ends. The answers one poll brings go as one prompt, a line each (#1597).
A subagent's answer goes to that subagent with $.session.send, during the
main agent's turn or not (#1702). For a subagent's Bash command that runs
starbridge ask, the mod exports STARBRIDGE_CLAUDE_AGENT=<its agent id>
first, which the CLI keeps with the decision; the permission check judges the
command without it. A subagent that is running reads the answer at its next tool
call, and a finished one is resumed with it. When the send fails, the answer
goes to the parent as a prompt that names the subagent. An answer sent to a
running subagent stays in mod-sent until a tool round of the subagent ends
after the send, so a later process on the session hands an unread one to the
parent. A subagent that finishes without another tool round never reads it: the
parent gets it then (#1729).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Indexed from v0.1.8Marketplace JSON
npx claudepluginhub t0msilver/starbridge --plugin starbridge-mod