openkrill
Enable AI agents to make micropayments via x402 protocol. Use when purchasing browser sessions on Browserbase, scraping with Firecrawl, or any x402-compatible API. Handles wallet creation, funding, and automatic payment flows.
Why use this skill?
Enable your AI agents to perform autonomous micropayments with the openkrill skill. Manage wallets, handle 402 errors, and pay for APIs like Browserbase and Firecrawl seamlessly.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/emilankerwiik/openkrillWhat This Skill Does
The openkrill skill empowers AI agents to seamlessly handle autonomous micropayments using the x402 protocol. By integrating directly with thirdweb and the x402 payment standard, this skill allows agents to pay for services as they use them, eliminating the need for manual subscription management or pre-funded account balances. It automates wallet creation, funding, and the handling of HTTP 402 Payment Required status codes. Whether interacting with 'True x402' services like Browserbase, which are completely keyless, or 'Hybrid' services, openkrill ensures that agents can complete tasks requiring premium API access without human intervention. The skill acts as a financial middleware layer between your AI agent and the decentralized web economy.
Installation
To install this skill, use the ClawHub interface by executing the following command in your terminal:
clawhub install openclaw/skills/skills/emilankerwiik/openkrill
Ensure that you have set the THIRDWEB_SECRET_KEY environment variable in your agent configuration, as this is strictly required for the wallet management and payment signing operations performed by this skill. Verify that your wallet is sufficiently funded with USDC on the Base chain before executing tasks.
Use Cases
- Autonomous Web Scraping: Pay for specific scrape jobs via Firecrawl without managing API credit top-ups.
- Browser Automation: Launch headless browser sessions on Browserbase for complex UI testing or data retrieval tasks, paying per-session via the x402 endpoint.
- Discovery & Research: Query the Bazaar registry to identify 12,000+ available x402-enabled services, allowing the agent to find the most cost-effective provider for a given task.
- Email & Utility Provisioning: Use the agent to pay for temporary identity or messaging services as needed, keeping operational costs strictly linked to usage.
Example Prompts
- "Check the Bazaar for available browser automation services and use one to scrape the front page of news.ycombinator.com."
- "I need to capture a screenshot of this target URL. Use an x402 service to handle the payment and capture the rendered DOM."
- "What services can I currently purchase with my agent wallet, and can you list the top three for web scraping?"
Tips & Limitations
Always prioritize querying the Bazaar discovery endpoint when unsure about service availability. Remember that not all services follow the same x402 implementation pattern; always verify if the target service expects a 'True x402' interaction or a 'Hybrid' interaction involving additional API headers. If a request returns a 402 error, the skill will attempt to facilitate payment, but ensure your wallet balance is monitored to prevent task failures due to insufficient funds.
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-emilankerwiik-openkrill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api