Use omniclaw-cli only when the task is directly about one of these actions:
402 Payment Requiredserve, only when the owner explicitly asks for itDo not use this skill for:
OmniClaw is not just a wallet wrapper.
It is the economic execution and control layer that combines:
This skill is specifically about the CLI execution surface.
The same CLI has two agent-side economic roles:
omniclaw-cli payomniclaw-cli serveVendor and enterprise seller APIs should use the Python SDK with client.sell(...), not this CLI skill.
The agent does not control the private key.
The Financial Policy Engine enforces policy and signs allowed actions.
The runtime must have:
omniclaw-cli installed from the official OmniClaw packageOMNICLAW_SERVER_URL pointing to the trusted Financial Policy EngineOMNICLAW_TOKEN scoped to the agent wallet/policyOptional:
OMNICLAW_OWNER_TOKEN, only when the owner intentionally grants approval authority for this runNever print tokens, write tokens into generated files, or pass tokens to third-party services.
The runtime should normally provide either:
OMNICLAW_SERVER_URLOMNICLAW_TOKENOMNICLAW_OWNER_TOKEN if this run is allowed to approve confirmationsomniclaw-cli configure was already run before the turnIf neither is true, stop and ask the owner for:
Do not invent or search for them yourself.
omniclaw-cli status if connectivity or health is uncertain.omniclaw-cli balance-detail if Gateway balance matters.omniclaw-cli can-pay --recipient ... before paying a new recipient.--idempotency-key for job-based payments.simulate first.omniclaw-cli inspect-x402 --recipient before the first live payment to confirm the seller requirements and buyer funding path.omniclaw-cli pay --recipient --idempotency-key .--method, --body, and --header when the paid endpoint expects a non-GET request.--output if the paid response should be saved.omniclaw-cli pay --recipient <0xaddress> --amount .--purpose.balance-detail.omniclaw-cli serve only for the approved endpoint, price, command, and port.serve binds to 0.0.0.0 even if the banner prints localhost.omniclaw-cli serve is powerful because it starts a network-accessible service and requires --exec.
Rules:
serve unless the owner explicitly requested a seller endpoint in the current task--exec command--exec for shell pipelines, downloads, package installs, destructive commands, or credential accessserveIf pay returns approval-required output, for example:
requires_confirmation: trueconfirmation_id: ...Then:
omniclaw-cli confirmations approve --id Stop and notify the owner if any of these happen:
can-pay says the recipient is blockedpay returns a policy or guard rejectionserve is requested without an explicit owner instructionserve --exec is requested but the command is not supplied or approved by the ownerFor exact command schemas, flags, and live help output, read:
references/cli-reference.mdDo not guess flags from memory when a reference is available.
共 1 个版本