Finance & Investment Banking

Financial Data Acquisition & Cross-Validation

Multi-market financial data acquisition and cross-validation spec ensuring each key metric comes from two independent sources with >1% error flagged.

43/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Codex · Claude Code · OpenAI API(Partial support) · Claude API(Partial support)
Stars
★ 17k
Last updated
3d ago
License
MIT
fundamental-analysiscross-validationfinancial-datasec-edgar
+3hkexeastmoneyfinmind

What does this skill do, and when should you use it?

Part of the AI Berkshire investment research framework, this skill defines a rigorous financial data acquisition and cross-validation process. It specifies primary and backup data sources for US, HK, A-share, and Taiwan stocks, and requires each key financial metric to be pulled from two independent sources, flagging discrepancies over 1% and mandating a check of original filings for discrepancies over 5%. It includes a Taiwan stock data tool (FinMind API) and financial rigor utilities, plus rules for historical price adjustment (adjusted prices) to avoid distortion in trend analysis.

The skill executes the following: 1) Selects primary/backup data sources based on target market (e.g., macrotrends, stockanalysis, aastocks, Eastmoney, FinMind API); 2) Fetches each financial metric from two independent sources; 3) Calculates error rate and grades it (≤1% consistent, 1-5% discrepancy, >5% major discrepancy requiring original filing check); 4) Uses tools/financial_rigor.py for market cap verification, valuation verification, cross-validation, three-scenario valuation, and Benford's law detection; 5) For Taiwan stocks, calls tools/twstock_data.py to fetch quotes, valuations, financials, monthly revenue, dividends; 6) States data cutoff date in report header and labels all sources and errors.

Good fit
  • An individual investor analyzing US-listed companies like PDD or Tencent ADR can invoke this skill to cross-verify data from macrotrends and stockanalysis.
  • A researcher covering HK-listed companies (e.g., Tencent 0700, NetEase 9999) can contrast aastocks with macrotrends (TCEHY/NTES) and verify against HKEX original annual reports.
  • A-share investors analyzing stocks like 37 Interactive Entertainment or G-bits can pull data from Eastmoney and CNinfo and cross-validate.
  • Taiwan stock analysis (e.g., TSMC, MediaTek) uses the FinMind tool for monthly revenue and dividend data, cross-checked with Goodinfo or ADR (TSM).
  • Any analysis involving historical prices, valuation percentiles, or long-term returns must follow the adjusted-price rules to ensure consistency.

How do you install this skill?

Before you use it
  • Several external data sources (macrotrends, stockanalysis, aastocks, eastmoney, etc.) may be inaccessible from mainland China due to network restrictions; consider providing alternatives or verifying reachability.
  • While the FINMIND token is required to be stored locally, the skill does not explicitly enforce sandboxing or least privilege; ensure it is not run in untrusted environments.
  • The skill lacks user confirmation mechanisms and may automatically perform external calls and data processing; evaluate its impact on your environment.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • Python 3

The skill is part of the ai-berkshire repository at codex-skills/financial-data/SKILL.md. Install the entire repo, then copy the codex-skills/financial-data folder to ~/.codex/skills (Codex) or the appropriate Claude Code commands directory. Commands: git clone https://github.com/xbtlin/ai-berkshire.git; cd ai-berkshire; ./scripts/install-codex-skills.sh (macOS/Linux) or .\scripts\install-codex-skills.bat (Windows).

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/codex-skills/financial-data" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use financial-data to get financial data for Tencent.

After restarting Codex, instruct it with a prompt like 'Use financial-data to get financial data for Tencent.' The skill will first run the 'date' command to confirm today, then select data sources based on the market, fetch and cross-verify each metric. For Taiwan stocks, you can manually run python3 tools/twstock_data.py quote 2330 or describe the task to the agent.

What are this skill's strengths and limitations?

Pros
  • Clear priority tables for data sources across US, HK, A-share, and Taiwan markets, highly practical.
  • Enforces cross-validation and error grading, significantly reducing data error risk.
  • Includes a Taiwan stock data script that directly fetches high-frequency monthly revenue, a unique advantage.
  • Provides financial rigor tools for market cap verification, three-scenario valuation, etc.
  • Detailed rules for adjusted prices in historical analysis avoid common pitfalls.
Limitations
  • Relies on external websites (macrotrends, eastmoney, aastocks) for availability and stability; no fallback strategy for automated fetching failures is mentioned.
  • No test suite or automated test evidence; cross-validation relies on manual confirmation.
  • FinMind API has hourly rate limits; unregistered use may affect large-scale analysis.
  • Does not cover all markets (e.g., Europe, Japan), only four specific ones.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Financial Data Acquisition & Cross-Validation this page 43 · Not recommended ★ 17k 3d ago MIT
EdgarTools — SEC EDGAR Filing Analysis Skill 67 · Recommended ★ 2.8k 3d ago MIT
Global Stock Data — Full-Stack US & HK Market Data Skill 62 · Recommended ★ 1.7k 4d ago Apache-2.0
Supply Chain Bottleneck Hunter 59 · Recommended ★ 17k 3d ago MIT
StockValuation.io Local Valuation Workflow 58 · Recommended ★ 33 27d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
43/ 100 5-point scale 2.2 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust14 / 25 · 2.8/5

The skill mandates two-source cross-validation and clear labeling of data sources and discrepancies, enhancing data transparency; however, no user confirmation is required, least privilege or sandbox isolation is not declared, and tools like twstock_data.py may auto-access external APIs and handle sensitive tokens, posing privacy risks. Deducted for lack of user confirmation, permission management, and full data-flow disclosure from max 25.

2Reliability1 / 20 · 0.3/5

The skill's instructions are coherent, but key dependencies (external websites and APIs) are unverified, and tests only cover tool functions, not the skill itself, so reproducibility cannot be confirmed statically. Per static calibration cap, scored 1 (some instructional consistency but no execution evidence).

3Adaptability12 / 15 · 4.0/5

Audience (value investors) and scenarios are clear, with explicit data source priorities and boundaries (e.g., treatment of unlisted companies); however, non-fit scenarios are not defined, and external services like macrotrends and stockanalysis may be inaccessible from mainland China, impacting environment fit. Scored 12 due to partially clear boundaries and triggers.

4Convention10 / 15 · 3.3/5

MIT license present, repository has README, security policy, and evidence of changelog via test comments, but the skill itself lacks versioning, changelog, and FAQ; maintenance responsibility is unclear (no maintainer specified). Scored 10 due to clear information architecture with gaps.

5Effectiveness5 / 15 · 1.7/5

The skill describes a complete workflow and cross-validation methodology, but no example outputs or real-case evidence show task completion, and reliance on external services may render it non-functional. Scored 5 per static calibration cap, as the core idea is plausible but unverified.

6Verifiability1 / 10 · 0.5/5

Repository includes test suites and popularity signals (Trendshift badge), but tests cover only tool functions, not the skill workflow, and there is no independent execution record, so claimed reliability cannot be cross-corroborated. Scored 1 per static calibration cap, as no reproducible third-party evidence exists.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Aug 07, 2026 Reviewed revision 4ddc638fd536 Review evidence[1][2][3][4][5][6]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

What external dependencies does this skill require?
It requires Python 3 to run the tool scripts, network access to data source websites and the FinMind API, and local filesystem read/write for storing tokens and reports.
What if two sources differ by more than 5%?
The rule mandates checking the original filings (SEC EDGAR, HKEX, CNinfo, etc.), trusting them as the source of truth, and marking the source as erroneous.
Can it be used offline?
No. All data fetching depends on network access to external data sources.
Is the skill applicable to all markets?
It primarily covers US, HK, A-share, and Taiwan markets, not others. For unlisted companies, cross-validation is explicitly skipped and data must be marked as an estimate.

More skills from this repository

All from xbtlin/ai-berkshire

Finance & Investment Banking

Supply Chain Bottleneck Hunter

From megatrends to physical supply chain bottlenecks, find overlooked second- and third-tier companies that are single points of failure—with strict valuation gates.

★ 17k FS 59 Recommended 3d ago
Finance & Investment Banking

Income Investment: Durable & Opportunistic Distribution Analysis

A rigorous framework to distinguish sustainable income, opportunistic yield, and yield traps for portfolio decisions.

★ 17k FS 59 Recommended 3d ago
Finance & Investment Banking

Earnings Review: Deep Dive into Primary Sources

Read earnings reports like Buffett and Li Lu — primary sources only, no second-hand research, with actionable investment conclusions.

★ 17k FS 52 Use with care 3d ago
Finance & Investment Banking

Industry Funnel (AI Berkshire)

From whole market to 3 picks: a value-investing funnel with 5 hard criteria and four-master deep analysis.

★ 17k FS 52 Use with care 3d ago
Finance & Investment Banking

Deep Company Series (看懂XX)

A value-investing research skill that dissects one company in 3-8 long-form articles, from mindset reset to decision framework, with strict fact-checking standards.

★ 17k FS 49 Use with care 3d ago
Finance & Investment Banking

Earnings Team: Four Masters Parallel Analysis + WeChat Publishing

Read earnings with four value-investing masters in parallel, then produce a publication-ready WeChat article.

★ 17k FS 49 Use with care 3d ago
Finance & Investment Banking

Duan Yongping Q&A (dyp-ask)

Answer business, investing, and life questions as value-investor Duan Yongping — internalize his philosophy through first-person dialogue.

★ 17k FS 47 Use with care 3d ago

Related skills