gross-net-margin

gross-net-margin is a skill for Claude Code from kylin985ti/china-accounting-skills. It costs 46 tokens per session (1,463 once invoked), scanned A, original, MIT.

A guide to calculating and analysing gross margin, operating margin, and net margin, measures of how much revenue remains after different costs.

In plain words
What is it for?
Use it to compare margins year over year or period over period, compare them with industry figures, and break down the reasons for changes.
Why use it?
It helps explain whether profits are changing and identify possible causes, such as lower prices or higher purchasing costs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the china-accounting plugin — 25 skills shipped together

Good fit Use it to compare margins year over year or period over period, compare them with industry figures, and break down the reasons for changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kylin985ti/china-accounting-skills/gross-net-margin
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 kylin985ti/china-accounting-skills --skill gross-net-margin
Clone the repo
git clone --depth 1 https://github.com/kylin985ti/china-accounting-skills

Made for: Claude Code.

Or install china-accounting, the plugin that ships this one along with the rest of its 25 skills.

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 gross-net-margin

README.md
[![agentmods](https://agentmods.dev/badge/skills/kylin985ti/china-accounting-skills/gross-net-margin/github.svg)](https://agentmods.dev/skills/kylin985ti/china-accounting-skills/gross-net-margin)
Your own site
<a href="https://agentmods.dev/skills/kylin985ti/china-accounting-skills/gross-net-margin"><img src="https://agentmods.dev/badge/skills/kylin985ti/china-accounting-skills/gross-net-margin/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 gross-net-margin

Your own site · 80×15
<a href="https://agentmods.dev/skills/kylin985ti/china-accounting-skills/gross-net-margin"><img src="https://agentmods.dev/badge/skills/kylin985ti/china-accounting-skills/gross-net-margin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 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.00046 $0.01463
Opus 5 $0.00023 $0.00732
Sonnet 5 $0.00009 $0.00293
Haiku 4.5 $0.00005 $0.00146

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

Security

Grade A, and why

gross-net-margin 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 13d ago.

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.

business/gross-net-margin/SKILL.md · 131 lines

How it starts

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

毛利率与净利率分析

概述

这是一个诊断型技能。许多小企业老板能记账但不会分析——他们知道收入多少、花了多少,但说不清毛利率是多少、净利率是多少、为什么下降了。这个技能帮他们从"记账"升级到"看账"。

核心指标

1. 毛利率

毛利率 = (营业收入 - 营业成本) / 营业收入 × 100%

衡量产品的基本盈利能力。毛利率低意味着定价偏低或成本偏高。

2. 营业利润率

营业利润率 = 营业利润 / 营业收入 × 100%

衡量经营效率。毛利率→营业利润率之间的差距来自销售费用、管理费用、财务费用。

3. 净利率

净利率 = 净利润 / 营业收入 × 100%

衡量最终赚钱能力。包含营业外收支和所得税的影响。

分析流程

  1. 获取数据:从利润表取本期和对比期的数据
  2. 计算三个核心指标
  3. 同比分析:与去年同期对比
  4. 环比分析:与上期对比
  5. 行业对标:与行业平均值比较
  6. 驱动因素拆解:找出变化的原因

驱动因素拆解(毛利率下降的 5 种原因)

原因 信号 排查方向
售价下降 收入增速 < 销量增速 市场竞争加剧?被迫降价?
采购成本上升 成本增速 > 收入增速 原材料涨价?供应商提价?
产品结构变化 高毛利产品占比下降 产品组合恶化?新产品线毛利低?
损耗增加 存货盘亏增多 库存管理问题?
定价策略错误 长期低于同行 重新核算成本,建立定价模型

分析输出格式

📊 盈利能力诊断报告
═══════════════════════════════════
期间:2026年1-5月 vs 2025年1-5月

                  本期        同期       同比变化
────────────────────────────────────────────────
毛利率           40.0%       43.2%      -3.2% ↓ ⚠
营业利润率       24.0%       25.8%      -1.8% ↓
净利率           22.8%       19.6%      +3.2% ↑

行业参考:
  毛利率  35%-45% ✓ (本公司40.0%,在行业中位数偏上)
  净利率  15%-25% ✓

═══════════════════════════════════

🔍 毛利率下降 3.2% 的原因分析:

1. [主要驱动] 原材料成本上升 +12%
   → 贡献毛利率下降约 2.1%
   → 建议:与供应商谈判长期合同价格,或寻找替代材料

2. [次要驱动] 产品结构变化
   → A产品(毛利率45%)占比从60%→50%
   → B产品(毛利率35%)占比从40%→50%
   → 贡献毛利率下降约 1.1%

═══════════════════════════════════

📋 改善建议:
• 短期:审查B产品成本结构,看有无压缩空间
• 中期:重新对A产品定价,适度提价3-5%测试市场反应
• 长期:建立成本监控机制,原材料价格波动超5%自动预警

行业毛利率参考

行业 毛利率参考 净利率参考
软件/SaaS 60%-85% 10%-30%
电商零售 15%-35% 3%-8%
餐饮 55%-65% 5%-15%
咨询服务 50%-80% 15%-40%
教育培训 40%-60% 10%-25%
制造业 15%-35% 5%-15%
建筑业 8%-20% 3%-8%
广告传媒 30%-55% 8%-20%
物流运输 10%-25% 3%-10%

以上为经验参考值,具体行业细分有差异。如果公司毛利率显著低于行业下限,说明商业模式或成本结构存在问题。

费用率分析

除了毛利率之外,还需要逐项分析各项费用率:

费用率分析
────────────────────────────────
                本期      同期     合理范围
────────────────────────────────
销售费用率      8.2%      6.5%    5%-12% ✓
管理费用率      6.8%      7.2%    5%-15% ✓
财务费用率      1.0%      0.8%    0%-3% ✓
────────────────────────────────
三项费用合计   16.0%     14.5%

Read the full file on GitHub · 131 lines

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. 13d ago First seen · 131 lines · 46 tokens per session scan A 329f10259597

Subscribe to this mod's changes

gross-net-margin is a skill published in the GitHub repository kylin985ti/china-accounting-skills (56 stars, last pushed 18d ago), licensed MIT. It adds 46 tokens to every session and 1,463 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

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens