Agent skill

Bi Metric Analysis

by agentscope-ai in agentscope-ai/QwenPaw-Data

对单个分析条目执行完整的指标观测、异常检测、维度下拆归因和新增维度分析。当分析条目、指标及角色已明确时调用. An agent skill from agentscope-ai/QwenPaw-Data.

Apache-2.0Auto-check passed

Install Bi Metric Analysis

skills CLI
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-metric-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agentscope-ai/QwenPaw-Data bi-metric-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/qwenpaw-data-skills/skills/workflows/bi-metric-analysis .claude/skills/bi-metric-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bi-metric-analysis
GitHub stars
127
Token cost
~514 tokens
SKILL.md length
96 words
Files
2 (incl. references)
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

对单个分析条目执行完整的指标观测、异常检测、维度下拆归因和新增维度分析。当分析条目、指标及角色已明确时调用. An agent skill from agentscope-ai/QwenPaw-Data.

  • Works in 4 steps: 确定关联维度 → 基础观测 → 北极星指标异常检测与归因 → …
  • SKILL.md covers 前置条件, 分析原则, 1. 确定关联维度 and 2. 基础观测, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bi Metric Analysis is an agent skill from agentscope-ai/QwenPaw-Data. 对单个分析条目执行完整的指标观测、异常检测、维度下拆归因和新增维度分析。当分析条目、指标及角色已明确时调用。

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/dimension-association.md`).

The repository describes itself as: Agentic enterprise data analytics: governed facts (DataBridge), reusable methodology (Skill-Hub), and controllable execution (Host). The licence is Apache-2.0.

Example prompts

  • “/bi-metric-analysis”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 确定关联维度
  2. 基础观测
  3. 北极星指标异常检测与归因
  4. 汇总结论

What it can do on your machine

Read from SKILL.md and the folder at commit e0bae36. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bi Metric Analysis loads about 514 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 18 tokens; SKILL.md has 96 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~18
When it runs · the whole SKILL.md, loaded when a task matches
~514
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agentscope-ai/QwenPaw-Data at commit e0bae36, republished under its Apache-2.0 licence (© agentscope-ai). 96 words, ~514 tokens.

Download SKILL.mdSave it as .claude/skills/bi-metric-analysis/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
bi-metric-analysis
description
对单个分析条目执行完整的指标观测、异常检测、维度下拆归因和新增维度分析。当分析条目、指标及角色已明确时调用。

bi-metric-analysis

针对原子的 BI 分析条目,完成基本的指标观测和重点指标的异常归因。

前置条件

开始执行前,确认以下信息已就绪:

  • 分析条目明确,例如"用户规模分析"、"增长归因"等,清楚本次要分析什么
  • 指标与角色已确定,知道要分析哪些指标,每个指标是北极星、展示还是分布角色
  • 数据获取能力可用,有可以获取数据的工具或 API

若以上信息不完整(比如不清楚要分析哪些指标,或指标角色未确定),需先回到规划阶段补充,或向用户确认后再开始执行。

分析原则

域覆盖优先级

执行分析时,部分参数和设定可能被多个来源提供。当同一参数存在冲突时,按以下优先级取值:

优先级来源示例
最高用户显式指定用户要求"归因取 Top 5"
中域知识包某业务域指定"正/负贡献度各取 Top 3"
中语义层接口通过接口查询到的指标维度关联、阈值等
最低skill 默认值Top 3 贡献
技能调用

具体的分析方法(异常检测、维度归因、时间归因、新增维度分析等),若存在对应的原子技能则按需调用,否则自行推理完成。


1. 确定关联维度

在开始分析之前,需要:

  • 为北极星指标确定归因拆解维度(从哪些角度下拆归因),为展示指标确定展示拆解维度(按什么维度展示分布和占比);
  • 明确各维度之间的层级关系(哪些是平级维度、哪些存在父子层级),层级关系决定了后续下拆的路径。

判断方式参见 references/dimension-association.md。


2. 基础观测

对指标执行基础数据观测,包括时间周期确定、指标聚合、衍生指标计算和维度交叉展示表构建。

3. 北极星指标异常检测与归因

基于第 2 步的观测结果,对每个北极星指标依次执行步骤 3.1-3.4。

3.1 异常检测

对北极星指标的时间序列进行异常波动点识别:

  • 若未发现异常,给出数据现状的描述性总结,跳过步骤 3.2-3.3,直接进入第 3.4 步。
  • 若发现异常,继续执行下一步骤。
3.2 维度下拆

发现异常后,对北极星指标按归因拆解维度逐层下拆(单维度扫描 → 交叉分析 → 层级下钻),定位驱动变动的关键维度(组)值,同步计算分布角色指标的分布占比。

3.3 时间归因

识别指标异常波动是否由具体事件导致并计算影响度。数据来源可能包括(但不限于):

  • 业务事件接口(若有) :通过工具查询当期和往期发生的业务事件(如产品发布、营销活动等)
  • 维度变化识别 :对比当期与往期的维度构成,识别当期新增但上期没有的维度值(如新增产品功能)
3.4 新增维度分析

依次检查各归因拆解维度是否出现了新增值(上期不存在、本期首次出现)。新增维度值(如新上线的功能、新开拓的渠道)可能是指标变动的重要驱动因素,需评估其对北极星指标的贡献大小和表现水平。


4. 汇总结论

完成以上分析后,按步骤汇总该条目的结论,每个步骤记录以下内容:

字段说明
执行内容本步骤做了什么
取数文件使用的原始数据文件路径
计算结果产出的结果文件路径(归因表、异常检测结果等)
结论本步骤的分析发现

依次汇总:基础观测 → 异常检测 → 维度下拆 → 时间归因 → 新增维度分析。

最后附上整体不确定性(数据缺失、口径差异等)和后续建议。

© agentscope-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in packages/qwenpaw-data-skills/skills/workflows/bi-metric-analysis of agentscope-ai/QwenPaw-Data.

  • SKILL.md
  • references/dimension-association.md

Open the folder on GitHubat commit e0bae36

Compare with similar skills

Bi Metric Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bi Metric Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bi Metric Analysis this skillagentscope-ai/QwenPaw-Data127—~514Automated safety check: PassApache-2.0
North Star Metricphuryn/pm-skills27k—~1kAutomated safety check: PassMIT
Investigate MetricPostHog/posthog40k—~1.9kAutomated safety check: PassCustom licence
Product Metrics Dashboard Designphuryn/pm-skills27k—~1.3kAutomated safety check: PassMIT
CI Metricspytorch/pytorch104k—~1.1kAutomated safety check: PassCustom licence
Startup Metrics Frameworkwshobson/agents40k—~2.5kAutomated safety check: PassMIT

Similar skills

  • North Star Metric

    phuryn/pm-skills

    Define a North Star Metric and 3-5 supporting input metrics that form a metrics constellation.

    27k GitHub stars~1k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Investigate Metric

    PostHog/posthog

    Official

    Diagnose why a product metric changed (dropped, spiked, or plateaued) by orchestrating breakdowns, actors, paths, lifecycle, retention, and annotations queries.

    40k GitHub stars~1.9k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Designs a product metrics dashboard: a North Star and input metrics, a definition table with data sources, chart types and alert thresholds, and a screen layout.

    27k GitHub stars~1.3k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • CI Metrics

    pytorch/pytorch

    Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics.

    104k GitHub stars~1.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Track, calculate, and optimize key performance metrics for SaaS, marketplace, consumer, and B2B startups from seed through Series A, including unit economics, growth efficiency, and cash management.

    40k GitHub stars~2.5k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check passed
  • Official

    Build reusable activation models — an activation-rate metric and a per-user/per-account activated flag — on either PostHog data-warehouse views (HogQL) or an external dbt project.

    40k GitHub stars~1.4k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed

More from agentscope-ai/QwenPaw-Data

All 29 skills in this repo
  • Bi Report Generation

    agentscope-ai/QwenPaw-Data

    将 BI 数据分析结果组织成可视化 HTML 报告。当分析完成、需要生成报告时调用. An agent skill from agentscope-ai/QwenPaw-Data.

    127 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Fetch Data

    agentscope-ai/QwenPaw-Data

    取数 / 查数据 / 拉数据 / 跑 SQL。把自然语言取数需求转为 SQL,经数据湖仓执行后返回查询结果供下游分析。任何需要业务数据的任务在工作区缺少对应文件时都必须先调用此技能——覆盖 BI 业务分析、留存 / 转化 / 同期群分析、数据探索 EDA、统计建模、定量计算、元数据查询、数据查询。命中任一即触发:(1) 直接索要指标或记录,如「DAU 多少」「上月销售额」「3…

    127 GitHub stars~2.5k tokensUpdated 6 days ago
    Auto-check passed
  • Bi Adaptive Threshold

    agentscope-ai/QwenPaw-Data

    通过量化历史数据的自然波动幅度,自适应计算判定阈值。当需要从数据本身确定阈值(如波动阈值、影响度阈值等)、而非使用固定值时调用。仅适用于日/周粒度阈值确定。

    127 GitHub stars~726 tokensUpdated 6 days ago
    Auto-check passed
  • Bi Anomaly Detection

    agentscope-ai/QwenPaw-Data

    基于阈值检测时间序列中的显著异常波动点。当需要找出指标异常波动日期、识别数据异动时调用. An agent skill from agentscope-ai/QwenPaw-Data.

    127 GitHub stars~637 tokensUpdated 6 days ago
    Auto-check passed
  • Bi Attribution Analysis

    agentscope-ai/QwenPaw-Data

    计算各维度(组)值对指标变动的贡献度,支持可加型量值指标和加权平均型/率值指标。当需要计算贡献度、解释指标"为什么涨/跌"时调用。

    127 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Bi Causal Attribution

    agentscope-ai/QwenPaw-Data

    从运营周报、活动文档、对话输入或文档工具 API 中提取业务事件,与指标异常时间窗口对齐,生成有证据支撑的因果归因假设并排序。当已知指标存在异常波动、需要从外部文档证据中解释"为什么"时调用。

    127 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed

Questions about Bi Metric Analysis

What does Bi Metric Analysis do?

对单个分析条目执行完整的指标观测、异常检测、维度下拆归因和新增维度分析。当分析条目、指标及角色已明确时调用. An agent skill from agentscope-ai/QwenPaw-Data. Bi Metric Analysis is an agent skill from agentscope-ai/QwenPaw-Data.

How do I install Bi Metric Analysis in Claude Code?

Run `npx skills add agentscope-ai/QwenPaw-Data --skill bi-metric-analysis -a claude-code`. Or copy the skill folder (packages/qwenpaw-data-skills/skills/workflows/bi-metric-analysis in agentscope-ai/QwenPaw-Data) into .claude/skills/bi-metric-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Bi Metric Analysis in Codex?

Run `npx skills add agentscope-ai/QwenPaw-Data --skill bi-metric-analysis -a codex`. Or copy the skill folder (packages/qwenpaw-data-skills/skills/workflows/bi-metric-analysis in agentscope-ai/QwenPaw-Data) into .agents/skills/bi-metric-analysis in your project. Codex loads it when a task matches its description.

Can I use Bi Metric Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentscope-ai/QwenPaw-Data --skill bi-metric-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bi-metric-analysis, .gemini/skills/bi-metric-analysis, .github/skills/bi-metric-analysis and .opencode/skills/bi-metric-analysis in your project.

What does Bi Metric Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Bi Metric Analysis is instructions for the agent only.

Does Bi Metric Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bi Metric Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bi Metric Analysis use?

Bi Metric Analysis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bi Metric Analysis use?

About 514 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 557 tokens, read only when the agent opens those files.

What are the alternatives to Bi Metric Analysis?

Skills that share tags, products or a category with Bi Metric Analysis: North Star Metric (phuryn/pm-skills, 27k stars), Investigate Metric (PostHog/posthog, 40k stars), Product Metrics Dashboard Design (phuryn/pm-skills, 27k stars) and CI Metrics (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bi Metric Analysis?

agentscope-ai (a GitHub organization) maintains it in agentscope-ai/QwenPaw-Data, which has 127 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 5, 2026.

Source: agentscope-ai/QwenPaw-Data on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.