← 返回
未分类 中文

Token Budget Advisor

Offer users informed choice about response depth before answering. Control token usage, response length, and answer depth. Trigger phrases: token budget, tok...
在回答前为用户提供响应深度选择。控制token使用量、回复长度和答案详略程度。触发词:token预算、tok...
djc00p djc00p 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 435
下载
💾 2
安装
1
版本
#latest

概述

Token Budget Advisor

Intercept response flow to let users choose depth before answering.

When to Use

  • User mentions tokens, budget, depth, or response length
  • User says "short version", "tldr", "brief", "exhaustive", etc.
  • User wants to control detail level upfront

Do not trigger when: user already set depth this session, or answer is trivially one line.

Depth Options

Present before answering:

Input: ~[N] tokens | Type: [type] | Complexity: [level]

[1] Essential (25%)   -> ~[tokens]   Direct answer only
[2] Moderate (50%)    -> ~[tokens]   Answer + context + example
[3] Detailed (75%)    -> ~[tokens]   Multiple examples + alternatives
[4] Exhaustive (100%) -> ~[tokens]   Everything

Level Guide

LevelLengthIncludeOmit
------------------------------
25%2-4 sentDirect answer, conclusionContext, examples
50%1-3 paraAnswer + context + 1 exampleDeep analysis, edge cases
75%StructuredExamples, pros/cons, alternativesExtreme cases
100%No limitEverythingNothing

Shortcuts

If user signals depth, respond at that level immediately:

  • "1" / "25%" / "short" / "brief" / "tldr" → 25%
  • "2" / "50%" / "moderate" → 50%
  • "3" / "75%" / "detailed" → 75%
  • "4" / "100%" / "exhaustive" → 100%

Maintain user's chosen level for rest of session unless changed.

Estimation

Heuristic-based (no real tokenizer):

  • Input tokens = estimate from prompt size
  • Response window = input × complexity multiplier
  • Accuracy ~85-90%, variance ±15%

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 04:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 883 📥 358,521
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,546 📥 593,936
dev-programming

Rails CI Fixer

djc00p
使用分层升级循环修复Rails PR的CI失败。当Rails拉取请求出现CI失败时使用此技能——包括RSpec测试失败、RuboCop违规等。
★ 0 📥 989