token-card
从本地 Claude Code、Codex、Gemini CLI 和 OpenCode 会话日志渲染词元用量统计卡片,并作为文件提交到仓库。适用于有人想在 README 中展示当前用量数据,或需要可分享的编码智能体活动卡片时。
机器翻译查看英文原文
Render a token-usage stat card from local Claude Code, Codex, Gemini CLI, and OpenCode session logs and commit it into the repository as a file. Use when someone wants a current usage figure in a README, or asks for a shareable card of their coding-agent activity.
适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Token Card
- When to Activate
- The tool this runs
- Workflow
- Output
- Notes
Produce an SVG card summarising this machine's AI coding agent usage — total tokens, equivalent API cost, current streak, and the split across agents — and write it into the working tree as a file the README can reference. The card is a committed artifact rather than a hosted image, so it renders from the repository itself and does not depend on a third-party endpoint staying up. Someone wants a usage figure visible in a README or docs page. Someone asks for a shareable summary of their agent activity across tools. Use /cost-report instead when the question is "what did I spend this week". The two read different sources and produce different things: | | /cost-report | Token Card | |---|---|---| | Source | /.claude/metrics/costs.jsonl, written by ECC's stop:cost-tracker hook | The agents' own session logs | | Agents | Claude Code | Claude Code, Codex, Gemini CLI, OpenCode | | Output | Terminal summary, optional CSV | An SVG file committed to the repo | @tokenchit/cli, MIT licensed: Pinned to an exact version, deliberately. @latest resolves to whatever the registry currently serves, and this tool reads local session logs — so a compromised future release would be executed with access
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- skills/token-card/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T16:01:00.654Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。