China Clean Data Xlsのロゴ

China Clean Data Xls

コミュニティ
jwangkun
china-clean-data-xls

Clean and normalize A-share financial data for modeling. Adapts the original clean-data-xls skill for Chinese financial statements, CAS conventions, and A-share data formats. Triggers on "A股数据清洗", "财务数据清洗", "clean financial data China", "数据清洗", or "normalize financial statements".

Add to TypingMind

概要

公開者jwangkun
リポジトリclaude-for-financial-services-cn
スキル名china-clean-data-xls
スター
834
フォーク
132
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    jwangkunがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「China Clean Data Xls」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-clean-data-xls
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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-clean-data-xls .claude/skills/china-clean-data-xls
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでChina Clean Data Xlsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にChina Clean Data Xlsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、China Clean Data Xlsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

china-clean-data-xls

Purpose

Clean and normalize A股财务数据 — prepare raw financial data from 巨潮 filings for modeling and analysis.

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")     → Raw income statement
get_financials(ticker, "balance")    → Raw balance sheet
get_financials(ticker, "cashflow")   → Raw cash flow statement

Secondary Sources

  • 巨潮 — original filings (PDF/HTML)
  • 审计报告 — audited figures

Workflow

Step 1: Data Extraction

Extract from source documents:

DocumentKey DataFormat
资产负债表Assets, liabilities, equity千元
利润表Revenue, expenses, profit千元
现金流量表Operating, investing, financing CF千元
报表附注Detail breakdownsText/number
审计报告Audit opinion, adjustmentsText

Extraction checklist:

  • All periods extracted (typically 3-5 years)
  • Quarterly data if needed
  • Prior year comparatives
  • Notes and footnotes captured

Step 2: Normalize Units

Unit standardization:

IssueSolution
千元 vs 万元 vs 元Standardize to 万元
Different report datesAlign to same period-end
Segment dataMap to consistent segments
CurrencyAll CNY

Unit conversion:

From 千元: divide by 10 → 万元
From 元: divide by 10,000 → 万元
From 亿元: multiply by 10,000 → 万元

Step 3: Handle CAS-Specific Items

CAS vs IFRS mapping:

CAS Line ItemEquivalentNotes
营业收入RevenueNet of VAT
营业成本COGSIncludes VAT
税金及附加Tax & surcharges城建税, 教育费附加
销售费用SG&A (selling)
管理费用G&A
研发费用R&DSeparated from G&A in new CAS
财务费用Interest & finance costs
投资收益Investment incomeIncluding 联营/合营
公允价值变动Fair value change
信用减值损失Credit impairmentNew CAS 22
资产减值损失Asset impairment
资产处置收益Asset disposal
营业外收入Non-operating incomeIncluding 政府补助
营业外支出Non-operating expense
所得税费用Income tax
净利润Net income
归母净利润Net income to parentKey metric
扣非净利润Non-GAAP net income

Step 4: Fix Common Data Issues

Common issues and fixes:

IssueDetectionFix
Missing periodsGap in dataFlag for manual fill
Restated figuresFootnote "重述"Use most recent restatement
Segment reclassificationNote disclosureMap to new segments
One-time itemsLarge/unusual itemsFlag for normalization
Related party关联交易标注Identify and quantify
Accounting changePolicy change noteAdjust comparables
ErrorDoesn't sumInvestigate and correct

Step 5: Revenue Breakdown

Revenue by type:

TypeCAS LineNotes
主营业务收入Core revenueMain business
其他业务收入Other revenueAncillary
合计Total revenue

Revenue by geography (if disclosed):

RegionCurrent YearPrior YearGrowth
国内
海外
合计

Step 6: Expense Normalization

Normalize non-recurring items:

ItemTreatment
资产处置收益/损失Exclude from operations
政府补助 (non-recurring)Exclude or note separately
诉讼/罚款Exclude
减值 (one-time)Exclude or normalize
并购相关费用Exclude

Adjusted metrics:

调整后营业收入 = 营业收入 - 其他业务收入
调整后营业成本 = 营业成本 (core only)
调整毛利率 = 调整后毛利 / 调整后收入

Step 7: Balance Sheet Clean-up

Balance sheet mapping:

CAS ItemModeling Category
货币资金Cash & equivalents
交易性金融资产Short-term investments
应收票据Notes receivable
应收账款Accounts receivable
预付款项Prepayments
其他应收款Other receivables
存货Inventory
其他流动资产Other current assets
长期股权投资Long-term investments
固定资产PPE
在建工程Construction in progress
无形资产Intangibles
商誉Goodwill
长期待摊费用Deferred charges
其他非流动资产Other non-current
短期借款Short-term debt
应付票据Notes payable
应付账款Accounts payable
合同负债Contract liabilities
应付职工薪酬Accrued compensation
应交税费Taxes payable
其他应付款Other payables
一年内到期非流动负债Current portion LTD
长期借款Long-term debt
应付债券Bonds payable
预计负债Provisions
递延所得税负债DTL
其他非流动负债Other non-current
股本Share capital
资本公积Capital reserve
盈余公积Retained earnings (statutory)
未分配利润Retained earnings
归属于母公司股东权益Parent equity
少数股东权益Minority interest

Step 8: Quality Checks

Data quality checklist:

CheckPass Criteria
Balance sheet balancesAssets = Liabilities + Equity
Cash flow tiesCF = ending cash - beginning cash
Revenue matchesCross-check with segment data
Tax reasonableTax / pre-tax income ~25%
Depreciation consistentD&A / PPE stable
Interest matchesInterest / debt reasonable

China-Specific Data Issues

Common Issues

IssueExampleFix
单位不一致Some 千元, some 元Standardize
会计政策变更Revenue recognition changeAdjust comparables
报表格式变化New line itemsMap to old format
追溯调整Prior period restatementUse restated figures
外币报表Subsidiary in USDConvert to CNY

CAS-Specific Treatments

ItemCAS Treatment
研发费用Must be expensed (not capitalized, generally)
政府补助总额法 vs 净额法
股份支付Expensed over vesting period
保险合同CAS 25 (if applicable)

Quality Checks

Before passing data for modeling:

  • All periods complete
  • Units standardized
  • Balance sheet balances
  • Cash flow ties
  • CAS items correctly mapped
  • Non-recurring items flagged
  • Restatements applied
  • Quality issues documented

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

よくある質問

AIスキル「China Clean Data Xls」では何ができますか?

Clean and normalize A-share financial data for modeling. Adapts the original clean-data-xls skill for Chinese financial statements, CAS conventions, and A-share data formats. Triggers on "A股数据清洗", "财务数据清洗", "clean financial data China", "数据清洗", or "normalize financial statements".

TypingMindでChina Clean Data Xlsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。China Clean Data Xlsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにChina Clean Data Xlsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-clean-data-xlsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

China Clean Data Xlsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

China Clean Data Xlsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもChina Clean Data Xlsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「China Clean Data Xls」は無料ですか?

はい。jwangkunがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇