Agent skill

Bi Metric Observation

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

获取并计算指标的基础观测数据,包括时间周期确定、指标聚合、衍生指标计算和维度交叉展示表构建。当需要对指标进行基础数据观测、获取当期值与变动幅度时调用。

Apache-2.0Auto-check passed

Install Bi Metric Observation

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

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

GitHub CLI
$ gh skill install agentscope-ai/QwenPaw-Data bi-metric-observation --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/atomic/bi-metric-observation .claude/skills/bi-metric-observation && 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-observation
GitHub stars
127
Token cost
~847 tokens
SKILL.md length
139 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

获取并计算指标的基础观测数据,包括时间周期确定、指标聚合、衍生指标计算和维度交叉展示表构建。当需要对指标进行基础数据观测、获取当期值与变动幅度时调用。

  • SKILL.md covers 前置检查 and 执行步骤
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bi Metric Observation is an agent skill from agentscope-ai/QwenPaw-Data. 获取并计算指标的基础观测数据,包括时间周期确定、指标聚合、衍生指标计算和维度交叉展示表构建。当需要对指标进行基础数据观测、获取当期值与变动幅度时调用。

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

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-observation”

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 Observation loads about 847 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 139 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~847

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). 139 words, ~847 tokens.

Download SKILL.mdSave it as .claude/skills/bi-metric-observation/SKILL.md (or your agent's skills folder).
name
bi-metric-observation
description
获取并计算指标的基础观测数据,包括时间周期确定、指标聚合、衍生指标计算和维度交叉展示表构建。当需要对指标进行基础数据观测、获取当期值与变动幅度时调用。

bi-metric-observation

获取指标的原始数据并完成基础计算,构建指标的当期值、变动幅度和维度交叉展示表,为后续分析提供数据基础。常见场景:

  • 指标分析:在分析流程中,对指标进行基础数据获取和计算
  • 数据概览:快速了解指标当前水平与变动趋势

前置检查

开始前确认以下信息已明确:

  • 分析条目明确,清楚本次要观测哪些指标
  • 指标与角色已确定,知道每个指标是北极星、展示还是分布角色
  • 关联维度已确定,知道北极星指标的归因拆解维度、展示指标的展示拆解维度
  • 数据获取能力可用,有可以获取数据的工具或 API

若以上信息不完整,需先回到规划阶段补充,或向用户确认后再开始。

执行步骤

1:数据准备

根据分析目标获取指标的原始数据。数据文件至少包含以下列:

列说明示例
日期列时间标识日期
指标列各指标值,每个指标一列访问用户数
维度列各维度值,每个维度一列端类型

若上游步骤已产出可用数据文件则直接使用,否则自行取数。

2:确定分析时间周期

根据分析目标选择合适的分析时间区间:

分析目标时间区间
日数据波动当日 vs 上日
日数据波动(消除周末效应)当日 vs 上周同日
周数据波动本周 vs 上周
月数据波动本月 vs 上月
年度趋势当期 vs 上年同期
特定日期分析指定日期前后日/周

确定时间区间后,获取该区间内所有指标的原始数据。

3:确定指标计算方式

根据指标类型和时间周期,判断该指标在对应周期下的聚合方式。通用规则:

  • 累加型指标(如收入、订单量、新增用户数):使用周期内聚合值(求和)
  • 水平型指标(如日活跃用户数 DAU、活跃率、转化率):使用周期内均值
  • 用户规模型指标(如月活跃用户数 MAU、累计用户数):使用周期末快照值(去重值或最后一天值)
4:计算衍生指标

根据分析场景计算合适的衍生指标,不需要全部计算:

衍生指标适用场景
日环比日数据,对比日数据波动
周同比日数据,对比日数据波动,消除周末效应
周环比周数据,对比周波动
月环比月数据,对比月波动
年同比(日)日数据,长期业务且有年度周期性波动时关注
年同比(月)月数据,需要年度比较的业务(如 B 端收入)
年环比年/财年数据,对比财年累计值,适用可累加指标(如年收入)
分布占比量值指标在各维度下的分布拆解,展示核心观测指标时需加上分布占比

注意:计算衍生指标时,根据指标类型选择正确的变动表达方式,避免产生"百分比的百分比"等歧义:

指标类型识别特征变动表达示例
量值指标绝对数值,可直接累加百分比增幅DAU 增长 10%
率值指标有分子/分母,数值为百分比绝对值增幅 (pt)留存率从 40% 到 42%,+2pt
加工指标由其他指标计算得到,数量级小按率值,否则按量值视业务场景而定人均对话次数、客单价
5:构建维度交叉展示表

按展示维度聚合指标,构建"维度值 × 指标"交叉表。

构建规则:

  • 每个展示维度构建一张交叉表
  • 行:该维度的各维度值(含"全部"汇总行)
  • 列:关联该维度的所有指标,每个指标包含当期值和衍生指标;分布角色的指标额外附加占比列

示例:展示维度为"端类型",关联指标为访问用户数(分布)、对话渗透率(展示)、人均对话次数(展示),衍生指标为月环比:

端访问用户数月环比访问用户数占比对话渗透率月环比人均对话次数月环比
全部......100%............
web.....................
6:汇总观测结果

将基础观测结果汇总输出,包含:

输出项说明
分析时间周期确定的当期和往期区间
指标当期值各指标的当期聚合值
衍生指标各指标的变动幅度(环比/同比/占比等)
维度交叉展示表各展示维度的"维度值 × 指标"交叉表

© 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

Just SKILL.md in packages/qwenpaw-data-skills/skills/atomic/bi-metric-observation of agentscope-ai/QwenPaw-Data.

Open the folder on GitHubat commit e0bae36

Compare with similar skills

Bi Metric Observation 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 Observation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bi Metric Observation this skillagentscope-ai/QwenPaw-Data127—~847Automated safety check: PassApache-2.0
Observe Metricsruvnet/ruflo74k—~592Automated safety check: NotesMIT
Python Observabilitywshobson/agents40k—~1.8kAutomated safety check: PassMIT
Observability Designeralirezarezvani/claude-skills28k—~3.5kAutomated safety check: PassMIT
Langsmith ObservabilityOrchestra-Research/AI-Research-SKILLs13k2 repos~2.4kAutomated safety check: PassMIT
ObservabilityBuilderIO/agent-native7.1k—~7.3kAutomated safety check: PassNone

Similar skills

  • Observe Metrics

    ruvnet/ruflo

    Aggregate and display system metrics with anomaly detection for a time period

    74k GitHub stars~592 tokensUpdated yesterday
    Data & AnalyticsAuto-check: notes
  • Python Observability

    wshobson/agents

    Python observability patterns including structured logging, metrics, and distributed tracing.

    40k GitHub stars~1.8k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Observability Designer

    alirezarezvani/claude-skills

    Design production-ready observability strategies combining metrics, logs, and traces.

    28k GitHub stars~3.5k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Langsmith Observability

    Orchestra-Research/AI-Research-SKILLs

    LLM observability platform for tracing, evaluation, and monitoring.

    13k GitHub starsUsed in 2 repos~2.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Observability

    BuilderIO/agent-native

    Agent observability, evals, feedback, and experiments. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~7.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Agent Observability

    sickn33/agentic-awesome-skills

    Instrument AI agents with tracing, token metrics, latency, and cost visibility.

    47k GitHub starsUsed in 2 repos~3k tokens
    DevOps & CloudAuto-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 Observation

What does Bi Metric Observation do?

获取并计算指标的基础观测数据,包括时间周期确定、指标聚合、衍生指标计算和维度交叉展示表构建。当需要对指标进行基础数据观测、获取当期值与变动幅度时调用。. Bi Metric Observation is an agent skill from agentscope-ai/QwenPaw-Data.

How do I install Bi Metric Observation in Claude Code?

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

How do I install Bi Metric Observation in Codex?

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

Can I use Bi Metric Observation 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-observation -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-observation, .gemini/skills/bi-metric-observation, .github/skills/bi-metric-observation and .opencode/skills/bi-metric-observation in your project.

What does Bi Metric Observation need to run?

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

Does Bi Metric Observation 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 Observation 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 Observation use?

Bi Metric Observation 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 Observation use?

About 847 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bi Metric Observation?

Skills that share tags, products or a category with Bi Metric Observation: Observe Metrics (ruvnet/ruflo, 74k stars), Python Observability (wshobson/agents, 40k stars), Observability Designer (alirezarezvani/claude-skills, 28k stars) and Langsmith Observability (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bi Metric Observation?

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.