Communitygithub.com

daymade/claude-code-skills

通过 ccusage 证据分析 Claude Code 和 Claude Desktop Code 的 token 使用、成本、配额消耗、模型组合、缓存读写以及 5 小时块消耗。适用于用户询问 Claude 配额为何耗尽、某个模型(如 fable/opus/sonnet)是否异常昂贵、今天或历史上消耗了多少 token,或需要针对本地 Claude Code CLI/Desktop 使用情况的易读解释。

claude-code-skills 是什么?

此技能专注于分析 Claude Code 和 Claude Desktop Code 的详细使用数据,利用 ccusage 工具生成的证据来解析 token 消耗、成本、配额使用情况、模型混合、缓存读写以及 5 小时块的消耗趋势。它旨在帮助开发者和 AI 代理用户理解为何他们的 Claude 配额被迅速耗尽,判断特定模型(例如 fable、opus、sonnet)是否出现异常昂贵的费用,并查询特定时间段(如今天或历史数据)的 token 使用量。此外,该技能还能用通俗易懂的语言解释本地 Claude Code CLI 或 Desktop 的日常使用情况,从而提供人类友好的反馈。支持多种平台(包括 CLI 和 Desktop),并依赖 ccusage 作为数据源,通过解析其输出生成可视化或文本报告。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add daymade/claude-code-skills

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

claude-code-skills 是做什么的?

使用 ccusage 证据分析 Claude Code 和 Claude Desktop Code 的 token 使用、成本、配额消耗、模型组合、缓存读写以及 5 小时块消耗。适用于用户询问 Claude 配额为何耗尽、某个模型(如 fable/opus/sonnet)是否异常昂贵、今天或历史上消耗了多少 token,或需要针对本地 Claude Code CLI/Desktop 使用情况的易读解释。


该技能通过解析 ccusage 生成的详细使用日志,帮助开发者深入了解 Claude 服务的实际消耗情况。它能够回答以下常见问题:

  • 为什么我的 Claude 配额这么快就用完了?
  • 某个模型(例如 fable/opus/sonnet)是否比预期更贵?
  • 我今天或历史上使用了多少 token?
  • 缓存的读写比例如何?
  • 5 小时块的消耗模式是怎样的?

此技能适用于 Claude Code CLI 和 Claude Desktop 两种平台,并提供一个直观的界面来展示分析结果。它利用 ccusage 作为后端工具,收集原始证据并进行聚合与可视化,最终以人类可读的格式呈现给用户。

使用方法

要使用此技能,请确保你已安装并配置好 ccusage(https://github.com/daymade/ccusage)。然后在你的工作流或对话中调用该技能,它将自动分析本地存储的 ccusage 数据。

示例查询:

  • "检查我的 Claude 配额为什么用完了"
  • "显示今天的 token 消耗"
  • "模型 sonnet 最近是否变贵了?"

依赖项目

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

daymade/claude-code-skills

>- Generates Chinese/Japanese speech with StepFun's Contextual TTS — default stepaudio-2.5-tts, stepaudio-3-tts for whisper/inline-() prosody. Replaces step-tts-2's voice_label with natural-language instruction. Use for emotional/prosody-controlled synthesis, batch voice lines, migrating from step-tts-2, or cloned voices (2.5/step-tts-2, not v3). Triggers on 阶跃 TTS, 语音合成, 配音. Not for transcription (use stepfun-asr).

daymade/claude-code-skills

This skill should be used when comparing two videos to analyze compression results or quality differences. Generates interactive HTML reports with quality metrics (PSNR, SSIM) and frame-by-frame visual comparisons. Triggers when users mention "compare videos", "video quality", "compression analysis", "before/after compression", or request quality assessment of compressed videos.

daymade/claude-code-skills

Download YouTube videos and HLS streams (m3u8) from platforms like Mux, Vimeo, etc. using yt-dlp and ffmpeg. Use this skill when users request downloading videos, extracting audio, handling protected streams with authentication headers, or troubleshooting download issues like nsig extraction failures, 403 errors, or cookie extraction problems.

daymade/local-conversation-history

Entry point for local AI conversation history across providers. Routes a request to the one skill that owns it, by platform (Claude Code, OpenAI Codex, Kimi CLI) and action (read evidence vs continue interrupted work), and owns the one job none of them own alone: a single inventory spanning all three providers. Use when the provider is unknown or plural ("our history", "what have I been working on", "which chats did I have"), when the user wants Kimi CLI history at all, when it is unclear whether they need evidence or resumption, or when they ask for this skill by name. Vague recall that names no platform ("we discussed this once, when was it?") belongs here rather than to a single-provider reader, because a Claude-only answer to an unscoped question cannot support an absence claim. When the platform and the action are both already clear, load that executor skill directly instead — except Kimi CLI, which has no reader or continuation skill of its own and always routes through here.

daymade/ppt-creator

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp, PowerPoint). Use for presentations, pitches, slide decks, or keynotes.

daymade/prompt-optimizer

Transform vague prompts into precise, well-structured specifications using EARS (Easy Approach to Requirements Syntax) methodology. This skill should be used when users provide loose requirements, ambiguous feature descriptions, or need to enhance prompts for AI-generated code, products, or documents. Triggers include requests to "optimize my prompt", "improve this requirement", "make this more specific", or when raw requirements lack detail and structure.

daymade/qa-expert

This skill should be used when establishing comprehensive QA testing processes for any software project. Use when creating test strategies, writing test cases following Google Testing Standards, executing test plans, tracking bugs with P0-P4 classification, calculating quality metrics, or generating progress reports. Includes autonomous execution capability via master prompts and complete documentation templates for third-party QA team handoffs. Implements OWASP security testing and achieves 90% coverage targets.

daymade/read-claude-code-history

Reads, searches, and exports local Claude Code history without resuming work. Covers recent session inventory, exact session timelines, verbatim human input including queued mid-turn prompts, full-event keyword search, hybrid recall when wording changed, end-state triage, and deleted-file recovery across active Claude homes plus registered archives. Use whenever the user asks what they or Claude said, wants a Claude Code session ID or original context, remembers prior work vaguely, needs an old file from a transcript, or must prove what a Claude session contained before continuing it. Also owns the only Kimi CLI surface, via its Kimi inventory and search flags. For Codex history use read-codex-history; when the request names no platform at all or spans providers, start at local-conversation-history.

daymade/read-codex-history

Reads, searches, and exports local OpenAI Codex history without continuing the old task. Lists recent Codex sessions, extracts exact prompt-ledger inputs by Session, locates a rollout by verified session_meta identity, reconstructs one chronological user/assistant timeline with fork and compaction lineage, and performs bounded keyword search across live and archived rollouts. Use whenever the user asks what they told Codex, wants recent original inputs, a Codex Session ID, full prior context, fork ancestry, or evidence of what a Codex run did. For Claude Code history use read-claude-code-history.

daymade/twitter-reader

Fetch Twitter/X post content including long-form Articles with full images and metadata. Use when Claude needs to retrieve tweet/article content, author info, engagement metrics, and embedded media. Supports individual posts and X Articles (long-form content). Automatically downloads all images to local attachments folder and generates complete Markdown with proper image references. Preferred over Jina for X Articles with images.

相关技能