Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计通过

free-token-optimization-primer免费令牌优化入门

Agent Skill

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

总安装

4,080

周安装

170

GitHub Stars

公开资料未说明

下载量

1,360
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:free-token-optimization-primer(免费令牌优化入门)
来源仓库:https://github.com/thebrierfox/free-token-optimization-primer
安装命令:
openclaw skills install free-token-optimization-primer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install free-token-optimization-primer

简介

诊断框架,用于识别和减少 OpenClaw 部署中的代币浪费,通过应用高效的数据处理和模型使用实践来降低成本。

SKILL.md

SKILL: Token Cost Intelligence — Free Primer

Source: Production agent stack running at $0.91/day (down from $8–10/session) Domain: Token cost optimization, OpenClaw deployments Type: Free primer


THE CORE TRUTH

*The models are not expensive. Your habits are.*

Most OpenClaw operators are spending 8–10x more than they need to. This primer gives you the diagnostic framework to find out where you're leaking.


THE "STUPID BUTTON" — 6 DIAGNOSTIC QUESTIONS

Run these before every session:

  1. Are you feeding raw PDFs/images when you only need text?

Screenshots are the worst offender. Copy-paste or convert to Markdown. A 4,500-word PDF = 100,000+ tokens raw. The same content in Markdown = 4,000–6,000 tokens. ~20x reduction.

  1. When did you last start a fresh conversation?

Every new turn re-sends the *entire* conversation history. 30-turn threads don't just feel inefficient — they are. 10–15 turn cap, then summarize and start fresh.

  1. Are you using the most expensive model for everything?

Opus for formatting and proofreading is a Ferrari to the grocery store. Haiku handles light tasks at 1/30th the cost.

  1. Do you know what's loading in context before you type?

Each loaded plugin = silent token tax per session. Documented case: 50,000 tokens consumed before the first keystroke. Audit your connectors. Disable what you don't use.

  1. Are you caching stable context? (API builders)

Cache hits on Opus: $0.50/M vs $5.00/M standard = 90% discount. System prompts, tool definitions, persona instructions → all cacheable. If you're not caching, you're paying full price for the same tokens every call.

  1. How are you handling web search?

Native model web search is token-heavy. MCP-routed alternatives return structured results at a fraction of the cost. Know what you're paying per search.


COST COMPARISON (CONCRETE)

Session TypeInput TokensOutput TokensCost (Opus pricing)
Sloppy (raw PDFs, 30-turn sprawl, Opus-everything)800K–1M150K–200K$8–$10
Clean (markdown, 10-turn cap, tiered models)100K–150K50K–80K~$1
Reduction~8x~3x8–10x

Scaled to a team of 10 for one month:

  • Sloppy habits: ~$2,000/month
  • Clean habits: ~$250/month
  • Same output volume.

5 AGENT COMMANDMENTS

For anyone running OpenClaw agents at any scale:

  1. Index your references. Agents get relevant chunks, not raw document dumps. Dumping full documents per agent call is architectural waste.
  1. Pre-process context before it hits the window. Chunk, summarize, and clean *before* ingestion. If the model's first tokens are spent parsing your bad preprocessing, you failed.
  1. Cache your stable context. System prompts, tool definitions, persona instructions, reference material → all cacheable. Thousands of agent calls per day without caching is pouring money out.
  1. Scope each agent to minimum viable context. Planning agent doesn't need the full codebase. Editing agent doesn't need the project roadmap. Passing everything to every agent is measurable waste — and models perform *worse* drowning in irrelevant context.
  1. Measure what you burn. Instrument all agent calls: input tokens, output tokens, model mix, cost ratio. You cannot optimize what you don't measure.

Full framework with anti-patterns by tier, tiered model routing, and confirmed production delta available in Token Cost Intelligence on Claw Mart.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.98%
按下载量换算965

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills