
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@dashclaw/cli
Advanced tools
Terminal client for DashClaw — approve agent actions and diagnose your instance without leaving the shell.
npm install -g @dashclaw/cli
The CLI resolves config in this order:
DASHCLAW_BASE_URL, DASHCLAW_API_KEY, optional DASHCLAW_AGENT_ID)~/.dashclaw/config.json (mode 600)On first run, if neither env vars nor a saved config are present, the CLI walks you through setup and offers to save the values to ~/.dashclaw/config.json. Env vars always override saved values.
# Option A: env vars (one-shot or CI)
export DASHCLAW_BASE_URL="https://your-dashclaw.example.com"
export DASHCLAW_API_KEY="oc_live_..."
# Option B: interactive first run (persists)
dashclaw doctor
# → DashClaw instance URL: ...
# → API key: ********
# → Save to ~/.dashclaw/config.json? [Y/n]
# Later: remove the saved config
dashclaw logout
Optionally set DASHCLAW_AGENT_ID (defaults to cli-operator) for audit attribution.
dashclaw upInstall + start a local DashClaw (one command, resumable).
npx dashclaw up
npx dashclaw up --update # upgrade an existing install in place
npx dashclaw up --yes # non-interactive, accept all defaults
npx dashclaw up --no-browser # skip opening /setup in the browser
npx dashclaw up --db docker # force Docker Postgres
npx dashclaw up --db embedded # force embedded Postgres (~40 MB download)
npx dashclaw up --db url # bring your own Postgres — prompts for a postgresql:// connection string
npx dashclaw up --dir <path> # install to a custom directory (default: ~/.dashclaw)
npx dashclaw up --port <n> # bind to a custom port (default: 3000)
npx dashclaw up --source-dir <path> # use a local repo checkout instead of the published tarball
Re-running npx dashclaw up on an existing install boots the server without re-provisioning. Failures checkpoint and resume from where they stopped.
Postgres prefers host port 5433; when something else already holds it, provisioning scans forward to the first free port and says so (an existing dashclaw-pg container keeps whatever port it was created with — data lives in the dashclaw_pgdata volume and survives container recreation).
dashclaw downStop the local server (and the Docker DB if up started it).
npx dashclaw down
dashclaw import <bundle.json>Load a workspace carry-out bundle — the file Export workspace downloads on a trial's /connect card (or GET /api/workspace/export on any instance) — into the configured instance. Policies, guard decisions, action records, open loops, assumptions, and agent identities carry over; API keys, OAuth tokens, and secret values never ride a bundle. Idempotent: re-running skips rows that already exist.
DASHCLAW_BASE_URL=http://localhost:3000 DASHCLAW_API_KEY=oc_live_... \
dashclaw import dashclaw-workspace-*.json
dashclaw approvalsInteractive inbox for all pending approval requests. Use arrow keys to navigate, A to approve, D to deny, O to open the replay link, Q to quit.
dashclaw approve <actionId>Approve a single action by ID.
dashclaw approve act_01h... --reason "Verified change window"
dashclaw deny <actionId>Deny a single action by ID.
dashclaw deny act_01h... --reason "Outside change window"
dashclaw haltThe org kill switch, from the terminal. Requires an admin API key.
dashclaw halt on --reason "runaway deploy loop" # every guard evaluation for the org returns block
dashclaw halt status # who halted, why, since when
dashclaw halt off # resume normal guard evaluation
The halt is absolute at the decision layer (propagates across instances in ~3 s); whether a blocked action is mechanically stopped depends on the surface — see docs/architecture/enforcement-boundary.md in the repo.
dashclaw install claudeProvision DashClaw governance into Claude Code without cloning the repo.
dashclaw install claude # prompts for endpoint + API key
dashclaw install claude --endpoint <url> --key <oc_live_...>
dashclaw install claude --trial # browser signup on hosted.dashclaw.io, paste the key
Flow: preflight (/api/health + an authenticated read — nothing is written until it passes), hooks downloaded from your instance's /downloads/dashclaw-claude-code-hooks.zip (or copied from a repo checkout), python3/python resolved automatically, managed hook entries merged into ~/.claude/settings.json (.dashclaw-bak backup, replace-on-reinstall), credentials written to ~/.dashclaw/claude-hooks/.env (mode 600 — no secret lands in settings.json). Installs in observe mode; flip to enforce by setting DASHCLAW_HOOK_MODE=enforce in that .env. --trial defaults to the public trial at https://hosted.dashclaw.io; point it at your own hosted instance with --endpoint <url> (or DASHCLAW_HOSTED_URL).
dashclaw doctorDiagnose your DashClaw instance and this machine. Remote checks cover database, configuration, auth, deployment, SDK reachability, governance, and data hygiene; local checks cover what the server can't see — a stale compiled mcp-server/lib, .gitattributes drift, a local DB schema behind code, a disabled OpenClaw runtime plugin, a stale global CLI shim, broken Claude hook installs, and leaked machine-scope DASHCLAW_* env vars.
dashclaw doctor # report-only (DEFAULT — applies nothing)
dashclaw doctor --fix # apply safe auto-fixes, re-check, report what changed
dashclaw doctor --json # JSON output for CI/scripts (includes local checks)
dashclaw doctor --category database,config # filter remote checks
dashclaw doctor --repo /path/to/dashclaw # point repo checks at a checkout
dashclaw doctor --no-fix # accepted no-op alias (report-only is the default)
Changed in 0.4.0:
dashclaw doctorno longer applies remote auto-fixes by default — it reports and prints would-fix entries. Pass--fixto apply. Exit codes are unchanged (0 healthy, 1 otherwise).
Detect-only classes are never auto-fixed: leaked machine env vars (removal instructions printed) and OpenClaw gateway configs (remediation text printed). The .gitattributes restore runs only when the diff is provably line-ending/whitespace-only. Remote fixes go through POST /api/doctor/fix; fixes that need server filesystem access remain self-hoster territory via npm run doctor (also report-only by default now, same --fix opt-in).
dashclaw install codexProvision DashClaw governance into the Codex CLI: writes an AGENTS.md governance block into the target project and (optionally) wires Codex's notify config.
dashclaw install codex --project <path> # default: current directory
dashclaw install codex --approval-policy on-request
dashclaw install codex --include-notify # also wire notify → dashclaw codex notify
dashclaw codex notify '<json>'Records a Codex turn-complete event as a DashClaw action record. Called by Codex's notify config (wired by install codex --include-notify); always exits 0 so Codex never sees an error from the spawn.
dashclaw logoutRemove the saved config at ~/.dashclaw/config.json.
dashclaw versionPrint the CLI version (--version / -v also work).
dashclaw helpShow all commands and flags.
0 — healthy1 — warnings present, failures, or the instance was unreachableMIT.
FAQs
DashClaw terminal client — approve agent actions and diagnose your instance
The npm package @dashclaw/cli receives a total of 207 weekly downloads. As such, @dashclaw/cli popularity was classified as not popular.
We found that @dashclaw/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.