Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

game-analytics游戏分析

Agent Skill

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

总安装

494

周安装

21

GitHub Stars

4

下载量

173
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill game-analytics

简介

用于辅助数据清洗、统计分析和图表准备,支持 CSV/Excel 处理和指标计算。

  • 适合发现数据异常、生成统计口径或将分析结果转为可读说明。
  • 使用时需确认数据来源和时间范围,避免将样本当作全量事实;敏感数据应脱敏处理。
  • 安装方式:GitHub 仓库,命令为 npx skills add alphaonedev/openclaw-graph --skill game-analytics。
  • 注意权限边界,防止批量导出或修改原始数据文件。

SKILL.md

Purpose

This skill analyzes game data metrics to track player behavior and optimize performance, processing logs, sessions, and metrics from games.

When to Use

Use this skill for processing in-game data during development, such as identifying player drop-off in levels, optimizing resource usage, or debugging performance bottlenecks in real-time multiplayer games.

Key Capabilities

  • Parse JSON-formatted game logs to extract metrics like session duration and player actions (e.g., via claw game-analytics parse --input logs.json).
  • Generate reports for behavior tracking, such as heatmaps of player movement using API endpoint GET /api/analytics/reports/heatmap?gameId=123.
  • Perform optimization queries, like querying for high-latency events with SQL-like filters (e.g., config in YAML: metrics: [latency > 500ms]).
  • Integrate with ML models for predictive analytics, e.g., predict churn based on play patterns using embedded functions like claw game-analytics predict --model churn.json.

Usage Patterns

Always initialize with authentication via environment variable $GAME_ANALYTICS_API_KEY. For CLI, run commands in a project directory with game data files. In code, import as a module and call functions directly. Use asynchronous patterns for large datasets to avoid blocking. For example, chain commands: first parse data, then analyze. Handle outputs as JSON streams for piping to other tools.

Common Commands/API

  • CLI Command: claw game-analytics analyze --file data.json --metric player-session --output report.csv (parses file, filters by metric, saves to CSV; requires $GAME_ANALYTICS_API_KEY).
  • API Endpoint: POST /api/analytics/track with body {"event": "player_login", "data": {"sessionId": "abc123", "timestamp": "2023-10-01T12:00:00Z"}} (sends tracking data; authenticate with Bearer token from $GAME_ANALYTICS_API_KEY).
  • Code Snippet (Python): import claw api_key = os.environ.get('GAME_ANALYTICS_API_KEY') response = claw.analytics.track(event='level_complete', data={'level': 5}, api_key=api_key) print(response.json())
  • Config Format: YAML file for custom metrics, e.g., metrics: - name: session_length threshold: 300 # seconds filters: - player_type: 'new' Load with claw game-analytics load-config config.yaml.

Integration Notes

Integrate by setting $GAME_ANALYTICS_API_KEY in your environment before running commands. For web apps, use OAuth via claw game-analytics auth --provider google to get a token. In Node.js projects, require the module and handle promises:

const claw = require('claw');
claw.analytics.setKey(process.env.GAME_ANALYTICS_API_KEY);
claw.analytics.analyze({ file: 'data.json' }).then(data => console.log(data));

Ensure data formats match (e.g., JSON inputs only). For cluster integration, link with 'game-dev' tools by prefixing commands, like claw game-dev game-analytics analyze.

Error Handling

Check for errors by inspecting exit codes in CLI (e.g., code 401 means auth failure; retry with claw game-analytics retry --command analyze). In API calls, catch HTTP errors: if status 403, log "Invalid API key" and prompt for $GAME_ANALYTICS_API_KEY reset. Use try-except in code snippets:

try:
    result = claw.analytics.analyze(file='data.json')
except claw.AnalyticsError as e:
    if e.code == 'AUTH_FAILED':
        print("Set GAME_ANALYTICS_API_KEY and retry")

Always validate inputs before processing to avoid parsing errors (e.g., ensure JSON is well-formed).

Concrete Usage Examples

  1. To track player behavior in a mobile game: First, export logs to JSON, then run claw game-analytics analyze --file player_logs.json --metric drop-off to identify levels with high quit rates. Use the output to adjust game design, e.g., via API: POST /api/analytics/optimize with {"suggestions": true}.
  2. For performance optimization in a multiplayer server: Load config with claw game-analytics load-config perf.yaml, then execute claw game-analytics query --metric latency --filter 'server=prod' to get reports. Integrate into a CI/CD pipeline to automate checks, using code: claw.analytics.query({metric: 'latency'}).then(results => {if (results.avg > 100) console.log('Optimize server');});

Graph Relationships

  • Related to: game-dev cluster (parent), player-tracking skill (dependency), data-metrics skill (sibling).
  • Connects with: game-logging for input data, performance-optimization for action outputs.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.06%
按下载量换算59

Claude

30.37%
按下载量换算53

Cursor

17.79%
按下载量换算31

Gemini CLI

9.13%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills