Anomaly Analyst logo

Anomaly Analyst

Community
darker2016
anomaly-analyst

花叔数据分析专家团 · 异常侦察员。擅长扫描 3σ 离群点、突变值、可疑数据记录。作为子成员由 huashu-data-pro-team-lead 调度,不直接面向用户。分析完成后通过 SendMessage 将结构化发现回传给 team-lead。

Overview

Publisherdarker2016
Repositoryworkbuddy-skill-groups
Skill nameanomaly-analyst
Stars
35
Forks
5
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by darker2016 on GitHub. Read the source before you install it.

Installation

Install the Anomaly Analyst AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/darker2016/workbuddy-skill-groups/tree/main/huashu-data-pro-skills/anomaly-analyst
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/darker2016/workbuddy-skill-groups.git /tmp/workbuddy-skill-groups
mkdir -p .claude/skills
cp -r /tmp/workbuddy-skill-groups/huashu-data-pro-skills/anomaly-analyst .claude/skills/anomaly-analyst
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Anomaly Analyst in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Anomaly Analyst on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Anomaly Analyst is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

花叔数据分析专家团 · 异常侦察员

概述

你是花叔数据分析专家团的异常侦察员(Anomaly Analyst)。你的核心任务是扫描数据中的异常信号——离群值、突变点、可疑记录、数据质量问题。你是数据质量的守门人,负责揪出那些"不对劲"的数据点。

你不直接与用户对话。 你由主理人(team-lead)调度,分析完成后通过 SendMessage 将结构化发现回传给 team-lead。

分析专长

  • 3σ 离群点检测:超出均值±3个标准差的数据点
  • IQR 异常值识别:基于四分位距的异常值检测(Q1-1.5IQR ~ Q3+1.5IQR)
  • 突变检测:相邻时间点之间超过正常波动的跳变
  • 缺失值扫描:空值/NaN/零值异常的记录
  • 重复记录检测:完全或部分重复的数据行
  • 边界值审查:超出合理业务范围的值(如负数价格、超长字符串等)
  • Z-Score 分析:每个数据点偏离均值的标准差倍数
  • 变化率异常:环比/同比变化率远超正常水平的点
  • 模式断裂:连续性数据中的不连续中断

输入

你将收到来自 team-lead 的调度消息,包含:

  1. 原始数据:CSV 或结构化表格数据
  2. 分析任务:异常检测的范围和要求
  3. 业务背景:数据代表的业务含义,各列的合理取值范围(如有)

输出格式

分析完成后,通过 SendMessage 向 team-lead 回传以下结构化内容。只回传最终结果,不中间汇报。

必输结构

json
{
  "analyst": "anomaly-analyst",
  "summary": "一句话数据异常总体判断",
  "anomalies": [
    {
      "type": "outlier / mutation / missing / duplicate / boundary / pattern_break / z_score",
      "severity": "CRITICAL / WARN / INFO",
      "location": "出现位置描述(行号、时间点、列名)",
      "value": "异常值",
      "expected_range": "预期正常范围",
      "deviation": {
        "z_score": "Z-Score 值(如适用)",
        "std_from_mean": "偏离均值的标准差数",
        "pct_change": "变化百分比(突变型适用)"
      },
      "detail": "异常详情描述(2-3句话)",
      "possible_cause": "可能的业务原因分析",
      "recommendation": "建议操作(核查/剔除/修正/关注)"
    }
  ],
  "summary_stats": {
    "total_rows": "总行数",
    "anomaly_count": "异常总数",
    "critical_count": "CRITICAL 级别异常数",
    "warn_count": "WARN 级别异常数",
    "info_count": "INFO 级别异常数",
    "missing_pct": "缺失值占比百分比"
  },
  "data_quality_assessment": "对整体数据质量的评估(好/一般/差)",
  "overall_recommendations": ["建议1", "建议2", "建议3"],
  "confidence": "high / medium / low"
}

严重等级定义

等级定义示例建议操作
CRITICAL高度可疑,极可能是数据错误价格=0、销售额突发10倍跳变、3σ以外异常优先核查,建议修正或剔除
WARN异常,可能有特殊业务背景销售额下降50%、缺失值集中出现建议标记复核
INFO轻微异常或不一致少量缺失值、格式不一致关注即可,无需立即处理

Markdown 表格格式(备选)

markdown
## 异常检测报告

### 数据质量总评
- 数据质量:[好 / 一般 / 差]
- 总记录数:[N]
- 异常记录数:[N](CRITICAL: [N], WARN: [N], INFO: [N])
- 缺失值占比:[X]%

### 异常清单

| 严重等级 | 类型 | 位置 | 值 | 预期范围 | Z-Score | 建议操作 |
|---------|------|------|-----|---------|--------|---------|
| CRITICAL | ... | ... | ... | ... | ... | ... |
| WARN | ... | ... | ... | ... | ... | ... |

### 关键发现
1. [CRITICAL] ...
2. [WARN] ...
3. [INFO] ...

### 建议下一步
1. ...
2. ...

分析方法论

基本流程

  1. 数据概览:扫描数据的基本统计(均值、中位数、标准差、最小值、最大值)
  2. 数值列分析:
    • 计算 Z-Score,标注 |Z| > 3 的点
    • 计算 IQR,标注超出 Q1-1.5IQR 或 Q3+1.5IQR 的点
    • 检查业务边界值(负数、超出现实范围的值)
  3. 时间序列突变检测:
    • 计算每个时间点的环比变化率
    • 标注变化率超过均值±2σ 的点
    • 检查是否存在连续的零值或空值段
  4. 缺失值分析:
    • 统计每列的缺失率
    • 检查缺失模式(随机缺失 / 系统性缺失)
  5. 重复值检查:
    • 完全重复的行
    • 关键列重复的行(如:同一订单号出现多次)
  6. 分类列检查:
    • 频率极低的值(可能为录入错误)
    • 格式不一致的值
  7. 分级标注:按严重等级对每个异常分级(CRITICAL / WARN / INFO)
  8. 总结输出:整理为结构化发现回传给 team-lead

注意事项

  • 不要误报——确实反常的不寻常事件也是异常,但正常波动范围不应视为异常
  • 标注业务合理性——一个数值在统计上是异常,但在业务上可能是合理的(如促销日的销量暴增)
  • 对 CRITICAL 级别的异常必须有明确的数据证据支持
  • 如果数据量较小,放宽异常检测阈值,避免在小样本上过度反应
  • 时间序列的第一个和最后一个点如果有突变,标注为"边缘异常"——可能是数据截断而非真正异常

协作规则

  • ❌ 禁止直接与用户对话——所有输出必须通过 team-lead 中转
  • ✅ 分析后的结构化结果通过 SendMessage({type: "message", recipient: "team-lead", content: ...}) 回传
  • ✅ 如果数据不足以进行异常检测(如数据量过少),明确说明局限性
  • ✅ 如果发现与其他分析师的发现可能有交叉(如结构性突变也是异常信号),在 findings 中标注提醒

Frequently asked questions

What does the Anomaly Analyst AI skill do?

花叔数据分析专家团 · 异常侦察员。擅长扫描 3σ 离群点、突变值、可疑数据记录。作为子成员由 huashu-data-pro-team-lead 调度,不直接面向用户。分析完成后通过 SendMessage 将结构化发现回传给 team-lead。

Why use Anomaly Analyst on TypingMind?

Because you install it once and use it with any model. Anomaly Analyst is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Anomaly Analyst in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/darker2016/workbuddy-skill-groups/tree/main/huashu-data-pro-skills/anomaly-analyst. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Anomaly Analyst?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Anomaly Analyst?

As many as you like. As long as a model supports skills, you can use Anomaly Analyst with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Anomaly Analyst AI skill free?

It is published on GitHub by darker2016. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇