Profit Analysis logo

Profit Analysis

Community
vivy-yi
profit-analysis

利润表分析 — 分析收入/成本/费用的同比/环比/预算对比,识别盈利异常并归因。 适用情形:月度财务分析时执行,从 [ERP] 获取利润表数据, 按同比/环比/预算三维度分析,识别毛利/费用异常,归因到具体产品/部门。 核心:毛利分析 + 费用分析 + 预算差异归因 + 改善建议。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill nameprofit-analysis
Stars
43
Forks
13
Bundled files
Instructions only
LicenseMIT
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 vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Profit Analysis 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/vivy-yi/finance-skills/tree/master/finance-skills/skills/financial-analysis/skills/profit-analysis
  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/vivy-yi/finance-skills.git /tmp/finance-skills
mkdir -p .claude/skills
cp -r /tmp/finance-skills/finance-skills/skills/financial-analysis/skills/profit-analysis .claude/skills/profit-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Profit Analysis 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 Profit Analysis 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 Profit Analysis 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.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(KPI 阈值/预算差异标准/行业参考值)。


/profit-analysis — 利润表分析

Examples

→ 示例:用户说"帮我们分析一下这个月利润表的主要变化,哪些科目影响最大",系统应调用本技能,执行利润表变动分析。

→ 示例:用户说"不同产品线的毛利率差很多,帮我分析一下原因",系统应调用本技能,执行产品线毛利率差异分析。

→ 示例:用户说"帮我们分析一下价格调整对利润的影响,涨 5% 能多赚多少",系统应调用本技能,评估价格变动对利润的敏感性。

第一步:获取利润表数据

从 [ERP] 获取利润表数据:

□ 本期数据:[YYYY年MM月]
□ 上期数据:[YYYY年MM月]
□ 去年同期:[YYYY年MM月]
□ 预算数据:[YYYY年]全年预算

获取字段:
  收入 | 成本 | 毛利 | 毛利率 | 费用 | 费用率 | 营业利润 | 净利率

第二步:收入分析

收入三维度对比:

        | 本期      | 上期      | 去年同期  | 预算      |
|--------|----------|----------|----------|----------|
收入    | [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
环比变化| —        | [±X万]   | —        | —        |
同比变化| —        | —        | [±X万]   | —        |
预算差异| —        | —        | —        | [±X万]   |

异常识别:

□ 收入同比下降 > [X]% → ⚠️ 须分析原因
□ 收入环比下降 > [X]% → ⚠️ 区分季节性/趋势性
□ 收入低于预算 > [X]% → ⚠️ 须分析预算偏差

归因分析(按产品/部门/客户):

□ 哪个产品线收入变化最大?
□ 哪个部门收入变化最大?
□ 哪个客户贡献了主要变化?
□ 是否有一次性因素(季节性/促销/退货)?

第三步:成本分析

成本三维度对比:

        | 本期      | 上期      | 去年同期  | 预算      |
|--------|----------|----------|----------|----------|
成本    | [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
毛利    | [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
毛利率  | [X%]     | [X%]     | [X%]     | [X%]     |

毛利异常识别:

□ 毛利率低于目标值 [X%] → ⚠️ 须分析原因
□ 毛利率同比下降 > [X%] → 🔴 结构性恶化
□ 毛利率环比下降 > [X%] → ⚠️ 短期波动/季节性
□ 毛利率低于预算 [X%] → ⚠️ 须解释偏差

毛利差异分解:

□ 销量变化贡献:[+,X万](量增/量减)
□ 价格变化贡献:[+,X万](价升/价降)
□ 成本变化贡献:[+,X万](成本升/成本降)
□ 结构变化贡献:[+,X万](产品/客户组合变化)
→ 合计差异:[+,X万] vs 预算/同期

第四步:费用分析

费用三维度对比:

        | 本期      | 上期      | 去年同期  | 预算      |
|--------|----------|----------|----------|----------|
销售费用| [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
管理费用| [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
研发费用| [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
财务费用| [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
费用合计| [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
费用率  | [X%]     | [X%]     | [X%]     | [X%]     |

费用异常识别:

□ 费用增长率 > 收入增长率 → ⚠️ 费用失控
□ 某项费用率高于目标 → ⚠️ 须分析
□ 费用超预算 > [X]% → ⚠️ 须解释

费用归因(按部门/科目):

□ 哪个部门费用超支最多?
□ 哪个费用科目变化最大?
□ 是否有战略性投入(主动扩张)?
□ 是否有失控性增长(须控制)?

第五步:利润分析

利润三维度对比:

        | 本期      | 上期      | 去年同期  | 预算      |
|--------|----------|----------|----------|----------|
营业利润| [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
营业利润率| [X%]    | [X%]     | [X%]     | [X%]     |
净利润  | [XXX万]  | [XXX万]  | [XXX万]  | [XXX万]  |
净利率  | [X%]     | [X%]     | [X%]     | [X%]     |

利润异常识别:

□ 单月亏损 → 🔴 须立即分析原因
□ 净利润低于预算 > [X]% → ⚠️ 须解释偏差
□ 利润率持续下降趋势 → ⚠️ 结构性恶化信号

第六步:生成利润分析报告

═══════════════════════════════════════
利润表分析报告
分析期间:[YYYY年MM月]
报告日期:[YYYY-MM-DD]
═══════════════════════════════════════

【收入分析】

□ 本期收入:[XXX万]
□ 环比:[±XXX万]([±X%])
□ 同比:[±XXX万]([±X%])
□ 预算差异:[±XXX万]([±X%])

异常识别:[✅ 正常 / ⚠️ 须关注 / 🔴 异常]

收入变化归因:
□ 销量贡献:[±XXX万]
□ 价格贡献:[±XXX万]
□ 结构贡献:[±XXX万]

TOP 变化产品/部门:
□ [产品/部门A]:收入变化 [±XXX万]
□ [产品/部门B]:收入变化 [±XXX万]

【成本分析】

□ 本期成本:[XXX万]
□ 本期毛利:[XXX万]
□ 毛利率:[X%](目标 [X%])

异常识别:[✅ 正常 / ⚠️ 须关注 / 🔴 异常]

毛利变化归因:
□ 销量贡献:[±XXX万]
□ 价格贡献:[±XXX万]
□ 成本贡献:[±XXX万]
□ 结构贡献:[±XXX万]

毛利率异常原因:
□ [描述]

【费用分析】

□ 本期费用合计:[XXX万]
□ 费用率:[X%](目标 [X%])

各费用明细:
□ 销售费用:[XXX万]([±X%])
□ 管理费用:[XXX万]([±X%])
□ 研发费用:[XXX万]([±X%])
□ 财务费用:[XXX万]([±X%])

费用异常项:[无/描述]
费用超支归因:
□ [部门/科目A]:[XXX万] 超支
□ [部门/科目B]:[XXX万] 超支

【利润分析】

□ 营业利润:[XXX万](目标 [XXX万])
□ 营业利润率:[X%](目标 [X%])
□ 净利润:[XXX万](目标 [XXX万])
□ 净利率:[X%](目标 [X%])

异常识别:[✅ 正常 / ⚠️ 须关注 / 🔴 异常]

【TOP 异常项】

□ [毛利异常项]:[描述] — 影响利润 [±XXX万]
□ [费用异常项]:[描述] — 影响利润 [±XXX万]
□ [其他异常项]:[描述] — 影响利润 [±XXX万]

【改善建议】

□ 毛利改善:
  - [建议1]
  - [建议2]

□ 费用控制:
  - [建议1]
  - [建议2]

□ 收入增长:
  - [建议1]
  - [建议2]

【下月关注】

□ [关注事项1]
□ [关注事项2]

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
数据截止:[YYYY-MM-DD]
═══════════════════════════════════════

升级触发条件

  • 毛利率低于预警值连续 2 个月
  • 收入同比下降 > [X]%
  • 单月亏损 > [XXX万]
  • 费用超预算 > [X]%

Finance Skills — profit-analysis atomic skill

Frequently asked questions

What does the Profit Analysis AI skill do?

利润表分析 — 分析收入/成本/费用的同比/环比/预算对比,识别盈利异常并归因。 适用情形:月度财务分析时执行,从 [ERP] 获取利润表数据, 按同比/环比/预算三维度分析,识别毛利/费用异常,归因到具体产品/部门。 核心:毛利分析 + 费用分析 + 预算差异归因 + 改善建议。

Why use Profit Analysis on TypingMind?

Because you install it once and use it with any model. Profit Analysis 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 Profit Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/financial-analysis/skills/profit-analysis. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Profit Analysis?

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 Profit Analysis?

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

Is the Profit Analysis AI skill free?

Yes. It is published on GitHub by vivy-yi under the MIT license. 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 👇