Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

analytics分析

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

3,329

周安装

143

GitHub Stars

160

下载量

1,167
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:analytics(分析)
来源仓库:https://github.com/yonatangross/orchestkit
仓库路径:skills/analytics
安装命令:
npx skills add https://github.com/yonatangross/orchestkit --skill analytics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yonatangross/orchestkit --skill analytics

简介

提供Claude生态数据分析与统计查询工具集。

  • 支持代理使用、技能调用和会话成本分析。
  • 可生成趋势报告和团队活动概览。analytics 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 依赖jq查询和本地数据文件加载。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 安装方式:github,适用于Codex、Claude等平台。

SKILL.md

Cross-Project Analytics

Query local analytics data from ~/.claude/analytics/. All data is local-only, privacy-safe (hashed project IDs, no PII).

Subcommands

Parse the user's argument to determine which report to show. If no argument provided, use AskUserQuestion to let them pick.

SubcommandDescriptionData SourceReference
agentsTop agents by frequency, duration, model breakdownagent-usage.jsonl${CLAUDE_SKILL_DIR}/references/jq-queries.md
modelsModel delegation breakdown (opus/sonnet/haiku)agent-usage.jsonl${CLAUDE_SKILL_DIR}/references/jq-queries.md
skillsTop skills by invocation countskill-usage.jsonl${CLAUDE_SKILL_DIR}/references/jq-queries.md
hooksSlowest hooks and failure rateshook-timing.jsonl${CLAUDE_SKILL_DIR}/references/jq-queries.md
teamsTeam spawn counts, idle time, task completionsteam-activity.jsonl${CLAUDE_SKILL_DIR}/references/jq-queries.md
sessionReplay a session timeline with tools, tokens, timingCC session JSONL${CLAUDE_SKILL_DIR}/references/session-replay.md
costToken cost estimation with cache savingsstats-cache.json${CLAUDE_SKILL_DIR}/references/cost-estimation.md
trendsDaily activity, model delegation, peak hoursstats-cache.json${CLAUDE_SKILL_DIR}/references/trends-analysis.md
summaryUnified view of all categoriesAll files${CLAUDE_SKILL_DIR}/references/jq-queries.md

Quick Start Example

# Top agents with model breakdown
jq -s 'group_by(.agent) | map({agent: .[0].agent, count: length}) | sort_by(-.count)' ~/.claude/analytics/agent-usage.jsonl

# All-time token costs
jq '.modelUsage | to_entries | map({model: .key, input: .value.inputTokens, output: .value.outputTokens})' ~/.claude/stats-cache.json

Quick Subcommand Guide

agents, models, skills, hooks, teams, summary — Run the jq query from Read("${CLAUDE_SKILL_DIR}/references/jq-queries.md") for the matching subcommand. Present results as a markdown table.

session — Follow the 4-step process in Read("${CLAUDE_SKILL_DIR}/references/session-replay.md"): locate session file, resolve reference (latest/partial/full ID), parse JSONL, present timeline.

cost — Apply model-specific pricing from Read("${CLAUDE_SKILL_DIR}/references/cost-estimation.md") to CC's stats-cache.json. Show per-model breakdown, totals, and cache savings.

trends — Follow the 4-step process in Read("${CLAUDE_SKILL_DIR}/references/trends-analysis.md"): daily activity, model delegation, peak hours, all-time stats.

summary — Run all subcommands and present a unified view: total sessions, top 5 agents, top 5 skills, team activity, unique projects.

Data Files

Load Read("${CLAUDE_SKILL_DIR}/references/data-locations.md") for complete data source documentation.

FileContents
agent-usage.jsonlAgent spawn events with model, duration, success
skill-usage.jsonlSkill invocations
hook-timing.jsonlHook execution timing and failure rates
session-summary.jsonlSession end summaries
task-usage.jsonlTask completions
team-activity.jsonlTeam spawns and idle events

Rules

Each category has individual rule files in rules/ loaded on-demand:

CategoryRuleImpactKey Pattern
Data Integrity${CLAUDE_SKILL_DIR}/rules/data-privacy.mdCRITICALHash project IDs, never log PII, local-only
Cost & Tokens${CLAUDE_SKILL_DIR}/rules/cost-calculation.mdHIGHSeparate pricing per token type, cache savings
Performance${CLAUDE_SKILL_DIR}/rules/large-file-streaming.mdHIGHStreaming jq for >50MB, rotation-aware queries
Visualization${CLAUDE_SKILL_DIR}/rules/visualization-recharts.mdHIGHRecharts charts, ResponsiveContainer, tooltips
Visualization${CLAUDE_SKILL_DIR}/rules/visualization-dashboards.mdHIGHDashboard grids, stat cards, widget registry

Total: 5 rules across 4 categories

References

ReferenceContents
${CLAUDE_SKILL_DIR}/references/jq-queries.mdReady-to-run jq queries for all JSONL subcommands
${CLAUDE_SKILL_DIR}/references/session-replay.mdSession JSONL parsing, timeline extraction, presentation
${CLAUDE_SKILL_DIR}/references/cost-estimation.mdPricing table, cost formula, daily cost queries
${CLAUDE_SKILL_DIR}/references/trends-analysis.mdDaily activity, model delegation, peak hours queries
${CLAUDE_SKILL_DIR}/references/data-locations.mdAll data sources, file formats, CC session structure

Important Notes

  • All files are JSONL (newline-delimited JSON) format
  • For large files (>50MB), use streaming jq without -s — load Read("${CLAUDE_SKILL_DIR}/rules/large-file-streaming.md")
  • Rotated files: <name>.<YYYY-MM>.jsonl — include for historical queries
  • team field only present during team/swarm sessions
  • pid is a 12-char SHA256 hash — irreversible, for grouping only

Output Format

Present results as clean markdown tables. Include counts, percentages, and averages. If a file doesn't exist, note that no data has been collected yet for that category.

Related Skills

  • ork:explore - Codebase exploration and analysis
  • ork:feedback - Capture user feedback
  • ork:remember - Store project knowledge
  • ork:doctor - Health check diagnostics

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.16%
按下载量换算410

Claude

32.45%
按下载量换算379

Cursor

18.27%
按下载量换算213

Gemini CLI

8.75%
按下载量换算102

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/yonatangross/orchestkit --skill analytics 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills