Cash Flow Forecasting logo

Cash Flow Forecasting

Community
vivy-yi
cash-flow-forecasting

现金流预测 — 滚动预测未来 1-3 个月现金流,识别资金缺口和融资需求。 适用情形:每月固定时间(如月末)执行,从 [ERP]/[OA]/[BK] 获取数据, 预测未来 1-3 个月资金流入和流出,识别资金缺口,输出融资计划建议。 核心:滚动预测模型 + 乐观/基准/悲观三情景 + 缺口时间点定位。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill namecash-flow-forecasting
Stars
43
Forks
13
Bundled files
Instructions only
LicenseMIT
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 vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Cash Flow Forecasting 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/vivy-yi/finance-skills/tree/master/finance-skills/skills/cash-management/skills/cash-flow-forecasting
  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/vivy-yi/finance-skills.git /tmp/finance-skills
mkdir -p .claude/skills
cp -r /tmp/finance-skills/finance-skills/skills/cash-management/skills/cash-flow-forecasting .claude/skills/cash-flow-forecasting
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cash Flow Forecasting 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 Cash Flow Forecasting 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 Cash Flow Forecasting 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.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(资金计划周期/融资配置/银行授信)。


/cash-flow-forecasting — 现金流预测

Examples

→ 示例:用户说"帮我预测一下未来 3 个月的现金流,看有没有资金缺口",系统应调用本技能,执行 3 个月现金流预测。

→ 示例:用户说"下个月有大笔债务到期,帮我看看账户里的钱够不够还",系统应调用本技能,评估到期债务的资金覆盖能力。

→ 示例:用户说"供应商说我们付款越来越慢,帮我们预测一下改善现金流的时间点",系统应调用本技能,结合付款政策变化预测现金流改善。

预测方法说明

滚动预测:每月更新,滚动预测未来 3 个月
情景分析:乐观/基准/悲观三情景
数据来源:历史数据 + 当月实际 + 下月计划 + 已知大额进出

第一步:收集基础数据

从 [ERP] 获取历史数据(过去 3 个月):

□ 月均收入:[XXX万]
□ 月均支出:[XXX万]
□ 月均净流量:[XXX万]
□ 收入波动性:[X%](标准差/均值)
□ 支出波动性:[X%]

从 [ERP]/[OA] 获取已知大额进出:

□ 已确定大额支出(未来 3 个月):
  - 银行贷款到期:[XXX万] — [月份]
  - 供应商大额付款:[XXX万] — [月份]
  - 税款缴纳:[XXX万] — [月份]

□ 已确定大额收入(未来 3 个月):
  - 大客户回款:[XXX万] — [月份]
  - 融资到账:[XXX万] — [月份]
  - 其他确定收入:[XXX万] — [月份]

从 [BK] 获取预算数据:

□ 下月预算支出:[XXX万]
□ 下月预算收入:[XXX万]
□ 下月预算净流量:[XXX万]

第二步:构建预测模型

基准情景(最可能发生):

| 月份 | 期初余额 | 预期流入 | 预期流出 | 净流量 | 期末余额 | |------|-------|---------|---------|--------|--------|---------| | 月1 | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | | 月2 | [接上月] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | | 月3 | [接上月] | [XXX万] | [XXX万] | [XXX万] | [XXX万] |

乐观情景(收入高于预期/支出低于预期):

| 月份 | 期初余额 | 乐观流入 | 乐观流出 | 净流量 | 期末余额 | |------|-------|---------|---------|--------|--------|---------| | 月1 | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | | 月2 | [接上月] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | | 月3 | [接上月] | [XXX万] | [XXX万] | [XXX万] | [XXX万] |

悲观情景(收入低于预期/支出高于预期):

| 月份 | 期初余额 | 悲观流入 | 悲观流出 | 净流量 | 期末余额 | |------|-------|---------|---------|--------|--------|---------| | 月1 | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | | 月2 | [接上月] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | | 月3 | [接上月] | [XXX万] | [XXX万] | [XXX万] | [XXX万] |


第三步:识别资金缺口

缺口时间点分析:

□ 基准情景:

  第一个缺口月份:[月份]
  缺口金额:[XXX万]
  持续时间:[X] 个月
  累计最大缺口:[XXX万]

□ 悲观情景:

  第一个缺口月份:[月份]
  缺口金额:[XXX万]
  持续时间:[X] 个月
  累计最大缺口:[XXX万]

□ 乐观情景:

  是否出现缺口:[是/否]
  → 如有,描述:[...]

缺口原因分析:

□ 季节性因素:
  - [描述,如:春节前付款集中]

□ 大额固定支出:
  - 银行贷款到期:[月份] — [XXX万]
  - 税款缴纳:[月份] — [XXX万]
  - [其他大额支出]

□ 收入延迟风险:
  - 大客户回款可能延迟:[客户名称]
  - 可能延迟金额:[XXX万]
  - 延迟概率:[X%]

第四步:融资需求评估

融资缺口规模:

□ 基准情景融资需求:[XXX万]
□ 悲观情景融资需求:[XXX万]
□ 建议融资规模(保守):[XXX万]

融资来源评估:

| 融资来源 | 可用额度 | 预计到位 | 成本 | 适用情景 | |---------|---------|---------|------|------|---------| | 银行流贷 | [XXX万] | [X]天 | [X%/年] | 基准/悲观 | | 银行承兑 | [XXX万] | [X]天 | [X%/年] | 基准/悲观 | | 现有授信 | [XXX万] | 立即 | — | 乐观 |

融资时间安排:

□ 须在 [月份] 前启动融资申请
□ 融资金额建议:[XXX万]
□ 融资类型建议:[流贷/银承/组合]
□ 建议银行:[银行名称]

第五步:生成现金流预测报告

═══════════════════════════════════════
现金流滚动预测报告
预测周期:[YYYY-MM 至 YYYY+MM]
编制日期:[YYYY-MM-DD]
═══════════════════════════════════════

【当前资金状况】

□ 当前账户余额合计:[XXX万]
□ 月均运营资金需求:[XXX万]
□ 可支撑运营月数:[X] 个月

【三情景预测】

1. 乐观情景(收入+20%/支出-10%):

月份 | 期初余额 | 流入 | 流出 | 净流量 | 期末余额
-----|---------|------|------|-------|--------
[月1] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]
[月2] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]
[月3] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]

2. 基准情景(最可能):

月份 | 期初余额 | 流入 | 流出 | 净流量 | 期末余额
-----|---------|------|------|-------|--------
[月1] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]
[月2] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]
[月3] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]

3. 悲观情景(收入-20%/支出+10%):

月份 | 期初余额 | 流入 | 流出 | 净流量 | 期末余额
-----|---------|------|-------|-------|--------
[月1] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]
[月2] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]
[月3] | [XXX万] | [XXX万] | [XXX万] | [XXX万] | [XXX万]

【缺口分析】

□ 乐观情景缺口:[无/有 — XXX万 — 月份]
□ 基准情景缺口:[无/有 — XXX万 — 月份]
□ 悲观情景缺口:[无/有 — XXX万 — 月份]

第一个资金缺口:
  - 时间:[月份]
  - 金额:[XXX万]
  - 情景:[乐观/基准/悲观]
  - 原因:[...]

【融资计划建议】

□ 建议融资规模:[XXX万](保守估算)
□ 最低融资规模:[XXX万](仅覆盖悲观情景)

融资来源:
□ 银行流动资金贷款:[XXX万]
  - 建议银行:[银行名称]
  - 预计利率:[X%]
  - 预计到位:[X] 个工作日

□ 银行承兑汇票:[XXX万]
  - 适用于:大额供应商付款
  - 成本:[X%]

□ 使用现有授信:[XXX万]
  - 须立即启用

【风险管理建议】

□ 加速催收应收款:
  - 目标客户:[客户名称]
  - 目标金额:[XXX万]
  - 预计回款:[日期]

□ 协商延后大额支出:
  - 目标供应商:[供应商名称]
  - 延后金额:[XXX万]
  - 延后至:[日期]

□ 备用融资渠道:
  - 备用银行:[银行名称]
  - 备用额度:[XXX万]

【下月更新计划】

□ 下月重新预测日期:[YYYY-MM-DD]
□ 下月关注事项:
  - [大客户回款情况]
  - [银行贷款到期]
  - [融资申请进度]

═══════════════════════════════════════
编制人:[资金专员/资金主管]
审核人:[资金主管/财务经理]
下次更新:[YYYY-MM-DD]
═══════════════════════════════════════

升级触发条件

  • 悲观情景出现资金缺口 > [填空:如 200 万]
  • 基准情景连续 2 个月出现缺口
  • 须新增融资 > [填空:如 500 万]
  • 银行授信额度不足覆盖缺口

Finance Skills — cash-flow-forecasting atomic skill

Frequently asked questions

What does the Cash Flow Forecasting AI skill do?

现金流预测 — 滚动预测未来 1-3 个月现金流,识别资金缺口和融资需求。 适用情形:每月固定时间(如月末)执行,从 [ERP]/[OA]/[BK] 获取数据, 预测未来 1-3 个月资金流入和流出,识别资金缺口,输出融资计划建议。 核心:滚动预测模型 + 乐观/基准/悲观三情景 + 缺口时间点定位。

Why use Cash Flow Forecasting on TypingMind?

Because you install it once and use it with any model. Cash Flow Forecasting 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 Cash Flow Forecasting in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/cash-management/skills/cash-flow-forecasting. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cash Flow Forecasting?

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 Cash Flow Forecasting?

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

Is the Cash Flow Forecasting AI skill free?

Yes. It is published on GitHub by vivy-yi under the MIT 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 👇