Agent skill

A Share Cash Flow

by aifinlab in aifinlab/FinClaw

A股现金流分析/自由现金流质量评估。当用户说"现金流"、"自由现金流"、"FCF"、"cash flow"、"经营现金流"、"XX的现金流怎么样"、"收现比"、"净现比"、"资本开支"、"现金流量表"、"现金流分析"、"现金流质量"时触发。MUST USE when user asks about cash flow analysis, free cash flow (FCF)…

Apache-2.0Auto-check passed

Install A Share Cash Flow

skills CLI
$ npx skills add aifinlab/FinClaw --skill a-share-cash-flow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aifinlab/FinClaw a-share-cash-flow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/a-share-cash-flow .claude/skills/a-share-cash-flow && rm -rf skills-src

Use ~/.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/

Facts

Skill name
a-share-cash-flow
GitHub stars
255
Token cost
~641 tokens
SKILL.md length
169 words
Files
2 (incl. references)
Skills in repo
74
Repo updated
First seen
Licence
Apache-2.0

At a glance

A股现金流分析/自由现金流质量评估。当用户说"现金流"、"自由现金流"、"FCF"、"cash flow"、"经营现金流"、"XX的现金流怎么样"、"收现比"、"净现比"、"资本开支"、"现金流量表"、"现金流分析"、"现金流质量"时触发。MUST USE when user asks about cash flow analysis, free cash flow (FCF)…

  • Works in 5 steps: 数据收集 → 经营现金流分析 → 投资现金流分析 → …
  • User asks about cash flow analysis
  • SKILL.md covers 重要:数据时效性, 数据源, Workflow and 风格说明, plus 2 more sections
  • Calls python

What it does

A Share Cash Flow is an agent skill from aifinlab/FinClaw. A股现金流分析/自由现金流质量评估。当用户说"现金流"、"自由现金流"、"FCF"、"cash flow"、"经营现金流"、"XX的现金流怎么样"、"收现比"、"净现比"、"资本开支"、"现金流量表"、"现金流分析"、"现金流质量"时触发。MUST USE when user asks about cash flow analysis, free cash flow (FCF), operating cash flow quality, or cash conversion ratio. 深度分析企业三大现金流(经营/投资/筹资)质量,计算自由现金流,评估盈利含金量和资本配置效率。支持研报风格(formal)和快速分析风格(brief)。

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/cash-flow-guide.md`).

The licence is Apache-2.0.

When your agent uses it

  • User asks about cash flow analysis
  • Free cash flow (FCF)
  • Operating cash flow quality
  • Cash conversion ratio

Example prompts

  • “cash flow”
  • “XX的现金流怎么样”
  • “/a-share-cash-flow”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 数据收集
  2. 经营现金流分析
  3. 投资现金流分析
  4. 自由现金流计算与质量评估
  5. 报告生成

What it can do on your machine

Read from SKILL.md and the folder at commit 9e62862. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

A Share Cash Flow loads about 641 tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 169 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~641
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.7k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 169 words, ~641 tokens.

Download SKILL.mdSave it as .claude/skills/a-share-cash-flow/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
a-share-cash-flow
description
A股现金流分析/自由现金流质量评估。当用户说"现金流"、"自由现金流"、"FCF"、"cash flow"、"经营现金流"、"XX的现金流怎么样"、"收现比"、"净现比"、"资本开支"、"现金流量表"、"现金流分析"、"现金流质量"时触发。MUST USE when user asks about cash flow analysis, free cash flow (FCF), operating cash flow quality, or cash conversion ratio. 深度分析企业三大现金流(经营/投资/筹资)质量,计算自由现金流,评估盈利含金量和资本配置效率。支持研报风格(formal)和快速分析风格(brief)。

A 股现金流分析

重要:数据时效性

训练数据中的财务数据已过期。 每次执行时必须:

  1. 通过 cn-stock-data 获取最新财务指标
  2. 通过 web 搜索确认最新财报发布日期和现金流相关披露
  3. 如果搜索不到最新财报,明确告知用户"未找到最新XX季/年报",不要用旧数据编造

数据源

必需数据(通过 cn-stock-data)
bash
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"

# 财务指标(含现金流量表核心字段)
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]

# 近 2 年日线行情(分析股价走势 vs 现金流趋势)
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [2年前日期]

# 实时行情(当前市值,用于计算 FCF Yield)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
补充数据(通过 web 搜索)
  • 搜索 "[公司名] 资本开支 计划" 获取 capex guidance
  • 搜索 "[公司名] 分红 政策 股息" 获取分红/回购信息
  • 搜索 "[公司名] 现金流 分析" 获取券商/媒体对现金流的点评
  • 搜索 "[公司名] 应收账款 存货" 获取营运资本变动线索

Workflow

详见 references/cash-flow-guide.md 的分析框架和判断标准。

Phase 1: 数据收集
  • 运行 cn-stock-data 获取近 4-8 期财务数据(至少覆盖 2 个完整财年)
  • Web 搜索资本开支计划、分红政策、现金流相关公告
  • 确认数据完整性,缺失部分标注"数据暂缺"
Phase 2: 经营现金流分析

参见 references/cash-flow-guide.md 的指标解读规则。

  • 收现比 = 销售商品收到的现金 / 营业收入(>1 为优,说明回款好)
  • 净现比 = 经营活动现金流净额 / 净利润(>1 为优,说明利润含金量高)
  • 经营现金流趋势:是否持续增长,是否与净利润同向变动
  • 营运资本变动:应收/存货/应付对经营现金流的影响
Phase 3: 投资现金流分析
  • 资本开支(购建固定资产+无形资产支出):占营收比例、增长趋势
  • 并购支出:取得子公司支付的现金
  • 资产处置:处置固定资产/子公司收到的现金
  • 投资收益:是否依赖理财/投资收益美化利润
Phase 4: 自由现金流计算与质量评估
  • FCF = 经营活动现金流净额 - 资本开支
  • FCF Yield = FCF / 市值(与国债收益率比较)
  • FCF 趋势:近 4-8 期是否持续为正、是否增长
  • FCF 转化率 = FCF / 净利润(衡量利润最终能变成多少真金白银)
  • 筹资现金流:分红/回购 vs 借债/增发,资本配置是否合理
Phase 5: 报告生成

根据用户风格要求选择输出格式。

  • formal: 完整现金流分析报告(6-10 页)
  • brief: Markdown 快速分析(1-2 页)
  • 默认风格: brief

风格说明

维度formal(研报风格)brief(快速分析)
篇幅6-10 页 .docx1-2 页 Markdown
标题"公司名现金流质量深度分析""XX 现金流速评"
结构核心结论→经营CF分析→投资CF分析→FCF评估→资本配置→风险提示→附表关键指标→现金流画像→FCF→风险点
图表4-6 个(三大CF趋势、收现比/净现比、FCF、capex占比)关键数据表 1 个
引用必须标注数据来源可省略
免责声明需要不需要

QC 验证

  • 所有现金流数字必须与 cn-stock-data 返回一致
  • 收现比/净现比/FCF 计算必须手动复核
  • 不允许出现"预计"、"大约"等模糊表述(除引用分析师观点外)
  • 关注现金流与利润背离的情况,必须给出解释
  • 行业特征必须纳入考量(重资产 vs 轻资产,周期 vs 消费)

使用示例

示例 1: 基本使用
python
# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})
示例 2: 命令行使用
bash
python scripts/run_skill.py --input data.json

© aifinlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/a-share-cash-flow of aifinlab/FinClaw.

  • SKILL.md
  • references/cash-flow-guide.md

Open the folder on GitHubat commit 9e62862

Compare with similar skills

A Share Cash Flow 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.

A Share Cash Flow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
A Share Cash Flow this skillaifinlab/FinClaw255—~641Automated safety check: PassApache-2.0
ShareClickHouse/ClickHouse50k—~558Automated safety check: NotesApache-2.0
Developing Share PagesTriliumNext/Trilium38k—~3.7kAutomated safety check: PassAGPL-3.0
SharingBuilderIO/agent-native7.1k—~3.4kAutomated safety check: PassNone
Petty Cash Managementsickn33/agentic-awesome-skills47k1 repos~5.7kAutomated safety check: PassMIT
Deslop Shared Libsgarrytan/gstack136k—~3.3kAutomated safety check: NotesMIT

Similar skills

  • Share

    ClickHouse/ClickHouse

    Share a Claude Code session to pastila.nl and return a viewer link.

    50k GitHub stars~558 tokensUpdated today
    DatabasesAuto-check: notes
  • Developing Share Pages

    TriliumNext/Trilium

    A skill your agent uses when working on Trilium's share functionality — shared pages under /share/, the static HTML (share-theme) export, the share theme package (packages/share-theme: EJS…

    38k GitHub stars~3.7k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Sharing

    BuilderIO/agent-native

    Framework-level sharing and privacy for user-authored resources (dashboards, documents, forms, decks, etc.).

    7.1k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Petty Cash Management

    sickn33/agentic-awesome-skills

    Petty cash register: entry number, date and type, payee and purpose, cash in and out, running balance, cash limit flag, custodian, physical count and variance.

    47k GitHub starsUsed in 1 repo~5.7k tokens
    Auto-check passed
  • Deslop Shared Libs

    garrytan/gstack

    Find worthwhile shared-code extractions in recent work. An agent skill from garrytan/gstack.

    136k GitHub stars~3.3k tokensUpdated today
    Writing & ContentAuto-check: notes
  • Skill Share

    davila7/claude-code-templates

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    33k GitHub starsUsed in 10 repos~729 tokens
    Agent WorkflowsAuto-check passed

More from aifinlab/FinClaw

All 74 skills in this repo
  • Bank Corporate Credit Dd

    aifinlab/FinClaw

    A skill your agent uses when the user asks for help with corporate credit due diligence, enterprise credit investigation, pre-loan review, borrower analysis, document collection, management…

    255 GitHub stars~952 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate-risk monitoring assistant for enterprise litigation/penalty/enforcement scanning (处罚/诉讼/被执行/失信等).

    255 GitHub stars~751 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate client operating-volatility monitoring assistant (经营监测/指标波动/预警解释).

    255 GitHub stars~605 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank post-loan visit follow-up assistant to turn visit notes/materials into a structured memo (摘要/关键更新/风险观察/用途核验/行动项).

    255 GitHub stars~544 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate credit issue-list assistant (问题清单/补件清单/催办台账).

    255 GitHub stars~487 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when you need a bank corporate credit approval-opinion drafting assistant (审批意见/条款建议/有条件同意).

    255 GitHub stars~549 tokensUpdated 5 mo ago
    Auto-check passed

Questions about A Share Cash Flow

What does A Share Cash Flow do?

A股现金流分析/自由现金流质量评估。当用户说"现金流"、"自由现金流"、"FCF"、"cash flow"、"经营现金流"、"XX的现金流怎么样"、"收现比"、"净现比"、"资本开支"、"现金流量表"、"现金流分析"、"现金流质量"时触发。MUST USE when user asks about cash flow analysis, free cash flow (FCF)…. A Share Cash Flow is an agent skill from aifinlab/FinClaw. A股现金流分析/自由现金流质量评估。当用户说"现金流"、"自由现金流"、"FCF"、"cash flow"、"经营现金流"、"XX的现金流怎么样"、"收现比"、"净现比"、"资本开支"、"现金流量表"、"现金流分析"、"现金流质量"时触发。MUST USE when user asks about cash flow analysis, free cash flow (FCF), operating cash flow quality, or cash conversion ratio.

When should I use A Share Cash Flow?

A Share Cash Flow fits situations like: user asks about cash flow analysis; free cash flow (FCF); operating cash flow quality; cash conversion ratio.

How do I install A Share Cash Flow in Claude Code?

Run `npx skills add aifinlab/FinClaw --skill a-share-cash-flow -a claude-code`. Or copy the skill folder (skills/a-share-cash-flow in aifinlab/FinClaw) into .claude/skills/a-share-cash-flow in your project. Claude Code loads it when a task matches its description.

How do I install A Share Cash Flow in Codex?

Run `npx skills add aifinlab/FinClaw --skill a-share-cash-flow -a codex`. Or copy the skill folder (skills/a-share-cash-flow in aifinlab/FinClaw) into .agents/skills/a-share-cash-flow in your project. Codex loads it when a task matches its description.

Can I use A Share Cash Flow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aifinlab/FinClaw --skill a-share-cash-flow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a-share-cash-flow, .gemini/skills/a-share-cash-flow, .github/skills/a-share-cash-flow and .opencode/skills/a-share-cash-flow in your project.

What does A Share Cash Flow need to run?

Going by SKILL.md and its folder, A Share Cash Flow needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does A Share Cash Flow access the network?

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.

Is A Share Cash Flow safe to install?

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.

What licence does A Share Cash Flow use?

A Share Cash Flow is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does A Share Cash Flow use?

About 641 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to A Share Cash Flow?

Skills that share tags, products or a category with A Share Cash Flow: Share (ClickHouse/ClickHouse, 50k stars), Developing Share Pages (TriliumNext/Trilium, 38k stars), Sharing (BuilderIO/agent-native, 7.1k stars) and Petty Cash Management (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains A Share Cash Flow?

aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 255 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on May 13, 2026.

Source: aifinlab/FinClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.