China Roll Forward logo

China Roll Forward

Community
jwangkun
china-roll-forward

Roll forward fund accounting records for new reporting periods. Adapts the original roll-forward skill for Chinese fund administration and reporting requirements. Triggers on "基金账务滚动", "账务更新", "roll forward fund", "update fund books", "基金新期间", or "roll forward [fund] [period]".

Overview

Publisherjwangkun
Repositoryclaude-for-financial-services-cn
Skill namechina-roll-forward
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 Roll Forward 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-roll-forward
  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-roll-forward .claude/skills/china-roll-forward
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable China Roll Forward 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 Roll Forward 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 Roll Forward 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-roll-forward

Purpose

Roll forward 基金账务 — update fund accounting records for new periods.

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_financials(ticker, "income")     → Holdings financials
get_fund_data(fund_code)              → Fund NAV data
get_quote(ticker)                     → Latest prices

Secondary Sources

  • 基金公司 — fund accounting system
  • 托管行 — custody records
  • 巨潮 — portfolio company filings

Workflow

Step 1: Identify New Period

Fund reporting periods:

PeriodTypeFrequencyDeadline
日DailyDailyT+1
周WeeklyWeekly
月MonthlyMonthly
季QuarterlyQuarterly季报后
半年Semi-annualSemi-annual中报后
年AnnualAnnual年报后

Step 2: Close Prior Period

Period-end closing checklist:

ItemAction
收入确认Close all income accruals
费用计提Close all expense accruals
已实现损益Calculate realized P&L
未实现损益Mark-to-market
分红处理Process distributions
费用分配Allocate to NAV

Step 3: Carry Forward Balances

Balance carry-forward:

AccountEnding BalanceCarried ForwardNotes
银行存款
证券投资
应收利息
应收股利
应付费用
实收基金
未分配利润

Step 4: Update Holdings

Holdings update:

SecurityTickerPrior QtyTradesNew QtyPriceMarket Value

Step 5: Update Accruals

Accrual roll-forward:

Accrual TypePriorAdditionsUsageReversalNew
应收股息
应收利息
应付管理费
应付托管费

Step 6: Calculate New NAV

NAV calculation:

ItemAmount
Beginning NAV¥XX
+ Income earned¥XX
+ Realized gains¥XX
+ Unrealized gains¥XX
- Expenses¥XX
- Distributions¥XX
Ending NAV¥XX
Shares outstandingXX
NAV per share¥XX

Step 7: Update Financial Statements

Fund financial statements:

StatementUpdate
资产负债表New balances
利润表New period activity
净值变动表NAV changes
会计报表附注Disclosures

Step 8: Performance Calculation

Performance update:

MetricMTDQTDYTDSince Inception
ReturnX.XX%X.XX%X.XX%X.XX%
BenchmarkX.XX%X.XX%X.XX%X.XX%
Active returnX.XX%X.XX%X.XX%X.XX%

Step 9: Reconciliation

New period reconciliation:

ItemFund BooksCustodianMatch?
Securities
Cash
NAV
P&L

China-Specific Considerations

Fund Accounting Calendar

EventTiming
估值日Daily / T+1
净值公告T+2 for daily NAV
季报披露Within 15 days of quarter-end
半年报Within 60 days of H1 end
年报Within 90 days of year-end

Cut-off Rules

ItemCut-off Rule
交易Trade date basis
收入Ex-dividend date
费用Incurrence basis
税费Withholding date

Quality Checks

Before completing:

  • Prior period closed properly
  • Balances carried forward
  • New period activity recorded
  • NAV calculated correctly
  • Reconciliation complete
  • Performance calculated
  • Reports generated

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 Roll Forward AI skill do?

Roll forward fund accounting records for new reporting periods. Adapts the original roll-forward skill for Chinese fund administration and reporting requirements. Triggers on "基金账务滚动", "账务更新", "roll forward fund", "update fund books", "基金新期间", or "roll forward [fund] [period]".

Why use China Roll Forward on TypingMind?

Because you install it once and use it with any model. China Roll Forward 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 Roll Forward 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-roll-forward. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use China Roll Forward?

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 Roll Forward?

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

Is the China Roll Forward 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 👇