Aller au contenu
TakoAPI
Retour aux skills

butler

par sarthib7

Web & Frontend Development
—Pas encore noté
Ta note

Résumé

**Butler** is an OpenClaw skill that transforms AI agents into autonomous economic entities.

Description

Ce que fait ce skill

Butler manages token budgets across multiple AI API providers, spawns sub-agents for parallel task execution, and rotates API keys automatically at 75% usage. It tracks 8 API keys across 6 providers with a combined capacity of 28.5M tokens per day. Task decomposition splits complex prompts into prioritized sub-tasks with proportional budget allocation.

Centralizes multi-provider token management and concurrent agent orchestration in one library instead of tracking usage across separate provider dashboards and writing custom retry logic.

Quand l'utiliser

  • Running parallel sub-agents to research and summarize from multiple sources
  • Automatically switching API keys mid-task to avoid hitting rate limits
  • Splitting a data pipeline into concurrent steps with per-stage token caps
  • Monitoring daily token spend across Anthropic, OpenAI, and Groq from one status call
  • Retrying failed sub-tasks without restarting the full agent workflow

Exemple de workflow

ENTRÉE

User asks: Research AI agent frameworks, analyze their capabilities, and write a comparison report

AGENT
  1. 1

    Reads PRD file to estimate token complexity and selects an appropriate API key

  2. 2

    Decomposes the task into sub-tasks: research (30% budget), analyze (40%), write report (30%)

  3. 3

    Spawns up to 3 concurrent sub-agents with proportional token allocations

  4. 4

    Monitors usage per sub-agent and rotates to a new key if any session crosses 75% of its allocation

  5. 5

    Aggregates results and returns success rate, tokens consumed per sub-task, and combined output

SORTIE

Aggregated comparison report with per-subtask status, total tokens used, and any retry details

Prérequis

  • API key from at least one supported provider: Anthropic, OpenAI, OpenRouter, Nvidia, or Groq
  • CIRCLE_API_KEY environment variable (for treasury auto-buy features, v0.2)
  • STRIPE_API_KEY environment variable (for treasury auto-buy features, v0.2)

Installation

clawhub install sarthib7/butler

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens