← 返回 Skills 市场
singggggyee

Claude Usage Analyzer

作者 SingYee · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
161
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install claude-usage-analyzer
功能描述
Analyze Claude Code token usage. Shows where tokens went, which projects cost most, and how to reduce waste. Use when user asks about token usage, costs, or...
使用说明 (SKILL.md)

Claude Usage Analyzer

Analyze your Claude Code token usage by parsing local session logs.

Data access

Usage

Requires the claude-usage-analyzer CLI to be pre-installed. See https://github.com/SingggggYee/claude-usage-analyzer for installation instructions.

claude-usage-analyzer

More commands:

  • claude-usage-analyzer report --days 7 (last 7 days)
  • claude-usage-analyzer sessions (top sessions by cost)
  • claude-usage-analyzer session \x3Cid> (per-turn breakdown)
  • claude-usage-analyzer --json (machine-readable output)
安全使用建议
This skill intends to parse your local Claude session logs at ~/.claude/projects/*/*.jsonl and run a local CLI. Before installing or invoking it: (1) confirm the claude-usage-analyzer CLI source on the linked GitHub repo and review its code/install instructions; (2) inspect ~/.claude files for sensitive data you don't want parsed or exposed; (3) prefer manually running the CLI locally first to see what it does and what it outputs; (4) be aware that SKILL.md claims 'no network access' but installing the CLI or running it could use the network — verify network behavior; (5) note the registry metadata does not declare the config path or required binary — ask the publisher to correct metadata or provide an install spec before proceeding.
功能分析
Type: OpenClaw Skill Name: claude-usage-analyzer Version: 1.0.3 The skill bundle acts as a wrapper for the `claude-usage-analyzer` CLI tool, designed to analyze local Claude Code session logs. The instructions in `SKILL.md` and metadata in `_meta.json` are consistent with the stated purpose of reporting token usage and costs. No evidence of malicious intent, data exfiltration, or prompt injection was found; the requested access to `~/.claude/projects/` is necessary for the tool's functionality.
能力评估
Purpose & Capability
The skill claims to analyze Claude Code session logs, which reasonably requires reading files under ~/.claude/projects/*.jsonl and a small CLI. However the registry metadata declares no required config paths and no required binaries while SKILL.md lists ~/.claude/projects/*/*.jsonl and requires the 'claude-usage-analyzer' CLI — this mismatch is inconsistent and unexplained.
Instruction Scope
SKILL.md explicitly directs the agent to read local Claude session logs at ~/.claude/projects/*/*.jsonl and run a local CLI. Reading those local logs is coherent with the stated purpose, but the skill will access potentially sensitive local data; SKILL.md also asserts 'no network access' but provides a GitHub link for the CLI, so network activity could occur during CLI installation or if the CLI itself phones home.
Install Mechanism
This is instruction-only with no install spec in the registry. SKILL.md requires a preinstalled 'claude-usage-analyzer' CLI and points to a GitHub repo for installation; the registry should have declared this dependency. Lack of an install spec is low technical risk but increases ambiguity about what will be installed and from where.
Credentials
The skill requests no environment variables or credentials, which is proportionate for an offline, local-log analyzer.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent agent-wide privileges. It does not modify other skills or system-wide settings per the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claude-usage-analyzer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claude-usage-analyzer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Fix metadata declaration for security scan
v1.0.2
Fix display name
v1.0.1
Update links from ccwhy to claude-usage-analyzer
v0.2.0
Declare config paths and binary dependency explicitly. Remove inline install instructions to resolve security scan flags.
v0.1.0
Initial release as claude-usage-analyzer
元数据
Slug claude-usage-analyzer
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Claude Usage Analyzer 是什么?

Analyze Claude Code token usage. Shows where tokens went, which projects cost most, and how to reduce waste. Use when user asks about token usage, costs, or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 161 次。

如何安装 Claude Usage Analyzer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claude-usage-analyzer」即可一键安装,无需额外配置。

Claude Usage Analyzer 是免费的吗?

是的,Claude Usage Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Claude Usage Analyzer 支持哪些平台?

Claude Usage Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Claude Usage Analyzer?

由 SingYee(@singggggyee)开发并维护,当前版本 v1.0.3。

💬 留言讨论