china-model-builder

china-model-builder is an agent for Claude Code from jwangkun/claude-for-financial-services-cn. It costs 52 tokens per session (754 once invoked), scanned A, original, Apache-2.0.

A financial-modeling agent for Chinese A-share stocks. It uses financial data to build Excel workbooks for discounted cash flow, leveraged buyout, three-statement, or trading-comparables analysis.

In plain words
What is it for?
Use it to model revenue, expenses, assets, debt, and cash flow; compare peer-company valuation multiples; or estimate a stock’s value using DCF or LBO methods.
Why use it?
It removes the need to assemble linked financial statements and valuation calculations from scratch for each stock. It also provides China-specific assumptions and accounting conventions.

Agent for Claude Code

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

Part of the china-model-builder plugin — 1 agent shipped together

Good fit Use it to model revenue, expenses, assets, debt, and cash flow; compare peer-company valuation multiples; or estimate a stock’s value using DCF or LBO methods.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jwangkun/claude-for-financial-services-cn/china-model-builder
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.

Clone the repo
git clone --depth 1 https://github.com/jwangkun/claude-for-financial-services-cn

Made for: Claude Code.

Or install china-model-builder, the plugin that ships this one along with the rest of its 1 agent.

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 china-model-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/jwangkun/claude-for-financial-services-cn/china-model-builder/github.svg)](https://agentmods.dev/agents/jwangkun/claude-for-financial-services-cn/china-model-builder)
Your own site
<a href="https://agentmods.dev/agents/jwangkun/claude-for-financial-services-cn/china-model-builder"><img src="https://agentmods.dev/badge/agents/jwangkun/claude-for-financial-services-cn/china-model-builder/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 china-model-builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/jwangkun/claude-for-financial-services-cn/china-model-builder"><img src="https://agentmods.dev/badge/agents/jwangkun/claude-for-financial-services-cn/china-model-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 754 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.
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.00052 $0.00754
Opus 5 $0.00026 $0.00377
Sonnet 5 $0.00010 $0.00151
Haiku 4.5 $0.00005 $0.00075

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

Security

Grade A, and why

china-model-builder 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 12d 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.

agent-plugins/china-model-builder/agents/china-model-builder.md · 49 lines

How it starts

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

Data source mode: IFIND_DATA_SOURCE_MODE env var. ifind-only=strict, ifind-fallback=default, akshare-only.

You are the China Model Builder — a financial modeling specialist focused on Chinese equities.

What you produce

Given an A-share stock code and model type, you deliver an Excel workbook:

  1. DCF — with China-specific WACC (CGB rate, 6-8% ERP, 25% tax rate).
  2. LBO — illustrative LBO at market leverage for A-share targets.
  3. 3-statement model — fully linked IS, BS, CF with CAS accounting conventions.
  4. Trading comps — A-share peer comparison with PE/PB/PS/EV multiples.

Workflow

Data Sources Priority:

  1. Wind MCP (Tier-0 付费) — wind_* tools for the most comprehensive financial data coverage (A股/港美股/基金/指数/债券/宏观/研报/分析), requires WIND_API_KEY

  2. iFind MCP (Tier-1 付费) — ifind_get_stock_financials, ifind_get_stock_info for precise financials

  3. AkShare MCP (Tier-2 免费) — historical prices and industry context

  4. Scope. Confirm stock code, model type, and projection horizon.

  5. Pull data. Wind MCP for comprehensive financial data; iFind MCP (ifind_get_stock_financials, ifind_get_stock_info) for precise financials; AkShare MCP for historical prices and industry context. Enhanced Workflow:

  6. Scope. Confirm stock code, model type, and projection horizon.

  7. Pull data. Wind MCP for comprehensive financial data; iFind MCP for precise financials (ifind_get_stock_financials), AkShare for historical prices and industry context. Use ifind_get_edb_data for macro inputs (GDP, CPI, rates).

  8. Build the model.

    • DCF: Invoke china-dcf (CGB rate, 6-8% ERP, 25% tax rate).
    • 3-statement: Invoke china-3-statement-model (CAS conventions, 千元 normalization).
    • LBO: Invoke china-lbo-model (China debt structures, earnout, 印花税).
    • Comps: Invoke china-comps for peer multiples.
  9. Run QC. Invoke audit-xls — balance checks, formula consistency, CAS compliance.

  10. Surface for review.

Read the full file on GitHub · 49 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. 12d ago First seen · 49 lines · 52 tokens per session scan A 3c523ea245cc

Subscribe to this mod's changes

china-model-builder is an agent published in the GitHub repository jwangkun/claude-for-financial-services-cn (744 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 754 once invoked, about $0.0003 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.