一键导入
cost-analysis
Analyze Claude Code session costs using ccusage. Shows token distribution, per-model breakdown, cache efficiency, and optimization recommendations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze Claude Code session costs using ccusage. Shows token distribution, per-model breakdown, cache efficiency, and optimization recommendations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Full pipeline for analyzing a new SOLAR LINE episode — from subtitle extraction through orbital analysis to published report. Use when starting analysis of a new episode.
Review a SOLAR LINE episode or summary report for quality, accuracy, and readability. Checks data integrity, Japanese text quality, and orbital mechanics correctness.
Extract and process subtitles from a SOLAR LINE episode video. Supports YouTube VTT download, Whisper STT, video OCR, and dialogue line extraction.
Consult OpenAI Codex as a trusted friend for design review, architecture feedback, or technical advice. Use when the user asks to consult Codex or wants a second opinion.
| name | cost-analysis |
| description | Analyze Claude Code session costs using ccusage. Shows token distribution, per-model breakdown, cache efficiency, and optimization recommendations. |
| argument-hint | ["session|daily|auto"] |
Analyze Claude Code token usage and costs for the SOLAR LINE project.
cd ts && node --experimental-strip-types src/analyze-costs.ts --mode auto
export PATH="$HOME/.bun/bin:$PATH"
bunx ccusage@17 session --offline --json --timezone Asia/Tokyo | \
node --experimental-strip-types ts/src/analyze-costs.ts --mode session
export PATH="$HOME/.bun/bin:$PATH"
bunx ccusage@17 daily --offline --json --timezone Asia/Tokyo | \
node --experimental-strip-types ts/src/analyze-costs.ts --mode daily
| Metric | Good | Needs Attention |
|---|---|---|
| Cache hit rate | >95% | <90% |
| TodoWrite % of calls | <5% | >10% |
| Subagent avg tokens | <500K | >1M |
| Max session size | <2MB | >3MB |
ccusage v18+ requires the runtime: protocol (bun-native). Use v17:
bunx ccusage@17 [command] --offline --json
If bun is not installed:
curl -fsSL https://bun.sh/install | bash
export PATH="$HOME/.bun/bin:$PATH"
ideas/cost_efficiency_analysis.md — Full analysis write-up