Agent skill

Cc Usage

by Aster110 in Aster110/mycc

查看 Claude Code 的 token 用量统计。按日期×模型维度拆分,支持按天数、项目过滤。触发词:"/cc-usage"、"看看用量"、"token 消耗"、"用量统计"

No licenceAuto-check passed

Install Cc Usage

skills CLI
$ npx skills add Aster110/mycc --skill cc-usage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Aster110/mycc cc-usage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Aster110/mycc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cc-usage .claude/skills/cc-usage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cc-usage
GitHub stars
164
Token cost
~303 tokens
SKILL.md length
76 words
Files
2 (incl. scripts)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

查看 Claude Code 的 token 用量统计。按日期×模型维度拆分,支持按天数、项目过滤。触发词:"/cc-usage"、"看看用量"、"token 消耗"、"用量统计"

  • Works in 3 steps: 根据用户需求确定参数(天数、项目、输出格式) → 运行分析脚本 → 把结果整理成易读的 Markdown 表格返回给用户
  • SKILL.md covers 触发词, 执行步骤, 脚本位置 and 用法, plus 4 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Cc Usage is an agent skill from Aster110/mycc. 查看 Claude Code 的 token 用量统计。按日期×模型维度拆分,支持按天数、项目过滤。触发词:"/cc-usage"、"看看用量"、"token 消耗"、"用量统计"

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/analyzer.py`).

The repository describes itself as: MyCC - 让 Claude Code 跑在手机上 | Run Claude Code from your phone.

Example prompts

  • “/cc-usage”
  • “token 消耗”
  • “/cc-usage”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 根据用户需求确定参数(天数、项目、输出格式)
  2. 运行分析脚本
  3. 把结果整理成易读的 Markdown 表格返回给用户

What it can do on your machine

Read from SKILL.md and the folder at commit 2925c64. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cc Usage loads about 303 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 76 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~303

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 76 words (~303 tokens).

“扫描本地 Claude Code 日志(~/.claude/projects/),按 日期 × 模型 维度统计 token 消耗和 API 等价费用。”

— opening of SKILL.md by Aster110
name
cc-usage

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in .claude/skills/cc-usage of Aster110/mycc.

  • SKILL.md
  • scripts/analyzer.py

Open the folder on GitHubat commit 2925c64

Compare with similar skills

Cc Usage next to the 2 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cc Usage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cc Usage this skillAster110/mycc164—~303Automated safety check: PassNone
Asset ManagerZJU-REAL/Easel3.2k—~964Automated safety check: PassApache-2.0
Tencent MpsLeoYeAI/openclaw-master-skills2.2k—~3.6kAutomated safety check: PassMIT

Similar skills

  • Asset Manager

    ZJU-REAL/Easel

    outputs/ 目录下的产物管理:按日期/平台/类型归档、打标签、搜索历史内容、生成素材清单. An agent skill from ZJU-REAL/Easel.

    3.2k GitHub stars~964 tokensUpdated today
    Auto-check passed
  • Tencent Mps

    LeoYeAI/openclaw-master-skills

    腾讯云 MPS 媒体处理服务。只要用户的请求涉及音视频或图片的处理、生成、增强、用量查询、内容理解、媒体质检,必须使用此 Skill。覆盖:转码/压缩/格式转换、画质增强/老片修复/超分、字幕提取/翻译/语音识别、去字幕/擦除水印/人脸模糊、图片超分/美颜/降噪、音频分离/人声提取/伴奏提取、AI生图/生视频(含分镜)、大模型音视频理解、媒体质检、用量统计。视频增强支持专用模板(真人/漫剧/抖动…

    2.2k GitHub stars~3.6k tokensUpdated 2 mo ago
    Auto-check passed

More from Aster110/mycc

All 9 skills in this repo
  • Collect

    Aster110/mycc

    每日信息采集。多源并行采集 → AI 分析 → 飞书简报。触发词:"/collect"、"每日采集"、"早报". An agent skill from Aster110/mycc.

    164 GitHub stars~1.7k tokensUpdated 14 days ago
    Auto-check passed
  • Mycc

    Aster110/mycc

    启动 mycc 小程序后端服务(后台运行)。触发词:"/mycc"、"启动 mycc"、"启动小程序后端"、"检查 mycc 状态"

    164 GitHub stars~856 tokensUpdated 14 days ago
    Auto-check: notes
  • Read Gzh

    Aster110/mycc

    读取微信公众号文章并总结。触发词:"/read-gzh"、"帮我读一下这篇公众号"、"总结一下这篇文章". An agent skill from Aster110/mycc.

    164 GitHub stars~303 tokensUpdated 14 days ago
    Auto-check passed
  • Desktop

    Aster110/mycc

    桌面操控。让 CC 看屏幕、动鼠标、点按钮、输文字。基于 macOS 原生 OCR 触觉反馈,不截全屏传 AI,极致省 token。触发词:"/desktop"、"帮我操作桌面"、"点一下那个按钮"、"看看屏幕上有什么"

    164 GitHub stars~1.1k tokensUpdated 14 days ago
    Auto-check passed
  • Scheduler

    Aster110/mycc

    定时任务系统。内置在 mycc 后端,自动执行定时任务。触发词:"/scheduler"、"定时任务"、"启动定时"、"查看定时"

    164 GitHub stars~460 tokensUpdated 14 days ago
    Auto-check passed
  • Setup

    Aster110/mycc

    首次使用引导。交互式帮助用户完成 MyCC 初始化配置。触发词:"/setup"、"帮我配置"、"初始化"、首次使用时自动触发。

    164 GitHub stars~658 tokensUpdated 14 days ago
    Auto-check passed

Questions about Cc Usage

What does Cc Usage do?

查看 Claude Code 的 token 用量统计。按日期×模型维度拆分,支持按天数、项目过滤。触发词:"/cc-usage"、"看看用量"、"token 消耗"、"用量统计". Cc Usage is an agent skill from Aster110/mycc.

How do I install Cc Usage in Claude Code?

Run `npx skills add Aster110/mycc --skill cc-usage -a claude-code`. Or copy the skill folder (.claude/skills/cc-usage in Aster110/mycc) into .claude/skills/cc-usage in your project. Claude Code loads it when a task matches its description.

How do I install Cc Usage in Codex?

Run `npx skills add Aster110/mycc --skill cc-usage -a codex`. Or copy the skill folder (.claude/skills/cc-usage in Aster110/mycc) into .agents/skills/cc-usage in your project. Codex loads it when a task matches its description.

Can I use Cc Usage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Aster110/mycc --skill cc-usage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cc-usage, .gemini/skills/cc-usage, .github/skills/cc-usage and .opencode/skills/cc-usage in your project.

What does Cc Usage need to run?

Going by SKILL.md and its folder, Cc Usage needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Cc Usage access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cc Usage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cc Usage use?

No licence was found for Cc Usage or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Cc Usage use?

About 303 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cc Usage?

Skills that share tags, products or a category with Cc Usage: Asset Manager (ZJU-REAL/Easel, 3.2k stars) and Tencent Mps (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cc Usage?

Aster110 (a GitHub user) maintains it in Aster110/mycc, which has 164 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 23, 2026.

Source: Aster110/mycc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.