China Variance Commentary logo

China Variance Commentary

Community
jwangkun
china-variance-commentary

Write variance commentary for A-share fund performance and portfolio changes. Adapts the original variance-commentary skill for fund accounting and Chinese fund reporting conventions. Triggers on "基金业绩点评", "组合表现分析", "variance commentary fund", "基金表现分析", "业绩归因", or "commentary on [fund] performance".

Overview

Publisherjwangkun
Repositoryclaude-for-financial-services-cn
Skill namechina-variance-commentary
Stars
834
Forks
132
Bundled files
Instructions only
LicenseApache-2.0
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 jwangkun on GitHub. Read the source before you install it.

Installation

Install the China Variance Commentary 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/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-variance-commentary
  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/jwangkun/claude-for-financial-services-cn.git /tmp/claude-for-financial-services-cn
mkdir -p .claude/skills
cp -r /tmp/claude-for-financial-services-cn/agent-plugins/china-earnings-reviewer/skills/china-variance-commentary .claude/skills/china-variance-commentary
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable China Variance Commentary 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 China Variance Commentary 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 China Variance Commentary 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.

china-variance-commentary

Purpose

Write professional 基金业绩点评 — structured variance commentary on fund performance and portfolio changes.

Data Sources

Tier 0 — 万得 Wind(最全面付费数据)

  • 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
  • MCP 服务:wind-mcp(需 WIND_API_KEY 密钥,以 ak_ 开头)
  • 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
  • 密钥申请:https://aifinmarket.wind.com.cn/#/home

Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)

python
get_fund_data(fund_code)              → Fund NAV, performance
get_quote(ticker)                     → Individual security performance
get_index_data("000001")              → Benchmark data

Secondary Sources

  • 基金公司 — fund performance data
  • 托管行 — custody data
  • Wind / Choice — performance analytics

Workflow

Step 1: Gather Performance Data

Performance snapshot:

MetricPeriodBenchmarkActive Return
净值增长率X.XX%X.XX%X.XX%
年化收益率X.XX%X.XX%X.XX%
波动率X.XX%X.XX%
夏普比率X.XX
最大回撤X.XX%
卡尔马比率X.XX

Step 2: Attribution Analysis

Performance attribution:

FactorContributionDescription
资产配置 (Allocation)X.XX%Sector/security weight decisions
个股选择 (Selection)X.XX%Security picking within sectors
交互效应 (Interaction)X.XX%Combined effect

Step 3: Sector Attribution

Sector performance:

SectorWeightReturnContributionBenchmark WeightBenchmark ReturnAllocation EffectSelection Effect
Total100%

Step 4: Top/Bottom Contributors

Best/worst performers:

#SecurityTickerWeightPeriod ReturnContribution
1 (Best)
2
3
...
(Worst)
(2nd Worst)
(3rd Worst)

Step 5: Risk Analysis

Risk metrics:

MetricValueBenchmarkAssessment
波动率X.XX%X.XX%Higher/Lower
最大回撤X.XX%X.XX%
下行偏差X.XX%X.XX%
VaR (95%)X.XX%
BetaX.XX
AlphaX.XX%

Step 6: Holdings Changes

Changes since last period:

ActionSecurityTickerReasonImpact
New buy
Add to
Reduce
Sold

Step 7: Market Context

Market environment:

FactorCurrentPrior PeriodChange
上证指数
沪深300
创业板指
北向资金
成交量

Step 8: Commentary

Standard format:

【业绩点评】[Fund Name] [Period]
报告期:[Date]
单位净值:¥X.XXXX
净值增长率:+/-X.XX%
基准收益率:+/-X.XX%
超额收益:+/-X.XX%

一、业绩概览
   [Overall performance summary]

二、归因分析
   [Attribution breakdown]

三、行业分析
   [Sector attribution]

四、重仓股表现
   [Top/bottom contributors]

五、风险指标
   [Risk metrics]

六、持仓变动
   [Changes in portfolio]

七、市场回顾
   [Market context]

八、展望
   [Forward outlook]

China-Specific Considerations

Fund Benchmarks

Fund TypeTypical Benchmark
股票型基金沪深300 / 创业板指
债券型基金中债综合指数
混合型基金沪深300 × 50% + 中债 × 50%
指数基金Tracking index
QDIIRelevant foreign index

Performance Presentation

ConventionChina Practice
Return calculationGeometric
BenchmarkContractual
Reporting frequencyDaily for public funds
Risk metricsStandard set

Quality Checks

Before delivering:

  • Performance data accurate
  • Attribution complete
  • Top/bottom contributors identified
  • Risk metrics calculated
  • Holdings changes documented
  • Market context current
  • Commentary balanced

Data Source Mode Switch: Set env var IFIND_DATA_SOURCE_MODE to control data source preference.

  • ifind-only (strict): Use iFind only, error if unavailable
  • ifind-fallback (default): iFind preferred, fallback to AkShare
  • akshare-only: Skip iFind, use AkShare only
  • wind-only: Wind only, error if unavailable
  • wind-fallback: Wind first, fallback to iFind → AkShare

Frequently asked questions

What does the China Variance Commentary AI skill do?

Write variance commentary for A-share fund performance and portfolio changes. Adapts the original variance-commentary skill for fund accounting and Chinese fund reporting conventions. Triggers on "基金业绩点评", "组合表现分析", "variance commentary fund", "基金表现分析", "业绩归因", or "commentary on [fund] performance".

Why use China Variance Commentary on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-variance-commentary. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use China Variance Commentary?

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 China Variance Commentary?

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

Is the China Variance Commentary AI skill free?

Yes. It is published on GitHub by jwangkun under the Apache-2.0 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 👇