Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/brainbytes-dev/everything-claude-finance/cash-flowgit clone --depth 1 https://github.com/brainbytes-dev/everything-claude-financeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/brainbytes-dev/everything-claude-finance/cash-flow)<a href="https://agentmods.dev/commands/brainbytes-dev/everything-claude-finance/cash-flow"><img src="https://agentmods.dev/badge/commands/brainbytes-dev/everything-claude-finance/cash-flow.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00012 | $0.01253 |
| Opus 5 | $0.00006 | $0.00626 |
| Sonnet 5 | $0.00002 | $0.00251 |
| Haiku 4.5 | $0.00001 | $0.00125 |
Grade A, and why
cash-flow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cash-flow — Cash Flow Analysis
What This Command Does
Performs comprehensive cash flow analysis including historical pattern identification, cash flow forecasting, working capital optimization, and liquidity planning. Supports 13-week rolling forecasts for near-term treasury management and longer-term strategic cash planning.
When to Use
- Weekly/monthly cash position reporting
- 13-week cash flow forecasting (lender covenant)
- Working capital improvement initiatives
- Liquidity stress testing
- Dividend capacity analysis
- Capex funding assessment
How It Works
- Historical Analysis: Decomposes cash flows by operating, investing, and financing activities
- Pattern Recognition: Identifies seasonality, cyclicality, and trend in cash generation
- Working Capital Drill-Down: Analyzes DSO, DIO, DPO trends and benchmarks against peers
- Forecast Construction: Builds bottom-up cash forecast from operational drivers
- Liquidity Assessment: Maps available liquidity vs. obligations and contingencies
- Stress Testing: Applies adverse scenarios to identify minimum liquidity thresholds
Example Usage
Input:
/cash-flow entity:"FreshFoods Distribution" type:forecast horizon:13-week currency:EUR
Output:
# Cash Flow Forecast — FreshFoods Distribution
## Type: 13-Week Rolling | Currency: EUR thousands | As of: 2026-03-14
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Opening Position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Item | EUR '000 |
|-------------------------|-----------|
| Cash & equivalents | 2,850 |
| Undrawn revolver | 5,000 |
| **Total liquidity** | **7,850** |
| Minimum cash policy | 1,500 |
| **Available headroom** | **6,350** |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 13-Week Forecast Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| EUR '000 | Wk1-4 | Wk5-8 | Wk9-13| Total |
|-------------------|-------|-------|-------|--------|
| Collections | 3,200 | 3,450 | 4,100 | 10,750 |
| Supplier payments | (2,800)|(3,100)|(3,500)| (9,400)|
| Payroll | (850) | (850) | (850) | (2,550)|
| Rent & utilities | (220) | (220) | (280) | (720) |
| Tax payments | (180) | — | (420) | (600) |
| Capex | (150) | (200) | (100) | (450) |
| Debt service | (320) | — | (320) | (640) |
| Other operating | (120) | (130) | (140) | (390) |
| **Net cash flow** |**(440)**|**(1,050)**|**(1,510)**|**(3,000)**|
| **Closing cash** |**2,410**|**1,360**|**(150)**| |
⚠ WARNING: Cash turns negative in Week 12 without revolver draw.
Recommended action: Draw EUR 2,000K from revolver in Week 8.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Working Capital Metrics
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Metric | Current | Target | Peer Median | Cash Impact |
|-----------------|---------|--------|-------------|-------------|
| DSO (days) | 52 | 45 | 42 | +EUR 780K |
| DIO (days) | 28 | 25 | 23 | +EUR 320K |
| DPO (days) | 38 | 42 | 45 | +EUR 440K |
| Cash Conv Cycle | 42 days | 28 days| 20 days | |
| **WC release** | | | |**+EUR 1,540K**|
Achieving target working capital would eliminate the liquidity gap.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## Stress Test
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Scenario | Min Cash | Revolver Need | Breach? |
|------------------------|----------|---------------|---------|
| Base case | (150) | EUR 2,000K | No |
| Revenue -10% | (1,225) | EUR 3,500K | No |
| Top customer default | (2,100) | EUR 4,500K | No |
| Combined stress | (3,800) | EUR 5,500K | ⚠ Yes |
Combined stress exceeds available revolver by EUR 500K.
Recommendation: Negotiate revolver increase to EUR 6M or secure
backup facility.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 123 lines · 12 tokens per session scan A 2de03213ef57
cash-flow is a command published in the GitHub repository brainbytes-dev/everything-claude-finance (5 stars, last pushed 5mo ago), licensed MIT. It adds 12 tokens to every session and 1,253 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
config
Command "config" from sdebruyn/fabric-dw-mcp-cli, covering configuration & defaults, http retry budget, sql retry budget, mcp workspace allowlist {#mcp-workspace-allowlist} and mcp server log level.
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
valuation-methods
Valuation methods analysis — multiples, DCF inputs, PEG integration, valuation assumption extraction.
scan
Scan AWS account for cost optimization.
audit-checklist
Perform an internal audit, review controls, or prepare for an external financial audit.
finops-status
Orientation — say where an opportunity or assignment sits in the five-step FinOps lifecycle and what unlocks next. Useful when a record has no active stage: an opportunity while its assignments do the work, an assignment whose plan has not been approved yet, or a rejected or archived assignment. Read-only; mutates…