Token上下文优化器(总入口)
Introduction
1. 简介: 一套覆盖「不引入 / 压缩 / 生命周期 / 缓存复用 / 并行 / 输出纪律 / 治理 / 可视化记账」的极致 token 优化方法库,附带 token 节省台账,每次优化都可记录、可审计、可量化,且不影响回答质量。 2. 触发关键词: 优化 token、省 token、压缩上下文、减少上下文消耗、上下文太长、token 暴涨、优化成本不影响效果、上下文压缩、上下文优化 3. 功能亮点: 8 大主题、约 38 种省 token 手法,按需触发,不伤回答质量 内置 token_ledger.py 台账:每次优化自动记账,并在每条回复末尾输出「本次会话节约 token(N)」 配套 estimate_tokens.py 估算、compact_json.py 压缩 JSON、run_to_scratch.py 把超大命令输出落到草稿文件 所有手法均标注「安全」:只丢弃低价值冗余,保留决策相关信息 4. 适用场景: 长任务 / 多步任务、大代码库探索、读大文件或日志、总结工具输出、并行调用、怀疑上下文膨胀时。 5. 说明: “Token上下文优化器(token-context-optimizer)” 、“子代理分流(并行调查)(subagent-fanout)、提示缓存优化器(prompt-cache-optimizer)、上下文预算守卫(context-budget-guard)共同使用效果最优。
Resource Information
License information is collected from official sources and may be outdated or missing. Refer to the LICENSE file in the original repository before commercial use.
Information boundary
Information on this page is collected from official documents for technical presentation only and does not imply our endorsement. Pricing, quotas and availability are subject to the latest official statements. We make no commitment regarding any action you take after leaving this site.
Similar skills
Agent Browser
Not specified用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
技能发现·Find Skills
API key required不知道装什么技能?想让 AI 自己找到最合适的技能?技能发现·Find Skills 是场景驱动+关键词双模式的技能发现工具(skill discovery / skill finder / install skills):用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票""找个薅羊毛技能"),或明确说"安装技能/find skills/找个skill/有没有做XX的技能"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、ClawHub 六层联合搜索并推荐最合适的技能,支持一键安装。已完全替代官方原 find-skills 插件。触发词:找技能、安装技能、技能推荐、技能发现、find skills、skill discovery、install skill。
self-improving agent
Not specified记录自身发现以实现自我改进的技能
Agent Browser
Not specified用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
Proactive Agent
FreemiumAPI key required将 AI 代理从任务执行者转变为能够预见需求、持续优化的主动伙伴。现已支持 WAL Protocol、Working Buffer、Autonomous Crons 及经过实战验证的模式。属于 Hal Stack 🦞。
Memory Setup
API key required启用并配置 Moltbot/Clawdbot 记忆搜索以实现持久上下文。适用于初始化记忆、解决“金鱼脑”问题或协助用户配置 memorySearch。涵盖 MEMORY.md、日志记录及向量搜索设置。
What is a Skill
A Skill is a packaged single capability, such as text recognition, document summarization, or keyword extraction. Developers wrap the calling logic and prompts into a plugin-like unit, so users can load it without understanding the underlying model. StackPilot indexes a large number of skills that can be tried instantly or assembled into a plan.