Finance Ops
ericosiu/ai-marketing-skills
AI-powered financial analysis suite. An agent skill from ericosiu/ai-marketing-skills.
Reads the income statement, balance sheet and cash flow statement together to judge earnings quality, apply DuPont analysis and check 12 red-flag indicators for manipulation; Chinese text.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add HKUDS/Vibe-Trading --skill financial-statement -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/Vibe-Trading financial-statement --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/src/skills/financial-statement .claude/skills/financial-statement && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "financial-statement" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statement into .claude/skills/financial-statement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-statement", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/Vibe-Trading --skill financial-statement -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/Vibe-Trading financial-statement --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agent/src/skills/financial-statement .agents/skills/financial-statement && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "financial-statement" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statement into .agents/skills/financial-statement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-statement", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill financial-statement -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/Vibe-Trading financial-statement --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agent/src/skills/financial-statement .cursor/skills/financial-statement && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "financial-statement" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statement into .cursor/skills/financial-statement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-statement", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/Vibe-Trading.git --path agent/src/skills/financial-statement--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/Vibe-Trading --skill financial-statement -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/Vibe-Trading financial-statement --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agent/src/skills/financial-statement .gemini/skills/financial-statement && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "financial-statement" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statement into .gemini/skills/financial-statement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-statement", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/Vibe-Trading financial-statementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/Vibe-Trading --skill financial-statement -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .github/skills && cp -r skills-src/agent/src/skills/financial-statement .github/skills/financial-statement && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "financial-statement" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statement into .github/skills/financial-statement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-statement", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/Vibe-Trading --skill financial-statement -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/Vibe-Trading financial-statement --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agent/src/skills/financial-statement .opencode/skills/financial-statement && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "financial-statement" agent skill from https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/financial-statement into .opencode/skills/financial-statement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "financial-statement", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
financial-statementReads the income statement, balance sheet and cash flow statement together to judge earnings quality, apply DuPont analysis and check 12 red-flag indicators for manipulation; Chinese text.
The skill starts from how the three statements tie together: net profit flows into retained earnings, receivables reflect revenue not yet collected, and cash flow shows what was actually received. It gives key ratios with healthy ranges and warnings for each statement, and a matrix that reads the signs of operating, investing and financing cash flow to classify a company as excellent, expanding, stable, dangerous, distressed or declining. The instructions are written in Chinese.
Earnings quality is checked by comparing accruals with cash flow, using an accrual ratio and a weighted scorecard that covers cash flow to net profit, receivables growth against revenue growth, recurring profit share, operating cash flow trend and inventory turnover. A table of 12 red flags includes high cash alongside high debt, surging receivables, negative operating cash flow with positive profit and frequent auditor changes, each with a detection method and severity. A DuPont breakdown of ROE rounds out the framework.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e532650. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Three-Statement Financial Analysis loads about 1.2k tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 203 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HKUDS/Vibe-Trading at commit e532650, republished under its MIT licence (© HKUDS). 203 words, ~1,217 tokens.
.claude/skills/financial-statement/SKILL.md (or your agent's skills folder).从三张报表(利润表、资产负债表、现金流量表)的勾稽关系出发,深度分析企业盈利质量,识别财务造假信号,用杜邦分析分解盈利驱动因子。
营业收入
- 营业成本 → 毛利润(毛利率 = 毛利/营收)
- 销售费用 + 管理费用 + 研发费用 → 核心利润
+ 投资收益 + 公允价值变动 → 营业利润
+ 营业外收支 → 利润总额
- 所得税 → 净利润
- 少数股东损益 → 归母净利润关键比率:
| 比率 | 公式 | 健康范围 | 警示 |
|---|---|---|---|
| 毛利率 | 毛利/营收 | 行业差异大 | 连续3季下滑 |
| 净利率 | 净利/营收 | >10%优秀 | <0%且无改善趋势 |
| 期间费用率 | (销管研)/营收 | <30% | 逐年上升 |
| 扣非/归母 | 扣非净利/归母净利 | >80% | <50%依赖非经常 |
资产 = 负债 + 所有者权益
资产端重点:
- 货币资金: 是否受限?存贷双高?
- 应收账款: 增速是否超过营收?
- 存货: 是否积压?跌价准备够不够?
- 商誉: 并购溢价,减值风险
- 在建工程: 是否长期不转固?
负债端重点:
- 有息负债: 短期借款+长期借款+应付债券
- 应付账款: 对上游议价权
- 预收/合同负债: 对下游议价权关键比率:
| 比率 | 公式 | 健康范围 |
|---|---|---|
| 资产负债率 | 负债/资产 | 40-60%(非金融) |
| 流动比率 | 流动资产/流动负债 | 1.5-2.5 |
| 速动比率 | (流动资产-存货)/流动负债 | >1.0 |
| 有息负债率 | 有息负债/总资产 | <30% |
经营活动现金流(CFO): 做生意赚的现金
投资活动现金流(CFI): 买卖资产花的现金
筹资活动现金流(CFF): 借钱/还钱/分红
黄金公式: 净利润 ≈ CFO(长期来看)现金流质量矩阵:
| CFO | CFI | CFF | 企业状态 |
|---|---|---|---|
| + | - | - | 优秀(赚钱、投资、还债) |
| + | - | + | 扩张(赚钱、投资、借钱加速) |
| + | + | - | 稳健(赚钱、回收投资、还债) |
| - | - | + | 危险(亏钱、还在投、靠借钱活) |
| - | + | + | 困境(卖资产+借钱维持) |
| - | + | - | 衰退(卖资产还债) |
1. 利润表 → 资产负债表
净利润 → 留存收益(未分配利润增加)
应收增加 = 收入 - 实际收款
存货增加 = 采购 - 已售成本
2. 利润表 → 现金流量表
净利润 + 折旧 - 营运资本增加 ≈ 经营现金流
如果差异大 → 盈利质量存疑
3. 资产负债表 → 现金流量表
期末现金 = 期初现金 + CFO + CFI + CFF
货币资金变动 = 三个现金流之和# 验证盈利质量
accrual_ratio = (net_income - cfo) / total_assets
# accrual_ratio > 10% → 应计利润占比高,盈利质量差
# 验证收入质量
receivable_growth = accounts_receivable.pct_change(fill_method=None)
revenue_growth = revenue.pct_change(fill_method=None)
# receivable_growth > revenue_growth → 收入质量恶化
# 验证资产负债表与现金流一致性
cash_change = cash_end - cash_begin
cf_total = cfo + cfi + cff
# abs(cash_change - cf_total) > 1 → 数据有问题高质量盈利:
- CFO / 净利润 > 1.0(现金利润大于纸面利润)
- 应收账款增速 < 营收增速
- 经营现金流持续为正
低质量盈利:
- CFO / 净利润 < 0.5(大量利润没变成现金)
- 应收/营收比例持续上升
- 依赖一次性收益(投资收益、资产处置)| 指标 | 优秀(3分) | 一般(2分) | 差(1分) | 权重 |
|---|---|---|---|---|
| CFO/净利润 | >1.2 | 0.8-1.2 | <0.8 | 25% |
| 应收增速vs营收 | 应收增速更慢 | 同步 | 应收更快 | 20% |
| 扣非/归母 | >90% | 70-90% | <70% | 20% |
| 经营现金流趋势 | 连续增长 | 波动 | 下降 | 20% |
| 存货周转 | 加快 | 稳定 | 放慢 | 15% |
评分 ≥ 2.5 = 盈利质量优秀 评分 1.5-2.5 = 需要关注 评分 < 1.5 = 盈利质量差,建议回避
| # | 红旗 | 检测方法 | 严重度 |
|---|---|---|---|
| 1 | 存贷双高 | 货币资金高 + 有息负债高(同时>营收30%) | 高 |
| 2 | 应收暴增 | 应收增速 > 营收增速 × 1.5,持续2季+ | 高 |
| 3 | 存货异常 | 存货/营收比例突然上升>50% | 高 |
| 4 | 经营现金流为负 | CFO连续2年为负但净利润为正 | 高 |
| 5 | 关联交易占比高 | 关联交易/营收 > 30% | 高 |
| 6 | 频繁更换审计师 | 3年内换2次审计师 | 中 |
| 7 | 在建工程不转固 | 在建工程/固定资产 > 50%,持续3年+ | 中 |
| 8 | 预付账款异常 | 预付/营收比例突然上升 | 中 |
| 9 | 少数股东损益异常 | 少数股东损益/净利润比例波动大 | 中 |
| 10 | 审计意见 | 非标准无保留意见(保留/否定/无法表示) | 高 |
| 11 | 资本化率过高 | 研发资本化/研发总额 > 50% | 中 |
| 12 | 商誉占比高 | 商誉/净资产 > 30%,且标的业绩不达标 | 中 |
红旗数量 造假概率 建议
0-1个 低 正常投资
2-3个 中 深入调查,谨慎投资
4-5个 高 建议回避
6+个 极高 强烈回避ROE = 净利率 × 总资产周转率 × 权益乘数
ROE = (净利润/营收) × (营收/总资产) × (总资产/净资产)
盈利能力 运营效率 杠杆水平ROE = 税务负担 × 利息负担 × 营业利润率 × 资产周转率 × 权益乘数
= (净利/税前利润) × (税前利润/EBIT) × (EBIT/营收) × (营收/总资产) × (总资产/净资产)### 杜邦分析: [公司名]
| 指标 | 2024 | 2025 | 变化 | 驱动判断 |
|------|------|------|------|---------|
| ROE | 15.2% | 17.8% | +2.6% | ↑ |
| 净利率 | 8.5% | 9.2% | +0.7% | 盈利改善 ✓ |
| 资产周转率 | 0.85 | 0.88 | +0.03 | 效率提升 ✓ |
| 权益乘数 | 2.10 | 2.20 | +0.10 | 杠杆上升 ⚠️ |
结论: ROE提升主要由盈利能力改善驱动,杠杆小幅上升需关注| 行业 | 典型ROE | 驱动类型 |
|---|---|---|
| 白酒 | 25-30% | 高净利率驱动(毛利率>90%) |
| 零售 | 8-15% | 高周转驱动(薄利多销) |
| 银行 | 10-14% | 高杠杆驱动(权益乘数>10x) |
| 科技 | 12-20% | 高净利率+中等周转 |
| 地产 | 5-10% | 高杠杆但在去杠杆 |
## 财务分析: [公司名/代码]
### 三表概要
| 指标 | 2023A | 2024A | 2025E | 趋势 |
|------|-------|-------|-------|------|
| 营收(亿) | ... | ... | ... | ... |
| 净利润(亿) | ... | ... | ... | ... |
| CFO(亿) | ... | ... | ... | ... |
| 资产负债率 | ... | ... | ... | ... |
### 盈利质量评分
| 指标 | 得分 | 说明 |
|------|------|------|
| CFO/净利润 | 3/3 | 1.25, 现金回收优秀 |
| ... | ... | ... |
| **综合** | **2.7/3** | **盈利质量优秀** |
### 杜邦分解
[杜邦分析表格]
### 红旗检查
- [x] 存贷双高 → 否,货币资金合理
- [x] 应收异常 → 否,增速低于营收
- [!] 商誉占比 → 22%,接近警戒线,需关注
### 结论
...© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in agent/src/skills/financial-statement of HKUDS/Vibe-Trading.
Open the folder on GitHubat commit e532650
Three-Statement Financial Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Three-Statement Financial Analysis this skillHKUDS/Vibe-Trading | 35k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Finance Opsericosiu/ai-marketing-skills | 3.6k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Longbridge Earningshelsome/folio | 270 | 1 repos | ~2.5k | Automated safety check: Pass | None | |
| Financial Analyzinghuangjia2019/claude-code-engineering | 1.1k | — | ~474 | Automated safety check: Pass | None | |
| Earnings AnalysisWind-Alice/AliceMarket | 130 | 3 repos | ~2.2k | Automated safety check: Pass | None | |
| Buy Side Equity Research Memohaskaomni/serenity-skill | 633 | — | ~3.8k | Automated safety check: Pass | MIT |
ericosiu/ai-marketing-skills
AI-powered financial analysis suite. An agent skill from ericosiu/ai-marketing-skills.
helsome/folio
Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.
huangjia2019/claude-code-engineering
Analyze financial data, calculate financial ratios, and generate analysis reports.
Wind-Alice/AliceMarket
Create professional equity research earnings update reports (8-12 pages, 3,000-5,000 words) analyzing quarterly results for companies already under coverage.
haskaomni/serenity-skill
Generate source-backed buy-side equity research memos from a ticker, starting with investment view, target-price scenarios, SEC and IR-backed financial statement analysis, industry chain…
firecrawl/web-agent
Pulls a public company's latest 10-K or 10-Q figures and analyst consensus from SEC EDGAR and Yahoo Finance, then cross-checks the two sources.
HKUDS/Vibe-Trading
Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.
HKUDS/Vibe-Trading
Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.
HKUDS/Vibe-Trading
Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.
HKUDS/Vibe-Trading
Predicts whether a mainland China A-share company risks an ST or *ST warning after its next annual report, using financial thresholds and Sina penalty records.
HKUDS/Vibe-Trading
Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.
HKUDS/Vibe-Trading
Plans and drafts an eight-part, roughly 120k-word investigative series on one company, built around a strict fact-check pass rather than fast drafting.
Categories
Reads the income statement, balance sheet and cash flow statement together to judge earnings quality, apply DuPont analysis and check 12 red-flag indicators for manipulation; Chinese text. The skill starts from how the three statements tie together: net profit flows into retained earnings, receivables reflect revenue not yet collected, and cash flow shows what was actually received. It gives key ratios with healthy ranges and warnings for each statement, and a matrix that reads the signs of operating, investing and financing cash flow to classify a company as excellent, expanding, stable, dangerous, distressed or declining.
Three-Statement Financial Analysis fits situations like: checking whether reported profit is backed by operating cash flow; screening a company for financial manipulation red flags; breaking ROE into margin, turnover and equity multiplier with DuPont analysis; reading how the three statements reconcile with one another.
Run `npx skills add HKUDS/Vibe-Trading --skill financial-statement -a claude-code`. Or copy the skill folder (agent/src/skills/financial-statement in HKUDS/Vibe-Trading) into .claude/skills/financial-statement in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/Vibe-Trading --skill financial-statement -a codex`. Or copy the skill folder (agent/src/skills/financial-statement in HKUDS/Vibe-Trading) into .agents/skills/financial-statement in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/Vibe-Trading --skill financial-statement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/financial-statement, .gemini/skills/financial-statement, .github/skills/financial-statement and .opencode/skills/financial-statement in your project.
SKILL.md names no scripts, command-line tools or credentials: Three-Statement Financial Analysis is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Three-Statement Financial Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Three-Statement Financial Analysis: Finance Ops (ericosiu/ai-marketing-skills, 3.6k stars), Longbridge Earnings (helsome/folio, 270 stars), Financial Analyzing (huangjia2019/claude-code-engineering, 1.1k stars) and Earnings Analysis (Wind-Alice/AliceMarket, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HKUDS (a GitHub organization) maintains it in HKUDS/Vibe-Trading, which has 35,043 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 8, 2026.
Source: HKUDS/Vibe-Trading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.