Token Budget Advisor

v1.0.1

Offer users informed choice about response depth before answering. Control token usage, response length, and answer depth. Trigger phrases: token budget, tok...

0· 114·0 current·0 all-time
byDeonte Cooper@djc00p

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for djc00p/token-budget-advisor.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Token Budget Advisor" (djc00p/token-budget-advisor) from ClawHub.
Skill page: https://clawhub.ai/djc00p/token-budget-advisor
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install token-budget-advisor

ClawHub CLI

Package manager switcher

npx clawhub@latest install token-budget-advisor
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name and description (controlling token usage/response depth) match the SKILL.md instructions. It doesn't request unrelated binaries, environment variables, or config paths.
Instruction Scope
The instructions are focused on prompting the user for a depth option, estimating token usage heuristically, and then producing answers at that level. They require access to session context (to know if depth was already set) and give the agent some discretion about when to trigger, which is expected but somewhat subjective. No file I/O, external network endpoints, or secret exfiltration are requested.
Install Mechanism
There is no install spec and no code files — the skill is instruction-only, so nothing is written to disk and no external packages are pulled.
Credentials
The skill declares no required environment variables or credentials. The runtime instructions do not reference any secrets or config beyond session state, so requested access is proportionate to the stated function.
Persistence & Privilege
The skill asks the agent to 'maintain user's chosen level for rest of session.' This implies session-state persistence but does not request permanent or cross-skill configuration or always-on privileges. Users should verify how the host agent stores session preferences (in-memory vs persistent storage) if that matters to them.
Assessment
This skill looks coherent and low-risk: it will ask users to pick a response depth and remember that choice during the session, estimate token usage heuristically, and then answer accordingly. It does not request credentials or install code. Things to consider before enabling: test how often it triggers (its trigger rules are somewhat subjective), confirm how your agent persists session preferences (if persistent storage is a concern), and be aware token estimates are approximate since it uses a heuristic rather than a tokenizer.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

💰 Clawdis
OSLinux · macOS · Windows
latestvk97dkp0hxs5v9w8btr97p676ps84afvj
114downloads
0stars
2versions
Updated 3w ago
v1.0.1
MIT-0
Linux, macOS, Windows

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%

Comments

Loading comments...