kash
Pay 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 KASH_AGENT_ID from kash.dev.
Why use this skill?
Seamlessly manage and automate payments for APIs and tools in your OpenClaw agent using the Kash payment skill. Set budgets and ensure secure, authorized transactions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/devfaraaz/kashWhat This Skill Does
The Kash Payment Skill integrates your OpenClaw agent with the Kash platform, enabling automated micropayments for external APIs, data services, and web tools. By providing a secure interface to your Kash agent wallet, the skill allows the agent to handle financial authorization dynamically. It features a tiered safety system where low-cost operations ($5 or less) are processed autonomously, while larger expenditures trigger a mandatory confirmation flow, ensuring you remain in total control of your agent's spending.
Installation
To integrate this skill, navigate to your OpenClaw configuration file located at ~/.openclaw/openclaw.json and ensure your environment variables KASH_KEY and KASH_AGENT_ID (obtained from kash.dev) are correctly set. Run the following command in your terminal:
clawhub install openclaw/skills/skills/devfaraaz/kash
Ensure that you have not modified the KASH_API_URL to point to non-whitelisted domains, as the agent performs a strict security check upon initialization.
Use Cases
- Automated Research: Pay for premium data APIs or search services that provide specific research insights when the agent hits a paywall.
- Content Generation: Pay for specialized AI model inference endpoints that require a per-request fee.
- Web Scraper Support: Fund proxy services or premium scrapers that bill per URL visited during data collection tasks.
- Multi-step Agent Tasks: Use
kash_balanceto audit remaining budget before starting long-running workflows that involve multiple paid tool calls.
Example Prompts
- "Check my Kash balance to see if I have enough funds to perform a deep search on the market trends report."
- "Use the premium API to gather the latest sentiment data for AAPL stock. Stay under the $5 budget if possible."
- "Purchase the data report from the provider for $12.00 using my Kash wallet."
Tips & Limitations
- Order of Operations: Always invoke
kash_spendbefore initiating any paid service. The agent will halt the process if payment fails. - Budget Transparency: The skill enforces both a local
KASH_BUDGET(session-based) and a server-side budget. Always check the Kash dashboard if your agent reports a budget error. - Security: Never hardcode your
KASH_KEYin plain text inside public script files. Use your system's secure environment variable management. - Confirmation: When prompted with
CONFIRMATION_REQUIRED, provide a clear, unambiguous "YES" to allow the agent to setconfirmed=truefor the payment.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-devfaraaz-kash": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api