ccusageclaudecodecodex

A tool for converting local Claude Code or Codex usage logs into expenditure and usage reports when an operator needs this, as an alternative to manually reading raw JSONL files.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ccusageclaudecodecodex" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e9bc9f1f3335acc161a551bf303bce7fdc41c0c72236963cfaaa44dbccb7f052. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/monitor-claude-code-and-codex-local-usage-logs-for-spend-model-mix-and-session-burn-with-ccusage before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A tool for converting local Claude Code or Codex usage logs into expenditure and usage reports when an operator needs this, as an alternative to manually reading raw JSONL files.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Local Claude Code or Codex usage logs, ccusage, and shell access on the machine that stores the logs.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 ccusage 监控 Claude Code 和 Codex 的本地使用日志,包括支出、模型组合和会话消耗情况"
slug: "monitor-claude-code-and-codex-local-usage-logs-for-spend-model-mix-and-session-burn-with-ccusage"
version: "1.0.0"
displayName: "使用 ccusage 监控 Claude Code 和 Codex 的本地使用日志,包括支出、模型组合和会话消耗情况"
summary: "当代理操作员需要将本地Claude Code或Codex使用日志转换为支出和使用报告时,请使用ccusage,而不是手动阅读原始JSONL文件。"
license: "MIT"
description: "当代理操作员需要将本地Claude Code或Codex使用日志转换为支出和使用报告时,请使用ccusage,而不是手动阅读原始JSONL文件。"
github_stars: 12900
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Runbooks & Diagnostics"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 12900
  npm_package: "ccusage"
  npm_weekly_downloads: 154142

使用 ccusage 监控 Claude Code 和 Codex 的本地使用日志,包括支出、模型组合和会话消耗情况

Use ccusage when an agent operator needs to turn local Claude Code or Codex usage logs into spend and usage reports instead of manually reading raw JSONL files.

Prerequisites

Local Claude Code or Codex usage logs, ccusage, and shell access on the machine that stores the logs.

Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决代理操作员手动处理 Claude Code/Codex 使用日志的痛点,具有明确的实用价值
  • 面向开发者/运维人员,受众清晰
Trigger Precision92/100

Highlights

  • 触发描述清晰明确,准确描述了核心使用场景和目的
Structure and Standards65/100

Areas to improve

  • 缺少执行步骤与端到端示例 Reported severity: Major

    文档缺少具体的 Phase/步骤划分和端到端使用示例,用户难以理解如何执行

    Recommendation: 补充详细的执行步骤,包括如何安装 ccusage、如何运行命令处理日志、输出报告的具体示例

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未明确说明何时使用此 Skill

    Recommendation: 增加 When to Use 章节,进一步明确适用场景和时机

Highlights

  • frontmatter 完整,包含必要的元数据信息
Execution Reliability55/100

Areas to improve

  • Installation指引缺失 Reported severity: Major

    Installation 部分提示无法自动提取安装或使用说明,用户无法直接执行

    Recommendation: 提供具体的安装命令(如 npm install ccusage)和基础使用示例,确保用户可执行

Highlights

  • 工具来源(GitHub 仓库)明确,便于用户进一步查阅
Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Local Claude Code or Codex usage logs, ccusage, and shell access on the machine that stores the logs.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.