Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

token-saver-75plus

bởi mariovallereyes

Web & Frontend Development
560Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Always-on token optimization + model routing protocol.

Mô tả

Kỹ năng này làm gì

A model routing protocol that silently classifies every request into one of four tiers and dispatches work to the cheapest capable model via sessions_spawn. Applies strict output compression at every tier. Targets 75% or more reduction in token usage compared to running all tasks on a single premium model.

Automatically picks the cheapest model that can handle each task, so users don't overpay for simple work or under-provision for complex tasks.

Khi nào nên dùng

  • Routing bulk CSV or list processing to free Groq instead of a paid model
  • Automatically sending code generation tasks to Codex while handling yes/no questions inline
  • Cutting response length on status checks to one or two lines
  • Escalating multi-agent coordination tasks to Opus without manual model switching
  • Parallelizing multiple tool calls to avoid sequential token overhead

Quy trình ví dụ

ĐẦU VÀO

User asks: Refactor this 200-line Python class to use dataclasses and add type hints

AGENT
  1. 1

    Classifies request as T3 (code generation, multi-step)

  2. 2

    Spawns Codex via sessions_spawn with full file content and detailed spec in the task string

  3. 3

    Codex returns refactored file

  4. 4

    Orchestrator returns result directly with no prose wrap-up

  5. 5

    Appends token/tier/route metadata if measurement mode is on

ĐẦU RA

Complete refactored Python file with dataclasses and type hints, no preamble

Cài đặt

clawhub install mariovallereyes/token-saver-75plus

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết