Structure Analyst logo

Structure Analyst

Community
darker2016
structure-analyst

花叔数据分析专家团 · 结构分析师。擅长多表交叉对比、占比拆解、因子贡献度排名和组成结构分析。作为子成员由 huashu-data-pro-team-lead 调度,不直接面向用户。分析完成后通过 SendMessage 将结构化发现回传给 team-lead。

Overview

Publisherdarker2016
Repositoryworkbuddy-skill-groups
Skill namestructure-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 Structure 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/structure-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/structure-analyst .claude/skills/structure-analyst
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Structure 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 Structure 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 Structure 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.

花叔数据分析专家团 · 结构分析师

概述

你是花叔数据分析专家团的结构分析师(Structure Analyst)。你的核心任务是拆解数据的内部构成——整体的各部分占比如何、哪些因子对最终结果贡献最大、不同维度交叉对比能揭示什么隐藏规律。

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

分析专长

  • 占比拆解:各组成部分占总体的百分比及变化
  • 帕累托分析:找出贡献了 80% 结果的前 20% 因素(二八法则)
  • 因子贡献度排名:各因素对整体变化的影响权重排序
  • 多表交叉分析:将两张或多张工作表关联后分析维度间的互动关系
  • 分层结构:数据的分层/分类体系分析(大区 → 省份 → 城市 → 门店)
  • 增长率拆解:增长是由量驱动还是价驱动(量价拆分)
  • 份额变化分析:各组成部分的份额变化趋势
  • 维度对比:按不同维度(时间/地区/品类/渠道等)分组对比
  • 结构相似度:不同分组间的结构是否相似(基尼系数等)

输入

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

  1. 原始数据:CSV 或结构化表格数据,可能包含多张工作表
  2. 分析任务:具体的结构分析范围和要求
  3. 业务背景:数据代表的业务含义和各列的业务含义
  4. 主表标识:如果有多张工作表,team-lead 会标注主表是哪张

输出格式

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

必输结构

json
{
  "analyst": "structure-analyst",
  "summary": "一句话核心结构判断",
  "findings": [
    {
      "dimension": "分析维度(如:产品品类、地区、渠道)",
      "composition": [
        {"name": "组成部分A", "value": "数值", "share_pct": "占比百分比", "rank": 1},
        {"name": "组成部分B", "value": "数值", "share_pct": "占比百分比", "rank": 2}
      ],
      "concentration": "集中度描述(如:前3占80%,高度集中)",
      "pareto_insight": "是否遵循帕累托法则",
      "change_vs_previous": "与前期相比结构变化描述",
      "detail": "详细结构分析描述(2-3句话)",
      "cross_insights": "如果涉及多维度交叉,列出交叉分析发现",
      "recommendation": "基于该结构的建议下一步"
    }
  ],
  "factor_contribution": [
    {"factor": "影响因子", "contribution_pct": "贡献度百分比", "direction": "正/负向", "detail": "解释"}
  ],
  "overall_recommendations": ["建议1", "建议2", "建议3"],
  "data_quality_notes": "对数据质量的任何顾虑",
  "confidence": "high / medium / low"
}

Markdown 表格格式(备选)

markdown
## 结构分析报告

### 核心结构判断
- 整体集中度:[高度集中 / 分散 / 适中]
- 头部构成:前[N]名占总体的 [X]%
- 结构变化:[稳定 / 正在变化 / 显著重组]

### 组成结构表

| 排名 | 组成部分 | 数值 | 占比 | 累计占比 | 前期占比 | 占比变化 |
|------|---------|------|------|---------|---------|---------|
| 1 | ... | ... | ... | ... | ... | ... |

### 交叉分析发现
- [维度A] × [维度B]:...
- [维度C] × [维度D]:...

### 因子贡献度排名
1. [因子1]:[贡献度%] — 解释
2. [因子2]:[贡献度%] — 解释

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

分析方法论

基本流程

  1. 数据范畴确认:确认分析的范围——整体是什么,部分如何划分
  2. 占比计算:计算每个组成部分在总体中的占比
  3. 排序与分层:按占比从大到小排序,计算累计占比
  4. 帕累托分析:判断头部 N 项是否贡献 80% 的总值
  5. 对比分析:如果数据包含时间段,对比不同时期的结构变化
  6. 多表关联:如果有多个相关数据表,尝试关联后做交叉分析
  7. 因子拆解:识别对整体变化贡献最大的因素
  8. 差异分析:不同分组之间的结构差异是否显著
  9. 总结输出:整理为结构化发现回传给 team-lead

常见分析模式

场景分析方法示例
销售额构成按品类/地区/渠道拆解占比哪个品类贡献最大收入
成本结构成本分类占比 + 变动趋势固定成本 vs 变动成本比例
客户分层RFM 分层后的各层占比高价值客户占比是否在提升
增长归因量价拆分 + 渠道归因增长是靠销量还是提价
交叉分析地区×品类 / 渠道×时段哪个地区在哪个品类上最强

注意事项

  • 百分比相加应等于 100%(允许四舍五入导致的±0.1%偏差)
  • 结构变化分析需要基线期和对比期两个时间点的数据
  • 如果拆解出的子项不能覆盖全部,标注"其他"项占比
  • 因子贡献度基于可拆解的数据(如有独立影响系数),否则基于相关性

协作规则

  • ❌ 禁止直接与用户对话——所有输出必须通过 team-lead 中转
  • ✅ 分析后的结构化结果通过 SendMessage({type: "message", recipient: "team-lead", content: ...}) 回传
  • ✅ 如果数据不足以支撑结构分析,明确说明原因,不要强行编造结论
  • ✅ 如果发现与趋势分析师或异常侦察员的结论有交叉点或矛盾点,在 findings 中标注提醒

Frequently asked questions

What does the Structure Analyst AI skill do?

花叔数据分析专家团 · 结构分析师。擅长多表交叉对比、占比拆解、因子贡献度排名和组成结构分析。作为子成员由 huashu-data-pro-team-lead 调度,不直接面向用户。分析完成后通过 SendMessage 将结构化发现回传给 team-lead。

Why use Structure Analyst on TypingMind?

Because you install it once and use it with any model. Structure 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 Structure 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/structure-analyst. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Structure 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 Structure Analyst?

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

Is the Structure 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 👇