Performance Attribution
HKUDS/Vibe-Trading
Explains why a portfolio beat or lagged its benchmark with Brinson sector attribution, factor alpha and beta decomposition, timing evaluation and benchmark comparison.
将累加型量值指标的周期波动拆解为结构变动、趋势变动和事件影响。当需要量化时间因素对指标变动的影响时调用. An agent skill from agentscope-ai/QwenPaw-Data.
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agentscope-ai/QwenPaw-Data bi-time-impact-attribution --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-time-impact-attribution .claude/skills/bi-time-impact-attribution && rm -rf skills-srcUse ~/.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/
Install the "bi-time-impact-attribution" agent skill from https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution into .claude/skills/bi-time-impact-attribution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bi-time-impact-attribution", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attributionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agentscope-ai/QwenPaw-Data bi-time-impact-attribution --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution .agents/skills/bi-time-impact-attribution && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bi-time-impact-attribution" agent skill from https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution into .agents/skills/bi-time-impact-attribution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bi-time-impact-attribution", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agentscope-ai/QwenPaw-Data bi-time-impact-attribution --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution .cursor/skills/bi-time-impact-attribution && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "bi-time-impact-attribution" agent skill from https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution into .cursor/skills/bi-time-impact-attribution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bi-time-impact-attribution", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agentscope-ai/QwenPaw-Data.git --path packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agentscope-ai/QwenPaw-Data bi-time-impact-attribution --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution .gemini/skills/bi-time-impact-attribution && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "bi-time-impact-attribution" agent skill from https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution into .gemini/skills/bi-time-impact-attribution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bi-time-impact-attribution", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agentscope-ai/QwenPaw-Data bi-time-impact-attributionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution .github/skills/bi-time-impact-attribution && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "bi-time-impact-attribution" agent skill from https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution into .github/skills/bi-time-impact-attribution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bi-time-impact-attribution", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agentscope-ai/QwenPaw-Data bi-time-impact-attribution --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution .opencode/skills/bi-time-impact-attribution && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "bi-time-impact-attribution" agent skill from https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution into .opencode/skills/bi-time-impact-attribution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bi-time-impact-attribution", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
bi-time-impact-attribution将累加型量值指标的周期波动拆解为结构变动、趋势变动和事件影响。当需要量化时间因素对指标变动的影响时调用. An agent skill from agentscope-ai/QwenPaw-Data.
Bi Time Impact Attribution is an agent skill from agentscope-ai/QwenPaw-Data. 将累加型量值指标的周期波动拆解为结构变动、趋势变动和事件影响。当需要量化时间因素对指标变动的影响时调用。
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/time_impact_attribution.py`).
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.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e0bae36. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Bi Time Impact Attribution loads about 1k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 142 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from agentscope-ai/QwenPaw-Data at commit e0bae36, republished under its Apache-2.0 licence (© agentscope-ai). 142 words, ~1,005 tokens.
.claude/skills/bi-time-impact-attribution/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.将指标周期波动拆解为结构变动、趋势变动和事件影响,量化各时间因素对指标变化的贡献。典型场景:拆解本周期 vs 上周期的指标变动来源,量化节假日、营销活动、产品发布等事件对指标的影响度。
适用范围:
需要两份数据:
指标数据:包含本周期和上周期日粒度数据的 CSV 文件,至少包含以下两列:
| 列 | 说明 | 示例 |
|---|---|---|
| 日期列 | 时间标识 | 日期 |
| 指标列 | 指标值 | 访问用户数 |
示例:
日期,访问用户数
2025-01-01,10000
2025-01-02,10500
...事件信息(可选):本周期和上周期内发生的事件列表(CSV),包含事件名称和起止日期。不提供则只拆解结构变动和趋势变动,不计算事件影响:
| 列 | 说明 | 示例 |
|---|---|---|
| 事件名称 | 事件描述 | 春节 |
| 开始日期 | 事件起始 | 2025-01-28 |
| 结束日期 | 事件结束 | 2025-02-04 |
示例:
事件名称,开始日期,结束日期
春节,2025-01-28,2025-02-04
元旦,2025-01-01,2025-01-01若上游步骤已产出可用数据文件则直接使用,否则自行取数并按上述格式组织。若未提供事件信息,跳过步骤 2 和 3,直接进入步骤 4。
每个事件需确定其影响的时间区间:
| 优先级 | 来源 | 示例 |
|---|---|---|
| 1 | 用户显式指定 | 用户要求"春节影响区间为 1.25-2.05" |
| 2 | 域知识包(若存在) | 域知识包指定各事件的影响区间 |
| 3 | 语义层接口(若可用) | 通过接口查询到的事件影响区间配置 |
| 事件类型 | 时间区间范围 | 默认值 |
|---|---|---|
| 节假日 | 假期开始前 N 天 ~ 假期结束 | N=1 |
| 事件波动 | 事件开始当天 ~ 事件开始后 M 天 | M=2 |
事件影响度阈值用于计算指标基线:影响度超过阈值的事件视为"大事件",其事件日将被剔除后计算基线,以获得更准确的非事件日基线水平。低于阈值的"小事件"不剔除。
| 优先级 | 来源 | 示例 |
|---|---|---|
| 1 | 用户显式指定 | 用户要求"影响度阈值设为 5%" |
| 2 | 域知识包(若存在) | 域知识包指定事件影响度阈值为 10% |
| 3 | 语义层接口(若可用) | 通过接口查询到的阈值配置 |
按以下优先级选择计算方式,命中即停:
路径:scripts/time_impact_attribution.py
原理:先排除事件干扰建立纯净指标基线,再将总变动拆解为结构变动、趋势和事件影响三部分:
若脚本适用于当前场景,按以下方式调用:
参数:
| 参数 | 说明 |
|---|---|
| --input-file | 日粒度指标数据文件路径(必填) |
| --date-col | 日期列名(必填) |
| --metric-col | 指标列名(必填) |
| --events-file | 事件信息文件路径(可选,不提供则不计算事件影响) |
| --current-month | 当前周期,格式 YYYY-MM 或 YYYY-WXX(必填) |
| --prev-month | 上周期,格式同上(必填) |
| --impact-threshold | 事件影响度阈值,超过则剔除该事件日重算基线 |
| --holiday-lead-days | 节假日前置天数 |
| --event-lag-days | 事件后置天数 |
| --output-file | 波动拆解结果输出路径(可选) |
调用示例:
# 有事件信息
python scripts/time_impact_attribution.py \
--input-file data.csv \
--date-col "日期" \
--metric-col "访问用户数" \
--events-file events.csv \
--current-month 2025-02 \
--prev-month 2025-01
# 无事件信息(只拆解结构变动和趋势变动)
python scripts/time_impact_attribution.py \
--input-file data.csv \
--date-col "日期" \
--metric-col "访问用户数" \
--current-month 2025-02 \
--prev-month 2025-01输出格式:
同时输出绝对影响值与相对占比(占比 = 单项影响 / 总变动量):
有事件时:
影响因素 绝对值 占比
总变动 +15000 100.0%
结构变动 +3000 20.0%
趋势变动 +8000 53.3%
事件影响 +4000 26.7%
春节 +5000 33.3%
元旦 -1000 -6.7%无事件时:
影响因素 绝对值 占比
总变动 +11000 100.0%
结构变动 +3000 27.3%
趋势变动 +8000 72.7%若脚本不适用于当前场景,参考上述原理自行实现时间归因计算。
© 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
SKILL.md and 1 other file (scripts) in packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution of agentscope-ai/QwenPaw-Data.
Open the folder on GitHubat commit e0bae36
Bi Time Impact Attribution 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Bi Time Impact Attribution this skillagentscope-ai/QwenPaw-Data | 127 | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Performance AttributionHKUDS/Vibe-Trading | 35k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Direction Attributethedaviddias/Front-End-Checklist | 74k | — | ~534 | Automated safety check: Pass | MIT | |
| Fetchpriority Attributethedaviddias/Front-End-Checklist | 74k | — | ~535 | Automated safety check: Pass | MIT | |
| Lang Attributethedaviddias/Front-End-Checklist | 74k | — | ~995 | Automated safety check: Pass | MIT | |
| Ads AttributionAgriciDaniel/claude-ads | 9.9k | — | ~499 | Automated safety check: Pass | MIT |
HKUDS/Vibe-Trading
Explains why a portfolio beat or lagged its benchmark with Brinson sector attribution, factor alpha and beta decomposition, timing evaluation and benchmark comparison.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Set text direction for RTL languages.
thedaviddias/Front-End-Checklist
A skill your agent uses when optimising Largest Contentful Paint (LCP), reducing render-blocking resource contention, or fine-tuning resource loading order in the critical rendering path.
thedaviddias/Front-End-Checklist
A skill your agent uses when applies to all HTML documents. An agent skill from thedaviddias/Front-End-Checklist.
AgriciDaniel/claude-ads
Audit cross-platform attribution, conversion definitions, reporting windows, GA4, AdServices and AdAttributionKit, MMPs, browser and server events, offline conversions, and platform reconciliation.
mukul975/Anthropic-Cybersecurity-Skills
Weighs infrastructure, TTP, malware code and timing evidence with the Diamond Model and competing hypotheses to reach a confidence-rated attribution.
agentscope-ai/QwenPaw-Data
将 BI 数据分析结果组织成可视化 HTML 报告。当分析完成、需要生成报告时调用. An agent skill from agentscope-ai/QwenPaw-Data.
agentscope-ai/QwenPaw-Data
取数 / 查数据 / 拉数据 / 跑 SQL。把自然语言取数需求转为 SQL,经数据湖仓执行后返回查询结果供下游分析。任何需要业务数据的任务在工作区缺少对应文件时都必须先调用此技能——覆盖 BI 业务分析、留存 / 转化 / 同期群分析、数据探索 EDA、统计建模、定量计算、元数据查询、数据查询。命中任一即触发:(1) 直接索要指标或记录,如「DAU 多少」「上月销售额」「3…
agentscope-ai/QwenPaw-Data
通过量化历史数据的自然波动幅度,自适应计算判定阈值。当需要从数据本身确定阈值(如波动阈值、影响度阈值等)、而非使用固定值时调用。仅适用于日/周粒度阈值确定。
agentscope-ai/QwenPaw-Data
基于阈值检测时间序列中的显著异常波动点。当需要找出指标异常波动日期、识别数据异动时调用. An agent skill from agentscope-ai/QwenPaw-Data.
agentscope-ai/QwenPaw-Data
计算各维度(组)值对指标变动的贡献度,支持可加型量值指标和加权平均型/率值指标。当需要计算贡献度、解释指标"为什么涨/跌"时调用。
agentscope-ai/QwenPaw-Data
从运营周报、活动文档、对话输入或文档工具 API 中提取业务事件,与指标异常时间窗口对齐,生成有证据支撑的因果归因假设并排序。当已知指标存在异常波动、需要从外部文档证据中解释"为什么"时调用。
将累加型量值指标的周期波动拆解为结构变动、趋势变动和事件影响。当需要量化时间因素对指标变动的影响时调用. An agent skill from agentscope-ai/QwenPaw-Data. Bi Time Impact Attribution is an agent skill from agentscope-ai/QwenPaw-Data.
Run `npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a claude-code`. Or copy the skill folder (packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution in agentscope-ai/QwenPaw-Data) into .claude/skills/bi-time-impact-attribution in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agentscope-ai/QwenPaw-Data --skill bi-time-impact-attribution -a codex`. Or copy the skill folder (packages/qwenpaw-data-skills/skills/atomic/bi-time-impact-attribution in agentscope-ai/QwenPaw-Data) into .agents/skills/bi-time-impact-attribution in your project. Codex loads it when a task matches its description.
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-time-impact-attribution -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-time-impact-attribution, .gemini/skills/bi-time-impact-attribution, .github/skills/bi-time-impact-attribution and .opencode/skills/bi-time-impact-attribution in your project.
Going by SKILL.md and its folder, Bi Time Impact Attribution needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Bi Time Impact Attribution 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.
About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Bi Time Impact Attribution: Performance Attribution (HKUDS/Vibe-Trading, 35k stars), Direction Attribute (thedaviddias/Front-End-Checklist, 74k stars), Fetchpriority Attribute (thedaviddias/Front-End-Checklist, 74k stars) and Lang Attribute (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.