← 返回 Skills 市场
toll
作者
Fullstop000
· GitHub ↗
· v1.0.5
· MIT-0
236
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install toll
功能描述
Track and display token usage statistics and estimated USD costs from Claude Code and Codex CLI sessions
安全使用建议
This skill appears to do what it claims: run the 'toll' CLI to parse local Claude/Codex logs and report token counts and cost estimates. Before installing or running it: (1) review the upstream repository and the install script instead of running curl | sh blindly — prefer cargo install or a verified release; (2) be aware the tool will read files under ~/.claude and ~/.codex which might contain sensitive information (API keys or full prompts) — only allow if you trust the tool and have inspected the repo; (3) note the skill metadata did not declare the config paths it reads, so expect local file access even though it's not listed in requirements; (4) if you need tighter control, run 'toll' locally yourself and paste sanitized output to the agent rather than giving the agent direct file access or running unreviewed installers.
功能分析
Type: OpenClaw Skill
Name: toll
Version: 1.0.5
The 'toll' skill is a utility designed to aggregate and display token usage and cost statistics from Claude Code and Codex CLI logs. While the SKILL.md file suggests a potentially risky 'curl | sh' installation method, the tool's behavior is transparent and aligns with its stated purpose of reading local session logs (~/.claude/ and ~/.codex/) to provide usage summaries. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the behavior: the skill runs the 'toll' CLI and aggregates Claude Code and Codex CLI logs. However, the skill metadata declares no required config paths while SKILL.md explicitly says it reads ~/.claude/projects/**/*.jsonl and ~/.codex/sessions/. The missing config-path declaration is an incoherence (the skill will access those files even though metadata doesn't list them).
Instruction Scope
Runtime instructions are narrowly scoped: check for the toll binary, parse user intent, run toll with the requested flags, and present results. The instructions reference specific local log paths (home directory) which is expected for this purpose and do not instruct transmission of data to external endpoints. Note: reading those logs can expose usage data and potentially API keys if present in the logs.
Install Mechanism
There is no install spec in the skill bundle (instruction-only), but SKILL.md advises installing via 'curl -fsSL https://raw.githubusercontent.com/.../install.sh | sh' or 'cargo install toll'. Piping an arbitrary raw GitHub script to sh is higher risk than using a package manager; this is a user-level install recommendation inside the instructions and not performed automatically, but users/agents should avoid blind curl|sh installs and prefer verified releases or cargo where possible.
Credentials
The skill declares no required env vars or credentials and only needs the toll binary plus read access to the user's Claude/Codex log paths. That is proportionate to the stated function. Caveat: logs may contain sensitive tokens or other secrets — the skill will read those files to produce reports.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide configs in its instructions, and is user-invocable. There is no indication it requires persistent elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install toll - 安装完成后,直接呼叫该 Skill 的名称或使用
/toll触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Initial release: track token usage and costs from Claude Code and Codex CLI sessions
元数据
常见问题
toll 是什么?
Track and display token usage statistics and estimated USD costs from Claude Code and Codex CLI sessions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。
如何安装 toll?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install toll」即可一键安装,无需额外配置。
toll 是免费的吗?
是的,toll 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
toll 支持哪些平台?
toll 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 toll?
由 Fullstop000(@fullstop000)开发并维护,当前版本 v1.0.5。
推荐 Skills