Skip to main content
Open source

multi-clawd

One Claude is never enough

An OpenClaw plugin that registers your extra Claude Code logins as first-class CLI backends. Route through the pool to try another eligible account on the same model before a configured tier drop, keeping the Claude Code harness under the host's tool policy.

multi-clawd — a cyberpunk lobster with two extra robotic claws

Features

What it does.

First-Class Backends

Accounts register as real CLI backends (claw2/…, claw3/…) — resolvable in model refs, fallback chains, and per-agent overrides. No API keys, no baseUrl hacks.

Same-Model Failover

Exhaust the account, not the model. Route through the clawd pool to try another eligible login on the same model before a configured tier drop.

Claude Code Harness

Account hops keep the Claude Code subprocess, native compaction, skills and OpenClaw MCP bridge. Runs with an exact tool cap restrict tools and disable hooks, plugins, memory, slash commands and Chrome to honour the host policy.

Token Hygiene

For Claude Code launches, setup-tokens are read at launch and passed through the child process environment, not command-line arguments. Use a token file or a gateway secret reference rather than placing the token in your config.

Self-Healing Registration

If the plugin loader hands over an empty config block, registration re-reads the resolved runtime config directly rather than treating that empty block as the account list.

Native and Isolated Logins

Native accounts use the default Claude config directory or OS keychain without copying credentials. Extra accounts can use an isolated configDir with its own login, a token file, or a gateway secret reference — a separate token file is not required for a directory login.

How it works

4 simple steps.

1

Install the CLI

npm i -g @drakon-systems/multi-clawd && multi-clawd update. The CLI installs the plugin, offers a gateway restart, and runs a health check. The registry package is prebuilt; OpenClaw 2026.8.1 or later and the Claude CLI on PATH are required for the plugin.

2

Run the Wizard

multi-clawd setup walks through accounts, isolated login dirs, token storage and the pool. It backs up openclaw.json before touching it, merges rather than overwrites, and supports --dry-run.

3

Sign In the Second Account

multi-clawd login claw2 launches the sign-in flow for that account: native login, isolated directory login, or setup-token flow. Native and directory logins show the signed-in email; token accounts get storage guidance. Gateway secret references are supported for OpenClaw launches.

4

Verify the Routing

multi-clawd chain audits recognised Claude references in configured chains, per-agent overrides and stored session pins for pool bypasses. multi-clawd doctor checks installation, credential evidence and routing; add --probe for live account turns. Unreadable or unsupported stores are reported, not a guarantee of complete coverage.

Release v2.6.6 · 10 November 2026

What's new in multi-clawd

The v2.6.6 release lists claude-fable-5-2 in the known-spec table at 1,000,000 context and 128,000 output (source table entries, not a live model measurement), declares the same host-owned exec and process set as the bundled backend, and denies native Bash when the gateway marks exec host-owned, reads the bundled Anthropic manifest when the legacy catalog builder is absent, and stops a closed child stdin from killing the shim. It does not make the pool a stored inference account for OpenClaw 2026.11.2 automations. Earlier notes still cover the 2.6.5 billing cooldown and the 2.0 token-source behaviour change.

2.6.6: source-table limits, host-owned shell path, catalog mirror, shim stdin

claude-fable-5-2 is in the known-spec table at 1,000,000 context and 128,000 output. Those figures are the table entries in source: they are not fixture-proven, because the committed manifests do not contain this id, and they were not checked by a live model call. On OpenClaw 2026.10.10 and later, including 2026.11.1, the pool declares the same host-owned exec and process set as the bundled claude-cli backend. When the gateway marks exec host-owned for the run, operator denials are kept in order and Bash is appended once; nothing else in the argv moves. Exact-cap runs, side questions without that field, and 2026.8.x gateways are unchanged. A side question that receives host-owned exec also gains the native Bash denial. The separate tool-free side-question projection is tracked in #142 and is not part of this release. This was verified against the 2026.10.10 and 2026.11.1 sources, not observed live, and is not a live approval proof. When the legacy cli-catalog.js builder is absent, the catalog mirror reads the bundled Anthropic extension manifest. On that path the manifest is JSON, the Claude CLI is not spawned and no credential is read; the builder is still preferred where OpenClaw 2026.8.x ships it. The built-in fallback adds claude-haiku-5-5 and claude-mythos-5, and the haiku-5.5 alias. A test holds that superset against the 2026.8.1, 2026.10.10 and 2026.11.1 manifests. A Claude child that stops reading stdin no longer kills the shim: EPIPE, ERR_STREAM_DESTROYED and ERR_STREAM_WRITE_AFTER_END are not fatal. That is covered by a synthetic child that closes stdin before the prompt, not a live provider run, and not an exhaustive error-code matrix. No routing, selection, history or lock change.

2.6.6 limitation: the pool is not a stored inference account

OpenClaw 2026.11.2 automation compatibility: the multi-clawd pool does not provide a stored inference account. An automation already bound to a stored account cannot use clawd/* as its primary or fallback; changing only the model does not change the recorded account. Creating a pool-based automation can also be refused by upstream account admission. Interactive model availability does not establish automation compatibility. Do not create placeholder credentials to bypass this check. Native-runtime and configured-auth paths have different admission rules; this is not a claim that every automation is interactive-only. This is a documented limitation, not a fix.

2.6.5: a billing refusal becomes an account-level cooldown

When the Claude CLI reports its typed billing_error kind (the API's credit balance is too low refusal), the shim records a billing record against that account only, retries the turn once on a healthy sibling at the child's natural close exactly as it does for a model limit, never killing the running process or forwarding a partial turn, and the pool skips the account for fifteen minutes. The cooldown expires on its own or ends early on a successful turn. explain says BILLING REFUSED with the CLI's reason, a billing alert is re-derived on every heartbeat, and explain --history records the retry with reason billing. Only the typed kind is matched: the same wording without it, a 402 and every other error are forwarded unchanged, as before.

2.6.3–2.6.4: honour OpenClaw's config location, reject unknown flags

The CLI, setup, doctor, the eviction watchdog and the gateway plugin now honour OPENCLAW_CONFIG_PATH, OPENCLAW_STATE_DIR and OPENCLAW_HOME instead of always using ~/.openclaw, so a relocated or second OpenClaw instance is read, diagnosed and written in place of the default one; nothing changes when none of the variables is set. doctor now stops up front and exits 1 when openclaw.json is missing, unreadable or malformed, instead of printing green lines from a config it never read. In 2.6.4 every CLI command rejects a flag its --help does not list before anything is dispatched, so setup --dryrun no longer runs the wizard in write mode; positional ids such as -1 still reach account and login as operands. login <unknown-id> names the id it could not find and the config path read, with a did-you-mean hint for a near-miss.

2.6.2: a clearer watchdog check in doctor

When multi-clawd doctor cannot query the scheduler, for example because there is no user session bus, it now reports the watchdog state as unknown instead of wrongly saying no watchdog was found, and it no longer prints raw systemctl error output. A watchdog that is confirmed absent still produces a warning.

2.4: bench an account and keep sessions on one account

Set disabled: true on an account, or run multi-clawd account disable <id> (and enable <id> to bring it back), to take it out of rotation without removing it from your config. The command writes a timestamped backup first, leaves the rest of your config untouched, and accepts --dry-run. A new optional setting, sessionAffinity, keeps a healthy Claude CLI session on the account that last served it; pins expire after 30 days by default. Both are off by default, so existing configs behave as before.

2.3: drain the weekly quota that resets soonest

A new optional pool setting, strategy: reset-aware, picks the healthy account whose seven-day quota window resets soonest, so allowance that is about to refresh gets used first. It applies to both CLI and direct routes, and the explain output shows the strategy and why the chosen account was picked. The default stays ordered, so existing configs behave as before.

2.2: a separate threshold for weekly quota windows

A new optional pool setting, weeklyUtilizationThreshold, lets day, week and month quota windows hand over at their own fraction, for example using more of a weekly allowance before rotating. It defaults to utilizationThreshold, so existing configs behave as before; paid overage still uses the general threshold when rotateOnOverage is enabled. The release also documents and pins how long an account stays available after its stored login goes missing.

2.1.0–2.1.3: current OpenClaw compatibility

The plugin requires OpenClaw 2026.8.1 or later. On supported hosts, verified Claude launches fix OpenClaw 2026.10.2 setup authority; Windows keeps the legacy launch, as do hosts where the claude executable cannot be resolved or that lack the required launch capabilities. Side-question turns have no in-turn retry. Login-backed models now appear available in the Control UI when supported by credential evidence, with cache-boundary fixes in 2.1.2. Version 2.1.3 fixes source installs on npm 10 (Node 22) by shipping a lockfile.

2.0: login health needs proof, not presence

Native and directory login checks need an unexpired access token, or an expired credential backed by a successful CLI turn after expiry within 24 hours of the check. Credential-file presence alone is not proof. After its initial exclusion, a recorded auth failure stays unverified until observed success clears it; usage-poll data is not login proof. Doctor also ignores an inherited CLAUDE_CONFIG_DIR when checking the native account.

2.0: diagnose duplicate credential stores

Doctor's split-store check only reads and prints: for native and directory OAuth logins it checks the expected credentials file and, on macOS, Keychain items under that account's service. It lists recognised copies and which one the CLI reads when that can be determined; it does not move or delete credentials. Cleanup guidance calls for proving the CLI's copy before moving a stray file aside, and a fresh login before removing a stray Keychain item.

1.8.11–2.0: retry a model limit within the turn

The pool can retry once on an eligible sibling when a recognised model-limit refusal arrives before output is forwarded. Resumed conversations can hand over their pre-attempt transcript when it can be verified. Native, configDir and oauthTokenFile accounts support this retry; oauthTokenRef accounts rotate on the next launch only. In 2.0, an unresolved declared token refuses that account even if it has a configDir, rather than falling back to the directory's login. Token files must contain only the token, not captured sign-in output.

1.10: usage between turns

Eligible native and configDir logins with credential files can poll provider usage, with a default two-minute interval, an 85% rotation threshold and 95% operator alerts. Setup-token accounts and keychain-only native logins are not polled; token accounts retain stream-based rotation. Failed polls leave existing health evidence unchanged, and expired credentials skip the tick. The 1.10.1 fix stores poll results separately so they cannot overwrite the shim's rejection or credential-failure evidence. multi-clawd usage shows figures on demand.

1.9: opt in to the direct Anthropic route

Accounts can also serve OpenClaw's anthropic/* API route through explicitly configured setup tokens or existing profiles. multi-clawd direct sync stores missing profiles and applies pool-health ordering; existing sessions keep their pinned account until it cools down. Native rotating OAuth grants are not copied into direct profiles. This is the API route, not the Claude Code harness. Later 1.9 fixes improve resume handover and keep the shim outside OpenClaw's temporary plugin captures when the runtime copy succeeds.

1.8–1.9: clearer routing and account diagnostics

Chain audits recognise agents.entries overrides and read supported SQLite session stores with a JSON fallback; SQLite inspection needs Node 22.13 or later. Doctor reports resolved login identities, duplicate pool logins and non-Claude auth-profile problems where it can inspect them. Token-account identity is not knowable at rest. Optional live probes target individual accounts. Catalog fixes add the documented context sizes for Sonnet 5, Fable 5.1, Opus 5.5 and Sonnet 5.5.

1.7.2–1.9.7: rotation follows the evidence

Short-window warnings without percentages can trigger rotation; numeric usage takes precedence. Model-scoped and recognised family-wide limits no longer need to bench unrelated models. Successful turns clear contradicted model rejections, and a wholly exhausted pool can re-test an overdue rejection. Purchased-overage utilization does not trigger rotation unless you opt in with rotateOnOverage; exhaustion alerts are rechecked on launch.

Hermes Agent: a separate credential-pool integration

The CLI can import stable oauthTokenFile setup tokens into Hermes' native Anthropic pool, with dry-run support and an optional distribution strategy. It does not import native or configDir rotating grants or resolve oauthTokenRef secrets. Native logins need no copying: Hermes' own claude_code credential source reads the native ~/.claude/.credentials.json directly. As of Hermes 0.20.6 that source does not read an arbitrary configDir, so a configDir login needs its own oauthTokenFile to reach Hermes; otherwise it stays OpenClaw-only. Re-sync after token-file changes. Validated against Hermes 0.20.6, this uses Hermes' own tools and reactive failover, not the Claude Code harness or multi-clawd's proactive usage rotation.

Read the release changelog

One chain, all your capacity

Your fallback chain stops meaning “smaller model” and starts meaning “next account”.

openclaw.json
"agents": { "defaults": { "model": {
  "primary": "claude-cli/claude-fable-5",   // main login
  "fallbacks": [
    "claw2/claude-fable-5",                 // 2nd login — same model
    "claw3/claude-fable-5",                 // 3rd login? go on then
    "anthropic/claude-opus-4-8"             // only NOW drop a tier
  ]
} } }

4

Claws

0

API keys required

CLI

Claude Code harness

MIT

Licence

Frequently Asked Questions

What is multi-clawd?+
multi-clawd is an open-source OpenClaw plugin that registers additional Claude Code logins as first-class CLI backends. Configure a same-model account chain or the clawd pool to use another eligible Claude account before a configured model-tier fallback.
Why does this need a plugin at all?+
OpenClaw's bundled claude-cli backend runs on one login. The plugin adds account-scoped backends and model providers through the plugin SDK, plus the clawd pool that chooses an eligible account at launch. That makes additional logins usable in model references and fallback chains without API-key provider workarounds.
Does failover keep my skills and MCP tools?+
Yes for ordinary uncapped turns: account hops use Claude Code with its skills and OpenClaw MCP bridge. On OpenClaw 2026.10.10 and later, when the gateway marks exec host-owned, shell commands on a pool turn go through OpenClaw's own exec tool and native Bash is denied for that turn. That was checked against the 2026.10.10 and 2026.11.1 sources, not observed live. Exact-cap runs, side questions without that field, and 2026.8.x gateways are unchanged on this point. Exact tool-cap runs still restrict the harness to the host's allowed tools. The optional direct API and Hermes routes use their host's tools instead of Claude Code's harness.
Is this within my provider's terms?+
multi-clawd is built for accounts you own. Its default route runs the official Claude Code CLI under each account's own login, with no API spoofing. Two optional routes work differently: the direct route gives OpenClaw's own anthropic/* models a per-account auth profile to call the Anthropic API, from a setup token you configure or a profile you already stored, and the Hermes bridge copies an account's setup-token file into Hermes Agent's Anthropic credential pool. Neither copies a native or configDir login. You're responsible for using it within your provider's terms of service.
How many accounts can I add?+
As many as you own. Each entry in the accounts array becomes its own backend and provider prefix — claw2, claw3, and onwards.
How do I keep it up to date?+
The plugin serves your turns and updates with multi-clawd update. Update the global CLI with npm i -g @drakon-systems/multi-clawd@latest; multi-clawd version compares the two. Since v1.6.0, update can offer a separate CLI upgrade with your confirmation. Doctor also checks the registry with a cache and stays silent when it cannot reach it — this is a best-effort check, not a freshness guarantee. OpenClaw's bulk plugin updater can leave the pinned version unchanged, so use multi-clawd update for the plugin.
Does it pick models for me?+
No. Its best-effort catalog comparison can flag a recognised Claude model id that is new to this machine and absent from your chain. The first run records a baseline; this is not a provider-release feed or a promise to discover releases on a schedule. You choose whether to change the routing.
What does it cost?+
Nothing. multi-clawd is MIT licensed and open source. If it saves your fleet from a single mid-task tier drop, it's paid for itself.

Grow an extra claw

Stop letting your second Claude account sit idle. Install multi-clawd and make your failover chain pool the capacity you already pay for.