Loading...
Loading...
Compare original and translation side by side
~/.claude/analytics/~/.claude/analytics/| Subcommand | Description | Data Source | Reference |
|---|---|---|---|
| Top agents by frequency, duration, model breakdown | | |
| Model delegation breakdown (opus/sonnet/haiku) | | |
| Top skills by invocation count | | |
| Slowest hooks and failure rates | | |
| Team spawn counts, idle time, task completions | | |
| Replay a session timeline with tools, tokens, timing | CC session JSONL | |
| Token cost estimation with cache savings | | |
| Daily activity, model delegation, peak hours | | |
| Unified view of all categories | All files | |
| 子命令 | 描述 | 数据源 | 参考文档 |
|---|---|---|---|
| 按使用频率、时长、模型细分的热门Agent | | |
| 模型委托细分(opus/sonnet/haiku) | | |
| 按调用次数排序的热门Skill | | |
| 最慢的Hook及失败率 | | |
| 团队生成次数、空闲时间、任务完成情况 | | |
| 重放包含工具、令牌、时间线的会话 | CC session JSONL | |
| 含缓存节省的令牌成本估算 | | |
| 每日活动、模型委托、高峰时段 | | |
| 所有类别的统一视图 | 所有文件 | |
undefinedundefinedundefinedundefinedagentsmodelsskillshooksteamssummaryreferences/jq-queries.mdsessionreferences/session-replay.mdcostreferences/cost-estimation.mdtrendsreferences/trends-analysis.mdsummaryagentsmodelsskillshooksteamssummaryreferences/jq-queries.mdsessionreferences/session-replay.mdcostreferences/cost-estimation.mdtrendsreferences/trends-analysis.mdsummaryreferences/data-locations.md| File | Contents |
|---|---|
| Agent spawn events with model, duration, success |
| Skill invocations |
| Hook execution timing and failure rates |
| Session end summaries |
| Task completions |
| Team spawns and idle events |
references/data-locations.md| 文件 | 内容 |
|---|---|
| 包含模型、时长、成功状态的Agent生成事件 |
| Skill调用记录 |
| Hook执行时间及失败率 |
| 会话结束摘要 |
| 任务完成记录 |
| 团队生成及空闲事件 |
rules/| Category | Rule | Impact | Key Pattern |
|---|---|---|---|
| Data Integrity | | CRITICAL | Hash project IDs, never log PII, local-only |
| Cost & Tokens | | HIGH | Separate pricing per token type, cache savings |
| Performance | | HIGH | Streaming jq for >50MB, rotation-aware queries |
| Visualization | | HIGH | Recharts charts, ResponsiveContainer, tooltips |
| Visualization | | HIGH | Dashboard grids, stat cards, widget registry |
rules/| 类别 | 规则 | 影响级别 | 关键模式 |
|---|---|---|---|
| 数据完整性 | | 关键 | 哈希项目ID,绝不记录PII,仅本地存储 |
| 成本与令牌 | | 高 | 按令牌类型区分定价,缓存节省 |
| 性能 | | 高 | 对>50MB文件使用流式jq查询,支持轮换文件查询 |
| 可视化 | | 高 | Recharts图表、ResponsiveContainer、工具提示 |
| 可视化 | | 高 | 仪表板网格、统计卡片、小部件注册表 |
| Reference | Contents |
|---|---|
| Ready-to-run jq queries for all JSONL subcommands |
| Session JSONL parsing, timeline extraction, presentation |
| Pricing table, cost formula, daily cost queries |
| Daily activity, model delegation, peak hours queries |
| All data sources, file formats, CC session structure |
| 参考文档 | 内容 |
|---|---|
| 适用于所有JSONL子命令的可直接运行的jq查询 |
| 会话JSONL解析、时间线提取、呈现 |
| 定价表、成本公式、每日成本查询 |
| 每日活动、模型委托、高峰时段查询 |
| 所有数据源、文件格式、CC会话结构 |
jq-srules/large-file-streaming.md<name>.<YYYY-MM>.jsonlteampid-sjqrules/large-file-streaming.md<name>.<YYYY-MM>.jsonlteampidork:exploreork:feedbackork:rememberork:doctorork:exploreork:feedbackork:rememberork:doctor