Scan your whole stack
Are you using batonsh?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.3
batonsh was last scanned on 29 Nov 2026 at version 0.5.3. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.3 LATEST | 29 Nov 2026 | No rules fired |
| 0.5.2 | 29 Nov 2026 | No rules fired |
| 0.5.0 | 29 Nov 2026 | No rules fired |
| 0.4.0 | 14 Nov 2026 | Not shown |
| 0.3.9 | 27 Oct 2026 | Not shown |
Findings for v0.5.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.5.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Baton is a terminal app and a local daemon. You describe a task; a lead agent splits it up and hands the pieces to worker agents from any vendor. Every worker edits a private git worktree, its result is checked by a command and reviewed by an agent from a different vendor, and only then is it merged into your branch. You watch every command, edit and message live, and anything that needs you waits in one inbox: in the terminal, the browser or on your phone.
Baton runs the agents you already have, with your own logins and keys. It is free, MIT-licensed, has no server, and sends nothing anywhere except the calls your agents already make.
curl -fsSL https://raw.githubusercontent.com/k6w/baton/main/install.sh | sh # macOS, Linux
irm https://k6w.github.io/baton/install.ps1 | iex # Windows (PowerShell)
brew install k6w/tap/baton # Homebrew (macOS, Linux)
npm install -g batonsh # npm (Node 18 or newer, any OS)
The installers download one binary for your system, check its SHA-256 against the release and put it
on your PATH (~/.local/bin, or %LOCALAPPDATA%\baton\bin). baton update keeps it current. On
Windows you also need Git for Windows; WSL works with the Linux
installer.
With Bun 1.3 or newer:
git clone https://github.com/k6w/baton && cd baton
bun install && bun run build # → dist/baton
baton doctor # which agents are installed and signed in, and what to fix
baton demo # a simulated team: learn the screen without spending tokens
cd my-project
baton # first run: finds your agents and test command, writes .baton/config.toml
Then type what you want and press Enter:
add rate limiting to the login endpoint, with tests
An agent that isn't signed in? baton login claude (or codex, opencode, …) runs that agent's own
sign-in. Press ? for every key, or type /guide for short lessons. The full walkthrough is
in the quickstart.
Baton works on the nearest folder that has a .baton/ folder or is a git repository, so running it
in a subfolder or a repository nested under another one picks the right project.
you ──► lead ──► claude-1 ─┐
(plans) codex-1 ─┼─ each in its own git worktree, messaging each other on the bus
gemini-1 ─┘
│
acceptance check ─► review by another vendor ─► your checks ─► merged into your branch
bun test src/auth). A
failure goes back to the worker with the output, up to two more tries.workspace.verify) pass, the work lands as one commit on your current
branch, with only the agent's files. /undo takes it back.The full tour: how Baton works and workspaces & reviews.
AskUserQuestion, the Baton agent's ask_user). Answer it in the terminal, the browser
or on your phone.@name. A message to a busy agent is marked
queued, or steering when it goes into the current turn (alt+enter forces
steering), and the lead stops waiting on workers to answer you. The same markers show in the terminal, the browser and on the phone.normal (each
agent's defaults), ask (everything waits for you), auto (anything inside the project) and yolo
(no prompts, no sandbox). Your deny rules hold in every mode.baton web --lan prints a QR code that pairs your phone (one-time code, a key per
device, sign out any time). Follow the run, approve, answer, steer and send tasks from a browser or
phone; a phone may only run the slash commands you allow.@file mentions, your
$EDITOR, paste chips and images, vim keys, !!command for a quick shell command..baton/roles/*.md. Each sets instructions, an access level (read-only
roles can't edit, even in yolo), a model size and a "done when" check. /spawn tester starts one..baton/skills/<name>/SKILL.md (or .claude/skills), loaded on demand by any agent, not
only Claude. Fourteen ship built in: debugging, test-driven, code-review, lean-code, planning,
shipping, prototyping, writing-skills, security-audit, and for UI work design-taste, motion,
ui-testing, visual-qa and ui-evidence. Roles start with the ones that fit, and the lead gets
suggestions for the rest.done_when conditions, boundaries and evidence. UI workers
must show screenshots that exist, and a summary that claims passing tests against a failed check is
flagged..baton/notes.md, and new workers start with them./scores), and the lead
uses it to pick./ask-all asks every worker the same question and shows the answers side by side./team save, run commands on a schedule
(/schedule, /after), and see ETAs, the spend rate and a projected total.baton export <run> --format html writes one shareable page with a timeline per agent.More in running a team.
Each feature has its own switch: baton features notes on, or /settings → Team features. More in
roles, skills & notes.
budget.run_usd and budget.per_agent_usd stop work at a limit; max_agents and
max_depth cap how many agents spawn.[[policy.rules]] allow, deny or ask per command, agent or tool. Commands from a new
repository need baton trust first.baton export --no-redact keeps them
when you need the raw run.[resources]).baton --continue (or History, ctrl+r) resumes
it, with search, names and pins. baton replay plays it back, baton export writes Markdown or HTML,
and baton gc removes worktrees that ended runs left with nothing unmerged.baton run "update the changelog" --approve all --json.baton issue 42 starts from an issue; baton pr (or /pr) opens a draft pull request
from what the run merged.baton mcp lets Claude Desktop, Cursor or any MCP client hand tasks to your team;
baton a2a serves it to other agents.| Agent | How Baton drives it |
|---|---|
| Claude Code | Agent SDK, with your Claude Code login or API key |
| Codex | codex app-server, with your ChatGPT login or API key |
| OpenCode | opencode serve |
| Gemini, Cursor, Copilot, Goose, Kiro, Qwen, Cline, Kimi, Droid, Grok and others | Agent Client Protocol |
| Pi | its RPC mode |
| Aider, Crush and any other CLI | a terminal session (PTY) |
| Remote agents | A2A |
| Baton's own agent | built in, for any model provider, local models included |
Baton uses each agent's real interface rather than scraping its screen, so tool calls, diffs, costs, approvals and usage-limit errors come through from all of them. You need only one: the lead can run several copies of the same agent, and a second vendor adds cross-reviews. Adding your own agent takes a few lines of config: agents & providers.
Settings live in .baton/config.toml in your project, with your defaults in
~/.config/baton/config.toml.
ctrl+s edits them in the app, with explanations. From the shell:
baton config explain policy.autonomy # the value and where it comes from
baton config defaults # every setting with its default
Models per task size, budgets, approval rules, worktree setup, notifications, themes and key bindings
are all covered in configuration. The look is yours too: 11 styles (/style),
about 50 themes (ctrl+t) and five layouts (ctrl+l).
Everything is also on the website: k6w.github.io/baton.
bun install
bun test
bunx tsc -p tsconfig.json --noEmit && bunx biome check .
bun packages/cli/src/main.ts demo # run from source
Baton is a Bun + TypeScript monorepo:
| Package | What it holds |
|---|---|
protocol |
events, the adapter contract, the control protocol |
kernel |
config, the event store, state, built-in skills |
daemon |
the runtime, bus, policy, worktrees, web view |
adapters/* |
one package per agent family |
tui |
the terminal UI (OpenTUI + Solid) |
cli |
the baton command |
sdk |
the TypeScript client (the Python one is in sdk-python/) |
Releases: bun scripts/version.ts 0.2.0, commit, then git tag v0.2.0 && git push --follow-tags. CI
builds, signs and publishes everything.
MIT. Agent logos come from LobeHub Icons (MIT); they are trademarks of their owners and only identify which agent is running.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.