Install
openclaw skills install toani-vault-cliInstall, configure, and securely operate the Toani Vault CLI for login, health checks, credential metadata reads, and sandbox browser sessions. Use when the user mentions `toani`, Toani Vault, secure CLI onboarding, credential hygiene, token handling, sandbox automation, defensive security workflows, or needs help installing or using the Vault CLI from a coding agent.
openclaw skills install toani-vault-cliUse this skill to help the user install, verify, and operate the toani CLI.
Default priorities:
toani --help before trusting older docs.toani login for onboarding.credentials as read-only metadata access.sandbox as a remote TEE browser session, not a local browser runtime.If toani is not available, install it first.
Registry install:
npm install -g @toani/vault-cli@latest
Local dev install:
cd /path/to/credbridge-public/cli
npm install
npm run build
npm pack
npm install -g ./toani-vault-cli-*.tgz
If the user already has the repo checked out and wants the local build, prefer the local dev install path. Otherwise prefer the registry install path.
Run these after install:
toani --help
toani --version
toani config show
toani sandbox stats
Preferred onboarding:
toani login
toani doctor
toani --output json config show
toani --output json credentials list
toani login is the preferred entry path. Do not start with config init --token unless the user explicitly needs a legacy-compatible non-interactive flow.
toani login semantics:
~/.claude/skills/toani-vault-cli/ or ~/.codex/skills/toani-vault-cli/toani doctor checks:
Keep this mental model explicit:
toani is a CLI, not SDK pseudocode.sandbox is a remote TEE browser session provided by the backend.http_request is a backend-side direct HTTP operation and does not open the remote browser.Trust the current CLI implementation and toani --help.
Currently exposed groups:
logindoctorconfigcredentialssandboxDo not assume these exist unless verified in the installed build:
authtokensservice-accountsauditcredentials currently exposes only:
toani credentials list [--service-id <id>] [--credential-type <type>] [--only-valid true|false]
toani credentials get <credentialId>
Do not claim that the CLI can currently do these credential operations unless the user has verified a newer build:
Global flags must appear before the command group:
toani --output json credentials list
toani --base-url https://api.example.com sandbox stats
Do not write:
toani credentials list --output json
toani sandbox stats --base-url https://api.example.com
Base URL precedence:
--base-urlTOANI_BASE_URLCREDBRIDGE_BASE_URLToken precedence:
--tokenTOANI_VAULT_TOKENCREDBRIDGE_TOKENDefault to --output json for automation and agent workflows.
If the user wants explicit environment-variable setup, use:
export TOANI_VAULT_DASHBOARD_BASE_URL=https://dashboard.example.com
export TOANI_BASE_URL=https://api.example.com/
export TOANI_VAULT_TOKEN=<BEARER_TOKEN>
Only use placeholder values in examples. Never log or commit real tokens.
Standard browser-session flow:
toani sandbox create-session --service-id <serviceId> --original-intent <intent> [--credential-id <id>]
toani sandbox get-session <sessionId>
toani sandbox bootstrap-page <sessionId> --mode rocket_loader
toani sandbox execute <sessionId> --operation-type navigate --params '{"url":"https://example.com"}'
toani sandbox execute <sessionId> --operation-type get_text --params '{"selector":"body"}'
toani sandbox terminate <sessionId>
Supported operation types to rely on:
navigateclickfillget_textexecute_scriptwaitexportdom_exporthttp_requestWhen guiding usage, keep these boundaries clear:
fill steps.fill, prefer safe post-actions such as get-session, get-operation, export-dom, and get_text.execute_script.bindings.credentials list/get return metadata only.If the user gives only a credential nickname instead of a concrete credential_id, first inspect metadata with toani credentials list or confirm the ID in the Dashboard UI.
When using this skill:
toani already exists.Install the CLI:
npm install -g @toani/vault-cli@latest
Onboard a new user:
toani login
toani doctor
Inspect credentials:
toani --output json credentials list
toani --output json credentials get <credentialId>
Check sandbox health:
toani sandbox stats