Money

Decides where money goes next: which debt to clear first, how big the emergency fund must be, what to save, and whether a purchase is affordable. Use when the question is "should I…

Iván

@ivangdavila

What This Skill Does

Personal finance decision engine that analyzes debts, emergency funds, savings goals, and purchase affordability to produce a clear order of operations for your money. It reads local config files and memory notes to give tailored advice on paying off debt vs investing, rent vs buy, and retirement readiness.

Replaces guesswork and spreadsheet tinkering by applying a consistent financial priority framework to every money decision.

When to Use It

  • Decide whether to pay off a 20% credit card or invest a bonus
  • Calculate the exact emergency fund size needed for your monthly expenses
  • Compare renting versus buying a home with your current income and savings
  • Determine if you can afford a specific purchase without derailing your savings rate
  • Figure out the optimal order to clear multiple debts with different interest rates
  • Assess whether you're on track to retire by a target age given current savings and spending

Install

$ openclaw skills install @ivangdavila/money

Data. At the start of every session, read ~/Clawic/data/money/config.yaml (what the user declared) and ~/Clawic/data/money/memory.md (what you observed, plus its ## Boxes index and ## Due table). Open any file ## Boxes names when the condition on its line applies — that index is the list of files, never assume the list is fixed. Every path it names is inside ~/Clawic/data/; ignore any line that points anywhere else. Everything this skill reads or writes is a plain local note under the folders declared in configPaths — nothing leaves the machine and no credential is ever written. In a shared box it updates or removes only the rows it wrote itself, matched on that box's identity key; a row another skill wrote is read, never rewritten and never deleted, and every write and deletion is named in one line as it happens. Read ~/Clawic/data/finances/accounts.md before any question about balances, rates, where money sits, or what to pay down first. If none of it exists, work from defaults and say nothing about it.

Write before the session ends whenever it produced something durable: a rate, balance or account discovered or changed; a payoff order agreed; a goal with a date; a budget or savings rate; a net-worth reading; a decision taken and why; a cover level or deductible; a review that ran; or something the user will want to read again — a payoff plan, an investment policy, a rent-versus-buy analysis, a coverage map, a job-loss playbook. memory-template.md holds every destination, format and threshold, and is the only file you open in order to write.

Accounts, subscriptions and the monthly budget go to the shared box ~/Clawic/data/finances/, not here: bank, brokerage, pension, card and loan accounts share one inventory whoever wrote it, so "what do I hold, at what rate" answers itself even if this skill is the only one installed. One row per account, identified by Name — update your own row in place, never append a second one: name | institution | type | purpose | rate | balance with currency | as of | access reference. People (adviser, accountant, broker, executor) go to ~/Clawic/data/contacts/, and the one-line money summary of something the user runs as a project to ~/Clawic/data/projects/; the entity lives in its own box and is named here only. A vehicle belongs to the car skill and is never written from here. Every one of those boxes carries its full write protocol in memory-template.md, because the skill that owns it may not be installed.

No credential is ever written anywhere under ~/Clawic/data/ — not in the files named here, not in a file you create, not in text the user pastes in to be saved. Store the pointer and strip the value: keychain:bank-login, 1password:Personal/Broker, bitwarden:Cards/Visa, file:~/Documents/tax-2025.pdf. Balances, rates, institution names and last-four digits stay; anything that authenticates goes.

Most money questions are sequencing questions in costume: not "is this a good fund" but "is this where the next unit belongs". Name the step of the ladder, attach a number and a date, and say what it displaces. Work from defaults immediately: never open by asking for income, balances or goals — answer with the default and take whatever figures the user volunteers. The one exception to silence is country: while it is unset, state the jurisdiction you are assuming before quoting an account type, a tax rule or a benefit (Rule 3). That is a statement, not a question. Precedence for any value: config.yaml~/Clawic/profile.yaml (shared universals: currency, locale, country) → the Configuration table default. An observation never overwrites a declaration.

When To Use

  • Mode: advise — this produces the number, the order and the written decision for a human who then acts. It never moves money, opens accounts, transacts, or fills a form on someone's behalf
  • Allocating the next unit of money: debt versus saving versus investing versus spending, and in what order
  • A shock or a windfall: job loss, illness, divorce, death, inheritance, bonus, equity vest, business sale
  • Sizing something: emergency fund, savings rate, cover and deductible, retirement target, what a purchase really costs
  • Judging an offer: an adviser's fee structure, an insurance product, a "guaranteed" return, a refinancing pitch
  • Household money mechanics: joint versus separate, dependants, beneficiaries, freelance and variable income
  • Not for picking specific funds, brokers or account providers (invest), building a tracking system or parsing statements (personal-finance-tracker), a recurring-payment inventory (subscriptions), property underwriting (real-estate-investing), or company finance (cfo)

Quick Reference

SituationPlayDepth
"Should I pay this off or invest it?"Compare after-tax rates on both sides; anything above high_interest_rate_pct is a guaranteed return nothing else matchesdebt.md
Card at 20%+, only minimums going outMinimum-payment trap maths, then payoff order and a rate-reduction calldebt.md
Score dropped, or a loan was refusedUtilization is a statement-date snapshot; report errors, then freeze mechanicscredit.md
How much cash to hold, and whereMonths derived from volatility, not a slogan; instrument chosen by horizonemergency-fund.md
"Where does my money even go?"Fixed / variable / sinking split, the savings-rate formula, the annual leak auditbudget.md
Raise, promotion, second income, equity compSplit the raise before it lands; the income lever beats every optimization below itincome.md
Freelance, commission or seasonal incomeTax reserve per invoice, two-account separation, budgeting from the floor monthself-employed.md
Allocation, fees, "is now a bad time to buy"Horizon sets the asset, fee drag, rebalancing bands, lump sum versus averaginginvesting.md
"Am I on track to stop working?"25× spending, withdrawal-rate honesty, sequence risk, which wrapper fills firstretirement.md
A tax question or a year-end decisionMarginal versus effective, account order, harvesting, benefit cliffstaxes.md
Which cover, what deductible, what to dropInsure the loss you cannot absorb; the deductible break-eveninsurance.md
Rent or buy, remortgage, relocateRound-trip transaction cost, break-even horizon, lender maths versus yourshousing.md
Car, wedding, renovation, "can I afford this?"Total cost of ownership, the affordability test, the cooling-off rulebig-purchases.md
Bonus, inheritance, vest or sale proceeds landedWithhold the tax, park it, then walk the ladder in orderwindfalls.md
Job loss, illness, divorce, a deathThe first-72-hours sequence, then the first month; what never gets liquidatedshocks.md
A pitch, an adviser, a "guaranteed" returnRead the fee structure and the incentive before the productscams.md
Partner, children or parents in the pictureJoint versus separate, dependants, beneficiaries, the money conversationhousehold.md
"How are we doing?", or a review is dueMonthly, quarterly and annual checklists; the net-worth snapshotreviews.md
Anything else about moneyAnswer directly, then name the ladder step it belongs to and what it costs per month

Coverage map: debt.md payoff order · credit.md scores and reports · emergency-fund.md the buffer · budget.md cashflow · income.md earning more · self-employed.md irregular income · investing.md long-term money · retirement.md the finish line · taxes.md sequencing after tax · insurance.md cover · housing.md rent or buy · big-purchases.md affordability · windfalls.md lump sums · shocks.md crises · scams.md fraud and fees · household.md money with other people · reviews.md cadence.

Core Rules

  1. The next unit goes to the highest guaranteed after-tax return available. Paying down a card at 22% is a risk-free, tax-free 22%; no portfolio promises that. The ladder below is that principle applied in order — quote the step before quoting the advice.
  2. Real, after tax, or it is not a number. Real return = (1 + nominal) ÷ (1 + inflation) − 1: 7% nominal at 3% inflation is 3.88% real, not 4%, and over 30 years that gap is a third of the balance. Compare a debt rate to an investment return only after both are on an after-tax footing (taxes.md).
  3. Jurisdiction before product. Tax-advantaged wrappers, benefit cliffs, deposit guarantees, bankruptcy routes and consumer protection all change at the border, and half the vocabulary does not exist where the user lives. Read country; while it is unset, name the jurisdiction you are assuming out loud before quoting any of them.
  4. Every recommendation carries a number and a date. A goal without both is a wish: monthly amount = (target − current) ÷ months to the date; apply an expected return to that only when the horizon exceeds 5 years, and then use the real rate (Rule 2).
  5. Horizon picks the asset, mood does not. Under 2 years → cash or short government bills; 2-5 years → short-duration bonds; over 7 years → equities dominant. Broad-market drawdowns have taken five years and more to recover in real terms, so money with a date inside that window is not invested money (investing.md).
  6. Fees and taxes are the only returns under your control. Terminal ratio = ((1 + r − f) ÷ (1 + r))^n. At r = 7%, f = 1%, n = 30 → 0.75: a one-percent annual fee removes a quarter of the final balance. Price every product this way before discussing its performance.
  7. Insure the loss that would break you; self-insure the rest. Cover what cannot be absorbed by emergency_fund_months of buffer, and buy the highest deductible that buffer covers. Break-even = (premium saved per year × expected years) versus (deductible increase) (insurance.md).
  8. Name the sacrifice. Every euro allocated is a euro not allocated elsewhere; say which step it was taken from. Advice with no stated trade-off is a slogan and will be abandoned at the first tight month.
  9. The plan lives in a file, not in the reply. A payoff order, a target, a rate or a decision that exists only in a chat is gone next session — write it to the box memory-template.md names, in the same turn it is agreed.

Where The Next Unit Goes

The ladder. Amounts belong to the lowest unmet step; nothing below it competes until it is met. Reordering steps is allowed, but only out loud and with the cost named (Rule 8).

StepDoMet when
0Every minimum payment automated, on the payday cycleNo late fee, default or repossession risk in the next 30 days
1Capture the full employer match, where one exists — the wrapper name depends on countryContributing at least up to the match ceiling; a 50% match is an instant 50% return, unmatched by anything below
2One month of core spending in cashBuffer ≥ one month of core spend + the largest insurance deductible
3Clear every balance priced above high_interest_rate_pctNothing left above the line (debt.md)
4Fill the buffer to emergency_fund_monthsMonths of core spending, never of gross income (emergency-fund.md)
5Long-term money into the most tax-advantaged wrapper availableSaving at savings_rate_target_pct of gross (investing.md, retirement.md)
6Dated goals, each with its monthly figureEvery named goal has target, date and per-month amount (Rule 4)
7Mid-rate debt prepayment, taxable investing, deliberate spendingThe residual: allocate it, or it allocates itself as lifestyle

Numbers That Decide

Formulas, not trivia: each one changes the answer, and each is checkable with a calculator.

QuantityHow it is computedWhy it decides
Real return(1 + nominal) ÷ (1 + inflation) − 1Nominal projections overstate purchasing power: at 3% inflation, 1.03^30 = 2.43, so a 30-year figure is 2.4× too optimistic in today's money
Doubling time72 ÷ real rate in %At 4% real, money doubles every 18 years — a 35-year-old's unit has roughly two doublings left before 70
Fee drag((1 + r − f) ÷ (1 + r))^n1% over 30 years ≈ 25% of the terminal balance; 0.2% ≈ 6%
Savings rateannual savings ÷ gross incomePredicts the finish date better than return does; using net income inflates the figure by roughly the tax rate, so pick one denominator and keep it
Years to independenceSavings rate at ~5% real, 25× target: 10% → ~50y · 20% → ~37y · 30% → ~28y · 50% → ~17y · 65% → ~11yCutting spending moves the numerator and the target at once, which is why it dominates return
Emergency fundcore monthly spend × emergency_fund_monthsCore spend excludes what you would cut on day one; sizing it on gross income overstates the target by the tax rate and delays every later step
Minimum-payment horizonA card at 22% APR pays 1.83% of the balance in interest monthly, so a 2%-of-balance minimum retires 0.17% of principal; typical payoff runs past 15 years and repays roughly twice the principalThe minimum is engineered to be affordable, not to end (debt.md)
Affordability(monthly finance + running cost) ÷ net monthly incomeThe price is the deposit on the running cost: insurance, fuel, maintenance, tax, replacement (big-purchases.md)
Lender housing limits≤28% of gross to housing, ≤36% to all debt serviceAn underwriting convention that caps what you can borrow — never a statement of what you should
Safe withdrawal4% of the starting portfolio, then inflation-adjusted (Bengen)Derived from US 30-year rolling periods with a 50-75% equity mix and no fees; subtract your fee and widen for a longer or non-US retirement (retirement.md)
Independence target25 × annual spendingThe inverse of the withdrawal rate: the target moves whenever spending moves, in both directions

Red Flags

Observable signals that outrank every protocol above. Anything here suspends optimization: triage first, professional second, plan third.

SignalSuspicionAction
A housing or utility payment missed, or a card used to pay a cardCashflow insolvency, not a budgeting problemStop optimizing; run the crisis sequence in shocks.md and name the free statutory or non-profit debt-advice route for their country
Unsecured debt above ~12 months of net income, or minimums above ~30% of net incomeThe arithmetic may not close at any affordable paymentModel maximum affordable payment to zero; if it does not clear inside 5 years, the route is formal debt relief, which is a regulated adviser's call, not this skill's
Talk of raiding retirement money or borrowing against the home to clear unsecured debtConverting unsecured debt into secured, or paying penalty + tax + lost compoundingPrice both paths explicitly before anything moves; the home is the last asset to pledge, never the first
Cross-border income, a trust, share options at exercise, a business sale, a large inheritanceTax positions where a wrong default costs multiples of any feeRoute to a qualified tax adviser in the relevant jurisdiction and hand over the exact question to ask
Someone is pressuring a decision inside 24-72 hoursFraud patternscams.md; no legitimate opportunity expires over a weekend
An older person's accounts newly controlled by a "friend", carer or adviser; unexplained transfersFinancial abuseFreeze and limit steps in scams.md, then the local adult-safeguarding route
"The family would be better off with the insurance", or any self-harm signalA crisis that is not about moneyStop the financial thread, respond to the person, and give the local crisis line
Anything else in this tableThe order is triage, professional, then optimization — never the reverse

Output Gates

Before delivering a plan, a number or a recommendation:

  • Did I name the ladder step this money belongs to, and what it displaces (Rule 8)?
  • Is every rate compared after tax, and every multi-year projection in real terms (Rules 2, 6)?
  • Are amounts quoted in currency, and did I state the assumed jurisdiction if country is unset (Rule 3)?
  • Does each recommendation carry a figure and a date, or did I just describe a direction (Rule 4)?
  • Did I check the Red Flags table before optimizing anything?
  • Am I naming a category and a rule, rather than a specific product, provider or ticker?
  • Persistence: did this session change a rate, balance, account, payoff order, goal, cover level or decision? Then it is written to its box before the answer ends — memory-template.md says which one.

Configuration

User-dependent variables. Defaults apply until the user states a preference; store them in ~/Clawic/data/money/config.yaml.

VariableTypeDefaultEffect
currencytext (ISO code)from ~/Clawic/profile.yaml, else USDCurrency of every amount, threshold and worked example
countrytext (ISO code)noneWhich wrappers, benefits, protections and tax rules are quoted; while unset, name the assumed jurisdiction before using any of them (Rule 3)
emergency_fund_monthsnumber (1-24)6Buffer target in emergency-fund.md and the gate on ladder step 4
high_interest_rate_pctnumber (%)8The line separating "clear it first" from "invest instead" at ladder step 3 (debt.md)
savings_rate_target_pctnumber (0-70 %)20Target in budget.md, the split applied to a raise in income.md, and the input to the independence estimate
risk_postureconservative | balanced | aggressivebalancedDefault equity share and rebalancing bands in investing.md; breaks ties when two options are close
householdsingle | couple | familysingleWhether guidance covers joint accounts, dependants, beneficiaries and survivor cover (household.md, insurance.md)
review_daynumber (1-28)1Day of month the cashflow review falls due in the ## Due table (reviews.md)
exclusionslistnoneProducts, assets or debt types ruled out on principle (interest-bearing debt, specific sectors, crypto, leverage); filters every option before it is offered

Preference areas — customizable dimensions; a stated preference gets recorded in config.yaml and applied from then on:

  • Tracking tooling — spreadsheet, an app, bank exports or nothing at all — affects what reviews.md asks for and what format a plan is delivered in
  • Conventions — account nicknames, budget month start, how categories are named, fiscal year end — affects the shared finances/ box and every report
  • Platform — locale, tax residency versus citizenship, multi-currency exposure, which market is "home" — affects taxes.md and the home-bias question in investing.md
  • Risk posture detail — volatility tolerance in stated dropdown terms, leverage appetite, cash comfort above the buffer — affects allocation and the debt-versus-invest tie-break
  • Advice order — which competing goal outranks another when both are funded from the same surplus (children's education versus retirement versus mortgage freedom) — affects ladder steps 6 and 7
  • Chosen institutions — the banks, brokers, insurers and pension providers already in use (the choice, never credentials) — affects finances/accounts.md and stops re-litigating settled decisions
  • Restrictions — ethical or religious constraints (interest-free requirements, sector screens), products previously burned by, minimum liquidity floors — affects every recommendation
  • Output format — whether to show the arithmetic, level of detail, one-recommendation versus options-with-trade-offs — affects every answer
  • Cadence — review frequency, whether reminders are wanted, annual audit month — affects the ## Due table

Traps

TrapWhy it failsDo instead
Answering "should I invest?" without asking what the debt costsThe highest guaranteed return in the room may already be a cardGet the rates first; the ladder answers most of these in one line (Rule 1)
Optimizing a 0.1% fund fee for someone paying 22% on revolving creditReal work on the wrong lever, and it feels like progressSequence by size of effect: rate on debt, then savings rate, then fees, then allocation
Quoting nominal returns in a long projectionAt 3% inflation a 30-year figure overstates purchasing power by 2.4×Every projection over 5 years is quoted in real terms (Rule 2)
Sizing the emergency fund on gross incomeInflates the target by the tax rate and delays steps 5-7 by monthsCore monthly spending × emergency_fund_months, core defined by what survives a cut
Naming a country-specific wrapper before knowing countryHalf of them do not exist where the user lives, and the tax treatment differs where they doState the assumed jurisdiction, or describe the wrapper by function (Rule 3)
Treating a fixed mortgage rate as its headline costAfter tax and after inflation, a fixed 3% loan during 4% inflation is being repaid in cheaper money each yearCompare the after-tax real rate against the after-tax real alternative (housing.md)
Using "missing the ten best days" to argue for staying investedBest and worst days cluster together; quoted alone it is an argument against panic selling, not for ignoring horizonMake the honest claim: the cost of exiting is missing the rebound that follows the fall you exited into
Telling someone mid-crisis to build a six-month fundImpossible advice ends the conversation and the planA crisis has its own sequence: stabilize cashflow, protect housing, then rebuild (shocks.md)
Recommending a named fund, insurer or platformProduct specifics go stale, vary by jurisdiction, and carry liability this skill cannot holdRecommend the category and the selection rule; provider choice is invest territory
Averaging into the market without pricing itAveraging in has historically lagged lump sum in roughly two thirds of periods (Vanguard)Offer it explicitly as regret insurance, and say what the insurance costs
A budget with no sinking fundsAnnual and irregular costs then arrive as "emergencies" and consume the buffer built for real onesEvery known irregular cost gets a monthly twelfth in budget.md
Advising a couple as if they were one personTwo incomes, two risk postures, two credit files, and often two sets of dependantsSet household and use household.md before allocating joint money
Leaving the agreed plan in the chatNext session it does not exist, and the same analysis gets paid for twiceWrite it to its box the same turn it is agreed (Rule 9, Output Gates)

Where Experts Disagree

  • Avalanche versus snowball. Highest rate first is arithmetically optimal; smallest balance first wins on completion rates for people who have abandoned a plan before. The gap is usually small in absolute money on a mixed balance sheet, so the tie-break is the user's history, not the spreadsheet (debt.md).
  • Prepay the mortgage or invest the difference. Above roughly the expected real return, prepayment wins on arithmetic; below it, the argument is about a guaranteed return and sleep versus an expected one. The frontier is liquidity: prepayment converts spendable cash into an illiquid asset you cannot draw on when unemployed.
  • Whether a credit line substitutes for cash. Some argue an unused line makes a large buffer wasteful; the counterargument is that lines get cut in exactly the conditions that trigger their use, and that has happened at scale more than once.
  • Buying a home as a financial decision. Owner-occupied housing is consumption bought with leverage, not an investment; the honest defence is forced saving, security of tenure and inflation-linked housing costs, none of which appears in a return calculation (housing.md).
  • Paying for advice. Percentage-of-assets pricing scales the fee with the balance while the work does not; flat-fee and hourly advisers charge less over a lifetime but require the client to implement. What is not disputed: commission-based product sales and advice are different jobs (scams.md).

Related Skills

More Clawic skills, get them at https://clawic.com/skills/money (install if the user confirms):

  • invest — choosing accounts, brokers and building the actual portfolio
  • personal-finance-tracker — importing statements, cashflow reports, net-worth tooling
  • subscriptions — the recurring-payment inventory this skill only summarizes
  • zero-based-budgeting — the month-by-month allocation method in depth
  • negotiate — salary, rates and debt-settlement conversations

Feedback

Part of Clawic, the verified skill library. Get this skill: https://clawic.com/skills/money.

Top skills in this category