bi-anomaly-detection

bi-anomaly-detection is a skill for Claude Code, Codex from agentscope-ai/QwenPaw-Data. It costs 40 tokens per session (1,190 once invoked), scanned A, original, Apache-2.0.

A tool for finding unusually large rises or falls in a time-based series, such as daily visitor counts. It compares values across days or weeks against chosen limits.

In plain words
What is it for?
Use it to detect abnormal daily or weekly changes in CSV data and mark the dates that exceed the selected limits.
Why use it?
It helps spot dates when a key measure changed enough to need investigation or an alert. This avoids checking every data point by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to detect abnormal daily or weekly changes in CSV data and mark the dates that exceed the selected limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentscope-ai/QwenPaw-Data --skill bi-anomaly-detection
Clone the repo
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw-Data

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bi-anomaly-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection/github.svg)](https://agentmods.dev/skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection)
Your own site
<a href="https://agentmods.dev/skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bi-anomaly-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw-data/bi-anomaly-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,190 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01190
Opus 5 $0.00020 $0.00595
Sonnet 5 $0.00008 $0.00238
Haiku 4.5 $0.00004 $0.00119

Measured 11d ago against content hash ebcac4709273, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

bi-anomaly-detection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/anomaly_detection.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/qwenpaw-data-skills/skills/atomic/bi-anomaly-detection/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bi-anomaly-detection

基于阈值识别时间序列中的显著异常波动点,常见场景:

  • 日常分析:在指标分析流程中,对北极星指标进行异常波动点识别
  • 监控告警:对实时/定时指标数据进行异常检测,触发告警

执行步骤

1:数据准备

包含时间序列数据的 CSV 文件,至少包含以下两列:

说明 示例
日期列 时间标识 日期
指标列 需要检测的指标值 访问用户数

示例:

日期,访问用户数
2025-01-01,10000
2025-01-02,10500
2025-01-03,9800

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

2:选择对比逻辑

根据业务场景按需选择对比逻辑:

对比逻辑 适用场景
日环比 日异常检测,反应灵敏,适合实时监控和日报
周同比 日异常检测,稳定性好,消除周末效应
周环比 周异常检测
月环比 月异常检测

日异常检测场景建议同时检查日环比和周同比

3:确定阈值

针对每种对比逻辑,确定异常判定阈值:

  • 已有阈值:若外部已提供阈值,按以下优先级取值,命中即停:
    优先级 来源 示例
    1 用户显式指定 用户要求"日环比阈值设为 15%"
    2 域知识包(若存在) 域知识包指定量值指标默认 10%
    3 语义层接口(若可用) 通过接口查询到的指标阈值配置
  • 未提供阈值:若没有任何外部来源提供阈值,尝试从历史数据中自适应计算阈值

4:异常点判断

按以下优先级选择计算方式,命中即停:

方式一:使用脚本

路径:scripts/anomaly_detection.py

原理:根据传入的阈值参数计算对应的变化率,将变化率绝对值与阈值对比,超过阈值的数据点标记为异常。传入多个阈值时,异常点取交集。

若脚本适用于当前场景,按以下方式调用:

参数

参数 说明
--input-file 输入数据文件路径(必填)
--date-col 日期列名(必填)
--metric-col 指标列名(必填)
--threshold-dod 日环比阈值,传入则检查日环比
--threshold-wow 周同比阈值,传入则检查周同比(日数据)
--threshold-woq 周环比阈值,传入则检查周环比(周数据)
--threshold-mom 月环比阈值,传入则检查月环比(月数据)
--output-file 异常波动点输出路径(可选)

至少传入一个阈值参数。传入多个时,异常点为各检查项的交集。

调用示例

# 只检查日环比
python scripts/anomaly_detection.py \
  --input-file data.csv \
  --date-col "日期" \
  --metric-col "访问用户数" \
  --threshold-dod 0.10

# 同时检查日环比和周同比(异常点取交集)
python scripts/anomaly_detection.py \
  --input-file data.csv \
  --date-col "日期" \
  --metric-col "访问用户数" \
  --threshold-dod 0.10 \
  --threshold-wow 0.15

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 122 lines · 40 tokens per session scan A ebcac4709273

Subscribe to this mod's changes

bi-anomaly-detection is a skill published in the GitHub repository agentscope-ai/QwenPaw-Data (72 stars, last pushed today), licensed Apache-2.0. It adds 40 tokens to every session and 1,190 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fastapi-patterns

FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.

affaan-m/ECC · 35 tokens

mem0-tour

Browses all stored memories grouped by category with full content display. Use when reviewing all project memories, exploring stored knowledge, onboarding to a project, or getting an overview of captured decisions, conventions, and learnings.

mem0ai/mem0 · 47 tokens

status

Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when the user asks whether memory is on, why a memory is missing, or anything looks broken.

mem0ai/mem0 · 54 tokens

pause

Pause Mem0 memory capture on this machine. Use when the user wants to stop memories being recorded, for example for private work or experiments.

mem0ai/mem0 · 30 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens