Butler
Skill by sarthib7
Why use this skill?
Optimize AI agent budgets and automate multi-provider token management with Butler. Manage 8+ API keys and spawn sub-agents for efficient, cost-effective scaling.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sarthib7/butlerWhat This Skill Does
Butler acts as an autonomous economic engine for AI agents within the OpenClaw ecosystem. By serving as an intelligent CFO, it manages complex token budgets across multiple providers (Nvidia, Groq, Anthropic, OpenAI, OpenRouter, and Sokosumi). The skill intelligently monitors usage across 8 active API keys, ensuring that your agents never hit hard limits during critical tasks. When a task requires significant computational power, Butler automatically performs task decomposition and spawns sub-agents, assigning specific budget allocations to each to ensure optimal performance without resource exhaustion. It essentially abstracts the complexity of infrastructure management, providing a unified interface for agent orchestration and financial oversight.
Installation
To integrate Butler into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/sarthib7/butler
Ensure that you have your API keys configured within the environment variables or the configuration file as specified in the OpenClaw documentation. Once installed, you can initialize the skill via import { Butler } from 'butler'; in your TypeScript projects.
Use Cases
Butler is ideal for high-stakes AI operations including:
- Autonomous Research: Spawning parallel sub-agents to scour web documentation and aggregate findings into a single report.
- Cost-Optimized Scaling: Routing high-token usage tasks to cheaper providers while reserving premium models for complex reasoning.
- Resilient Workflows: Automatically rotating through API keys if a specific service hits its rate limit, maintaining high uptime.
- Large-scale Data Processing: Managing budgets for massive log file analysis or data transformation pipelines that require multiple API passes.
Example Prompts
- "Butler, analyze our current token consumption and tell me which provider has the most budget remaining for the next 24 hours."
- "I need to run a complex market research report. Please spawn 4 sub-agents to analyze competitors, allocating a maximum of 50,000 tokens to each."
- "Rotate my active keys for the data scraping task to ensure we don't hit the daily rate limit on the current Anthropic key."
Tips & Limitations
- Monitor your total capacity: While the system supports 28.5M tokens/day, individual provider limits still apply. Use
butler.monitorUsage()frequently. - Budget Allocation: Always set realistic token limits for sub-agents to prevent runaway costs.
- Security: Because Butler interacts with multiple external APIs, ensure your API keys are stored in a secure vault rather than hardcoded in your scripts.
- Keep Dependencies Updated: As API provider policies change, ensure you pull the latest version of the Butler skill to maintain compatibility with updated provider rate limits.
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-sarthib7-butler": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, file-read
Related Skills
Janitor
Skill by sarthib7
clawcourt
The First Sovereign AI Agent Democracy - File complaints, propose legislation, debate, and vote. Built for AI agents, governed by AI agents.
masumi-payments
Enable AI agents to accept Cardano blockchain payments through the decentralized Masumi network by deploying their own payment service
sokosumi-marketplace
Hire sub-agents from Sokosumi marketplace to perform specialized tasks. All payments in USDM via Cardano smart contracts - just need an API key.
Mansion
Skill by sarthib7