Logo de Liquidity Management

Liquidity Management

Comunidade
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.

Visão geral

Publicado porJoelLewis
Repositóriofinance_skills
Nome da habilidadeliquidity-management
Estrelas
217
Forks
37
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por JoelLewis no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Liquidity Management no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/liquidity-management
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Liquidity Management em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Liquidity Management automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Liquidity Management não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Liquidity Management faz?

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.

Por que usar Liquidity Management no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Liquidity Management é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Liquidity Management no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/liquidity-management. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Liquidity Management?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Liquidity Management?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Liquidity Management com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Liquidity Management é gratuita?

Sim. A habilidade é publicada no GitHub por JoelLewis sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇