Token导航 LogoToken导航

Agent Skill · 研究检索

token-budget-advisor(代币预算顾问)

token-budget-advisor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

token-budget-advisor 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 67,870。

总安装 240周安装 10GitHub Stars 28下载 80核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:token-budget-advisor(代币预算顾问)
来源仓库:https://github.com/exploration-labs/nates-substack-skills
仓库路径:skills/token-budget-advisor
安装命令:
npx skills add https://github.com/exploration-labs/nates-substack-skills --skill token-budget-advisor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/exploration-labs/nates-substack-skills --skill token-budget-advisor

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

token-budget-advisor 评估复杂任务的资源消耗并推荐分块执行策略。适合多文档分析、深度研究或多工具串联等高 token 开销工作流。在启动大型任务前调用,可提前规避上下文窗口超限风险。使用前需核实是否具备联网与文件读写权限,防止意外触发高成本 API 调用。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/token-budget-advisor

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/exploration-labs/nates-substack-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

token-budget-advisor 怎么安装?

在终端执行 npx skills add https://github.com/exploration-labs/nates-substack-skills --skill token-bud…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

token-budget-advisor 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

token-budget-advisor 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

token-budget-advisor 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

token-budget-advisor 用的人多吗?

公开数据是累计安装 240 次,近一周安装 10 次,下载 80 次,GitHub 28 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

token-budget-advisor 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
token-budget-advisor

代币预算顾问 · 本页

24028需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Token Budget Advisor

This skill provides early assessment of token-heavy tasks and recommends chunking strategies to ensure successful completion within context window constraints.

When to Use This Skill

Trigger this skill before beginning work when you detect:

  • Multiple file uploads (3+ documents) combined with analysis requests
  • Requests for "comprehensive", "complete", "thorough", or "full" analysis
  • Multi-document comparative analysis
  • Complex workflows requiring 10+ tool calls (extensive web research + synthesis)
  • Tasks combining heavy research with large artifacts (reports, presentations)
  • Queries spanning multiple dimensions (temporal + categorical + quantitative)
  • Requests to "analyze everything" or "create a complete report on all aspects"

Core Function

This skill serves two purposes:

  1. Early warning system: Assess whether a task will likely exceed token limits
  2. Strategic planning: Provide specific, actionable chunking recommendations

Token Estimation Framework

Quick Assessment Heuristics

Estimate token consumption using these rough guidelines:

Input costs:

  • Uploaded document: ~1,000-5,000 tokens each (depending on length)
  • Web search result: ~500-1,500 tokens
  • Web fetch (full article): ~2,000-8,000 tokens
  • Google Drive document: ~1,000-10,000 tokens (varies significantly)

Output costs:

  • Simple response: 500-2,000 tokens
  • Detailed analysis: 2,000-5,000 tokens
  • Long-form report: 5,000-15,000 tokens
  • Complex artifact (presentation, document): 5,000-20,000 tokens

Tool call overhead:

  • Each tool call includes the query, results, and reasoning: ~1,000-3,000 tokens average

Warning thresholds:

  • Caution zone (60-80% of budget): Task is achievable but tight; consider efficiency
  • Danger zone (80-95% of budget): High risk; strongly recommend chunking
  • Exceeds budget (95%+ of budget): Task requires chunking; cannot complete in one conversation

Task Complexity Multipliers

Apply these mental adjustments:

  • Synthesis required: Add 30-50% to output estimate (comparing, integrating multiple sources)
  • Iterative refinement: Add 20-30% (when task involves reviewing and improving)
  • Multiple formats: Add 20% per additional output type (report + presentation + spreadsheet)

Chunking Strategy Framework

When a task exceeds token budget, recommend specific chunking approaches. Choose strategies based on task structure:

1. Sequential Processing

Best for: Time-series data, chronological analysis, ordered workflows

Pattern:

"This analysis of 12 months of data will exceed our token budget. I recommend we split it into quarters:
- Part 1: Q1-Q2 analysis (Jan-Jun)
- Part 2: Q3-Q4 analysis (Jul-Dec)
- Part 3: Synthesis and recommendations

Should I start with Part 1?"

When to use:

  • Historical data analysis
  • Period-over-period comparisons
  • Multi-phase projects

2. Dimensional Breakdown

Best for: Multi-faceted analysis, different aspects of same topic

Pattern:

"A complete market analysis covering financial, competitive, regulatory, and technological factors will strain our token budget. Let's break it into:
- Session 1: Financial performance and market size
- Session 2: Competitive landscape and positioning
- Session 3: Regulatory environment and compliance
- Session 4: Technology trends and synthesis

Which dimension should we tackle first?"

When to use:

  • Multi-stakeholder analysis
  • Different analytical lenses on same subject
  • Complex business cases

3. Depth Progression

Best for: Tasks requiring outline → draft → refinement

Pattern:

"Creating a comprehensive 50-slide presentation with detailed research will exceed our budget. I recommend:
- Round 1: Build structure and outline (30 min)
- Round 2: Develop content for slides 1-25 (45 min)
- Round 3: Develop content for slides 26-50 (45 min)
- Round 4: Refinement pass (30 min)

Let's start with the outline?"

When to use:

  • Large documents or presentations
  • When quality refinement is important
  • Creative projects benefiting from iteration

4. Subset Sampling

Best for: Large document sets where representative sampling works

Pattern:

"Analyzing all 15 contracts will exceed our budget. I suggest:
- Part 1: Analyze 5 representative contracts (different types/dates)
- Part 2: Based on patterns found, confirm with 5 more
- Part 3: Quick scan of remaining 5 for exceptions, then synthesize

This gives thorough coverage while managing tokens. Sound good?"

When to use:

  • Document review at scale
  • Pattern identification across many files
  • Risk-based sampling approaches

5. Parallel Track Processing

Best for: Independent workstreams that can be combined later

Pattern:

"Comparing our product vs 5 competitors across features, pricing, and positioning is too large for one session. Let's split by competitor:
- Session 1: Competitors A & B full analysis
- Session 2: Competitors C & D full analysis
- Session 3: Competitor E + synthesis matrix

Each session stays focused and manageable."

When to use:

  • Comparative analysis
  • Multiple independent subjects
  • When parts don't need each other's context

Communication Guidelines

Messaging Framework

When recommending chunking, use this structure:

  1. Acknowledge the request clearly
  2. Provide token budget assessment (brief, 1 sentence)
  3. Recommend specific chunking approach (numbered list, 2-4 parts)
  4. Ask for confirmation to proceed (keep user in control)

Example:

I'll help you analyze these 8 financial reports and create a comprehensive presentation.
This task will exceed our token budget given the research and artifact creation required.
I recommend splitting it into:
1. Reports 1-4: Analysis and key findings
2. Reports 5-8: Analysis and key findings
3. Synthesize all findings into presentation

Should I start with reports 1-4?

What NOT to Do

❌ Don't over-explain token budgets or get technical about context windows ❌ Don't apologize excessively or sound limiting ❌ Don't provide vague suggestions like "maybe split this up somehow" ❌ Don't start work and then stop mid-task saying "we've run out of tokens"

✅ Do be matter-of-fact and solution-oriented ✅ Do provide specific, actionable breakdowns ✅ Do keep the momentum going toward task completion ✅ Do frame chunking as a quality improvement (thoroughness) not limitation

Handling Edge Cases

User Insists on Single Session

If user pushes back on chunking:

"I understand you'd prefer this in one go. I'll do my best to complete it, but I may need to:
- Prioritize the most critical elements
- Provide a condensed version
- Focus on breadth over depth in some areas

Let me start and we'll see how far we can get. What aspects are highest priority?"

Task Becomes Too Large Mid-Stream

If partway through, token budget becomes concerning:

"I'm about halfway through and we're approaching token limits. I have two options:
1. Complete this current section and continue in a fresh conversation (recommended - maintains quality)
2. Accelerate through remaining sections with lighter analysis

Which approach works better for you?"

Uncertain Estimation

When task scope is ambiguous:

"I want to make sure we complete this successfully. The scope could go in different directions. Could you clarify:
- [Specific question about depth]
- [Specific question about breadth]

This helps me gauge whether we should chunk this task."

Integration with Other Skills

This skill works in conjunction with domain-specific skills:

  • Before heavy document analysis: Check token budget, then use docx/pdf/xlsx skills
  • Before comprehensive research: Assess scope, then execute research process
  • Before complex artifacts: Plan chunking, then use pptx/docx/xlsx creation skills

Think of this skill as a "pre-flight check" before embarking on token-intensive tasks.

Examples in Action

Example 1: Multi-Document Analysis

User query: "Analyze all these uploaded contracts and tell me the common terms and differences" *[User has uploaded 12 PDF contracts]*

Response: "I'll help you analyze these 12 contracts. Given the volume, I recommend we process this in batches to ensure thorough analysis:

  1. Contracts 1-4: Extract key terms, obligations, and unique clauses
  2. Contracts 5-8: Same analysis
  3. Contracts 9-12: Same analysis
  4. Synthesis: Common terms across all + key differences

This ensures I can give each contract proper attention. Should I start with contracts 1-4?"

Example 2: Comprehensive Research Report

User query: "Research the AI chip market and create a detailed report covering market size, key players, technology trends, and 5-year forecast"

Response: "I'll create a comprehensive AI chip market report. This research and report creation will be substantial, so I recommend:

  1. Market overview: Size, growth, segments (research + draft)
  2. Competitive landscape: Key players, market share, strategies (research + draft)
  3. Technology trends: Current developments, emerging tech (research + draft)
  4. Future outlook: 5-year forecast, implications (research + draft)
  5. Final report assembly: Executive summary, polish, formatting

Each section gets thorough research and quality writing. Should I begin with the market overview?"

Example 3: Simple Task (No Chunking)

User query: "Summarize this 10-page PDF and give me the key takeaways"

Response: *[No trigger - proceed normally without invoking this skill]* "I'll read through the PDF and extract the key points for you."

*Rationale: Single document summary is well within normal token budget.*

Skill Maintenance

This skill should be updated when:

  • Token budget limits change
  • New patterns of token-heavy tasks emerge
  • Chunking strategies prove ineffective in practice
  • User feedback indicates communication could be clearer

平台分布

Codex

36.41%
按下载量换算29

Claude

27.23%
按下载量换算22

Cursor

18.92%
按下载量换算15

Gemini CLI

9.74%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills