Install
openclaw skills install kashPay for APIs, tools, and services from your agent's Kash wallet. Spends below $5 are autonomous; above $5 requires explicit user YES. Requires KASH_KEY and K...
openclaw skills install kashThis skill gives your OpenClaw agent access to a Kash wallet so it can pay for external services autonomously, within your configured budget.
KASH_KEY and KASH_AGENT_ID are required. The skill will fail at load time if either is missing — it will not silently proceed.KASH_API_URL is validated against an allowlist (api.kash.dev and localhost only) at startup. Setting it to any other domain is rejected immediately to prevent KASH_KEY from being sent to an untrusted server.KASH_BUDGET is enforced locally in code as a session cap. It is not just a guideline — the spend function checks it before every call.KASH_SPEND_CONFIRMATION_THRESHOLD ($5.00 default) require confirmed=true, which the agent must only set after receiving an explicit YES from the user in the current conversation.Spend from the Kash agent wallet before making a paid API call.
Parameters:
amount (number, required) — amount in USDdescription (string, required) — what you are paying formerchant (string, optional) — name of the serviceconfirmed (boolean, optional) — set true only after explicit user YES for spends above thresholdReturn values:
OK. Spent $X for "..." — spend succeededCONFIRMATION_REQUIRED: ... — ask user for YES, then retry with confirmed=trueLOCAL_BUDGET_EXCEEDED: ... — session cap hit, stop and notify userBUDGET_EXCEEDED: ... — server-side budget hit, stop and notify userAGENT_PAUSED: ... — agent paused by user in Kash dashboardUNAUTHORIZED: ... — KASH_KEY invalid or expiredERROR: ... — unexpected failureCheck remaining budget without spending. Returns both server-side balance and local session cap.
Use kash_spend BEFORE making any paid external call — API calls, web searches, data purchases, or any service that charges per request. Always call it before the paid operation, not after.
Use kash_balance before starting a multi-step task that will require several paid operations.
kash_spend BEFORE the paid call, never afterCONFIRMATION_REQUIRED is returned, ask the user for explicit YES — never bypass itBUDGET_EXCEEDED or LOCAL_BUDGET_EXCEEDED is returned, stop the task immediately and tell the userconfirmed=true without a real user confirmation in the current conversationkash_spend returns any error, do NOT proceed with the paid callUse this skill to pay for external APIs, tools, and services from your Kash agent wallet.
Configure in ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"kash": {
"enabled": true,
"apiKey": "ksh_live_...",
"env": {
"KASH_KEY": "ksh_live_...",
"KASH_AGENT_ID": "your-agent-id",
"KASH_BUDGET": "50",
"KASH_SPEND_CONFIRMATION_THRESHOLD": "5.00"
}
}
}
}
}
Get KASH_KEY and KASH_AGENT_ID from kash.dev/dashboard/agents after registering your agent.
Call this BEFORE any paid API call or service. Never after.
Parameters:
amount (number, required) — cost in USD e.g. 0.003description (string, required) — what you are paying for e.g. "serper web search"merchant (string, optional) — service name e.g. "Serper"confirmed (boolean, optional) — set true ONLY after explicit user YES for spends above thresholdReturns:
OK. Spent $X for "..." — proceed with the paid callCONFIRMATION_REQUIRED: ... — ask user for YES, then retry with confirmed=trueLOCAL_BUDGET_EXCEEDED: ... — stop, tell user to top up at kash.devBUDGET_EXCEEDED: ... — stop, tell user to top up at kash.devAGENT_PAUSED: ... — tell user to resume agent at kash.dev/dashboard/agentsUNAUTHORIZED: ... — tell user their KASH_KEY may be invalidERROR: ... — do not proceed with the paid callCheck remaining budget. Use before starting multi-step paid tasks.
No parameters required.
kash_spend BEFORE the paid call, never afterCONFIRMATION_REQUIRED is returned, ask the user for explicit YES before retrying with confirmed=trueconfirmed=true without a real user YES in the current conversationKASH_KEY value in any message or log