تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

butler

بواسطة sarthib7

Web & Frontend Development
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

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

الوكيل
  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

الإخراج

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

المتطلبات

  • 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)

التثبيت

clawhub install sarthib7/butler

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط