跳到正文
TakoAPI
返回技能列表

token-economy

由 pfaria32 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Reduce OpenClaw costs by 60-80% through intelligent model routing and context management.

描述

该技能的功能

Reduces agent costs by 60-80% through model routing and context management. Routes tasks to the cheapest capable model first (GPT-4o), escalating to Sonnet or Opus only when needed. Eliminates heartbeat API calls when there's nothing to process, and enforces a daily budget cap.

何时使用

  • Routing simple tasks to cheaper models automatically
  • Eliminating wasted API calls from empty heartbeat checks
  • Enforcing a daily spending cap to prevent runaway costs
  • Auditing token usage with per-request logging
  • Auto-switching back to a cheaper model during idle periods

安装

clawhub install pfaria32/token-economy

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接