Liquidity Management logo

Liquidity Management

Community
JoelLewis
liquidity-management

Plan and manage cash flow to ensure adequate liquidity while minimizing opportunity cost of excess cash. Use when the user asks about cash flow forecasting, CD or bond laddering, liquidity tiers, income smoothing for variable earners, or sweep strategies. Also trigger when users mention 'T-bill ladder', 'where to park cash', 'irregular income budgeting', 'freelancer cash management', 'lumpy expenses', 'liquidity ratio', 'how much cash to hold', or ask how to plan for large upcoming expenses.

Overview

PublisherJoelLewis
Repositoryfinance_skills
Skill nameliquidity-management
Stars
217
Forks
37
Bundled files
1
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.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by JoelLewis on GitHub. Read the source before you install it.

Installation

Install the Liquidity Management 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/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/liquidity-management
  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/JoelLewis/finance_skills.git /tmp/finance_skills
mkdir -p .claude/skills
cp -r /tmp/finance_skills/plugins/wealth-management/skills/liquidity-management .claude/skills/liquidity-management
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Liquidity Management 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 Liquidity Management 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 Liquidity Management 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.

Liquidity Management

Core Concepts

Cash Flow Forecasting

Project income and expenses monthly for 12+ months:

  • Income sources: salary, business income, investment income, rental income, side gigs
  • Fixed expenses: mortgage/rent, insurance, subscriptions, loan payments
  • Variable expenses: food, utilities, discretionary spending
  • Periodic lumpy expenses: property taxes, insurance premiums, tuition, estimated taxes
  • Net cash flow: income - expenses per period → identifies surplus/deficit months

Income Smoothing (Variable Earners)

For commission, freelance, seasonal, or bonus-heavy income:

  • Compute trailing 12-month average income as "base salary equivalent"
  • Budget based on base amount, not peak months
  • Buffer surplus months into a smoothing reserve (separate from emergency fund)
  • Target smoothing reserve: 2-3 months of base expenses
  • Draw from reserve in below-average months

Liquidity Tiers

Classify investable assets by time to access:

TierAccess TimeExamplesTypical Yield
Tier 1 — ImmediateSame dayChecking and savings at your primary bank, money market fundsLow
Tier 2 — Short-term1-3 business daysHigh-yield savings at an online bank, brokerage sweep cash, T-bills, bond funds and bond ETFsModerate
Tier 3 — Medium-term1-4 weeks (or penalty cost)CDs (early-withdrawal penalty), I-bonds (after 1-year lockup)Moderate-High
Tier 4 — Long-term30+ daysReal estate, PE/VC, locked alternatives, retirement accounts (pre-59½)Highest

Tier notes:

  • Tier 1 vs Tier 2 savings: the distinction is transfer time, not product type. A savings account at your primary bank offers same-day access (Tier 1); a high-yield savings account at an online bank typically requires a 1-3 business day ACH transfer to reach your checking account (Tier 2).
  • Bond funds and bond ETFs: both settle T+1 (the US moved to T+1 settlement in May 2024 for equities, ETFs, and mutual funds), so sale proceeds are available in roughly 1-3 business days including transfer to a bank. They belong in Tier 2 for access time — though, unlike deposits, the sale price is subject to market risk.

CD Laddering

Stagger CD maturities for regular access + higher yields:

  • Example: $60K split into 6 CDs maturing every 2 months
  • As each CD matures: either use the cash or reinvest at the longest rung
  • Benefit: captures term premium while maintaining periodic liquidity
  • Variant: 3/6/9/12-month ladder, renewing each at 12 months

Bond Laddering

Similar concept with Treasury or corporate bonds:

  • Annual maturities across 1-5 or 1-10 years
  • Provides predictable cash flows and interest rate diversification
  • Rungs mature and are reinvested at prevailing rates (automatic rate averaging)

T-Bill Ladder

Short-duration, high-liquidity ladder:

  • 4/8/13/26-week T-bills rolling continuously
  • Purchased at Treasury Direct or through brokerage
  • State tax exempt (federal only)
  • Highly liquid: can sell on secondary market before maturity

Liquidity Metrics

  • Liquidity ratio: liquid assets / monthly expenses (target ≥ 3-6)
  • Cash reserve ratio: cash + near-cash / total portfolio
  • Current ratio (business): current assets / current liabilities (target > 1.5)
  • Quick ratio (business): (current assets - inventory) / current liabilities

Seasonal and Tax Planning

  • Estimated taxes: quarterly for self-employed (Q1: Apr 15, Q2: Jun 15, Q3: Sep 15, Q4: Jan 15)
  • Property taxes: typically semi-annual — reserve monthly for escrow-like smoothing
  • Holiday/vacation: set aside monthly into dedicated sub-account
  • Annual expenses: insurance premiums, memberships → amortize monthly

Margin of Safety

Maintain buffer above minimum liquidity requirements:

  • Income uncertainty → larger buffer
  • Known upcoming large expenses → pre-fund 2-3 months early
  • Market correlation: income and portfolio may both decline in recession

Key Formulas

FormulaExpressionUse Case
Liquidity ratioLiquid assets / monthly expensesAdequacy check
Net cash flowΣ income - Σ expensesMonthly surplus/deficit
CD ladder yieldWeighted average of rung yieldsBlended return on ladder
Smoothing reserveBase monthly expenses × 2-3Buffer for variable income
Breakeven penaltyCD early withdrawal penalty / (CD rate - savings rate)Whether to break CD

Worked Examples

Example 1: CD Ladder Construction

Given: $60,000 to deploy, want liquidity every 2 months, 12-month CDs yielding 4.8% Calculate: Ladder structure and blended yield Solution:

  • Split into 6 equal CDs of $10,000 each
  • Stagger maturities: 2, 4, 6, 8, 10, 12 months
  • Initial yields may vary by term: 2mo=4.2%, 4mo=4.4%, 6mo=4.5%, 8mo=4.6%, 10mo=4.7%, 12mo=4.8%
  • Blended yield ≈ average = 4.53%
  • Every 2 months one CD matures → reinvest at 12-month rate (4.8%) or use funds
  • After full cycle (12 months), all CDs are 12-month earning 4.8%

Example 2: Variable Income Smoothing

Given: Freelancer with monthly income ranging $3,000-$15,000, average $8,000. Monthly expenses $5,500. Calculate: Base budget and smoothing reserve target Solution:

  • Base budget: $5,500/month (essential expenses)
  • Average monthly surplus: $8,000 - $5,500 = $2,500
  • Smoothing reserve target: $5,500 × 3 = $16,500
  • In months earning >$8K: direct excess to smoothing reserve until funded
  • In months earning <$5.5K: draw from smoothing reserve
  • Once reserve is funded, excess above $8K goes to savings/investment goals

Common Pitfalls

  • Illiquidity surprise: needing cash when assets are locked in alternatives or retirement accounts
  • Penalty drag from breaking CDs frequently (defeats the purpose of laddering)
  • Over-optimizing yield at the expense of access (yield chasing in illiquid instruments)
  • Not planning for estimated tax payments (large quarterly cash needs for self-employed)
  • Ignoring correlation between income loss and market decline (both happen in recessions)
  • Treating credit lines as liquidity (they can be revoked when most needed)

Cross-References

  • emergency-fund (wealth-management plugin): first tier of liquidity, must be funded before optimizing
  • lending (wealth-management plugin): margin loans, HELOCs as backup liquidity (with risks)
  • time-value-of-money (core plugin): CD/bond pricing, yield calculations
  • debt-management (wealth-management plugin): debt payments are fixed cash flow obligations
  • savings-goals (wealth-management plugin): multiple goals compete for available cash flow
  • tax-efficiency (wealth-management plugin): estimated taxes, tax-loss harvesting timing
  • fixed-income-sovereign (wealth-management plugin): T-bill ladder mechanics, Treasury Direct
  • financial-planning-workflow (advisory-practice plugin): cash flow tier structure informs the liquidity analysis in comprehensive financial plans
  • equity-compensation (wealth-management plugin): option exercise costs, RSU withholding gaps, and AMT bills create planned liquidity needs in vest and exercise years

Running the script

Run the reference implementation directly:

uv run scripts/liquidity_management.py     # PEP 723 header resolves dependencies automatically
python3 scripts/liquidity_management.py    # after: pip install numpy scipy

A bare run prints a demo covering liquidity ratios, a 12-month cash flow projection, cash runway, liquidity tier analysis, CD ladder construction, income smoothing, and CD breakeven analysis. Use --verify to recompute the demo figures and assert they match this skill's worked examples (prints PASS/FAIL, exits nonzero on mismatch), and --help to list the available classes and functions. The file is primarily meant to be imported as a module (from liquidity_management import LiquidityManagement) rather than run standalone.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Liquidity Management AI skill do?

Plan and manage cash flow to ensure adequate liquidity while minimizing opportunity cost of excess cash. Use when the user asks about cash flow forecasting, CD or bond laddering, liquidity tiers, income smoothing for variable earners, or sweep strategies. Also trigger when users mention 'T-bill ladder', 'where to park cash', 'irregular income budgeting', 'freelancer cash management', 'lumpy expenses', 'liquidity ratio', 'how much cash to hold', or ask how to plan for large upcoming expenses.

Why use Liquidity Management on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/liquidity-management. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Liquidity Management?

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 Liquidity Management?

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

Is the Liquidity Management AI skill free?

Yes. It is published on GitHub by JoelLewis 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 👇