emergency-fund · openaccountant — Claude Code skill: what it does, how to install
Calculates your emergency fund targets based on essential expenses and estimates the timeline to reach them. Useful for personal budget planning.
npx skills add openaccountant/skills --skill emergency-fund -a claude-codeWhat emergency-fund does
This skill analyzes essential expenses across the past three months, leaving out dining out and leisure spending. It tallies rent or mortgage payments, utilities, groceries, transit, insurance, minimal debt dues, and medical care. The agent then calculates three separate targets: a 3-month baseline, a 4-month standard, and a 6-month buffer.
To inspect account records, it relies on Wilson tools called spending_summary and transaction_search. They detect transfers to savings over the prior six months to find your average monthly savings velocity. If you operate without Wilson, you will need to export three months of bank records into a CSV file manually.
What it helps with
- calculate emergency reserve targets for 3, 4, or 6 months
- sum up essential monthly living costs from past transactions
- project the timeline to reach target savings at current rates
- spot non-essential spending categories to speed up savings
Example prompts for the agent
- Calculate my emergency fund target from the last 3 months of spending
- Estimate how many months I need to reach my 6-month emergency reserve
- Review my baseline living expenses and generate a savings progress report
How to install emergency-fund
1Skills CLI (Vercel)
npx skills add openaccountant/skills --skill emergency-fund -a claude-code2Manually: put the files in place
~/.claude/skills/emergency-fund/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/emergency-fund/
1Skills CLI (Vercel)
npx skills add openaccountant/skills --skill emergency-fund -a codex2Manually: put the files in place
.agents/skills/emergency-fund/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add openaccountant/skills --skill emergency-fund -a cursor2Manually: put the files in place
.cursor/skills/emergency-fund/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install openaccountant/skills emergency-fund2Manually: put the files in place
.github/skills/emergency-fund/SKILL.md1Skills CLI (Vercel)
npx skills add openaccountant/skills --skill emergency-fund -a gemini-cli2Platform CLI
gemini skills install https://github.com/openaccountant/skills --path personal/emergency-fundManually: put the files in place
.devin/skills/emergency-fund/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add openaccountant/skills --skill emergency-fund -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about emergency-fund
How to install emergency-fund in Claude Code?
Run npx skills add openaccountant/skills --skill emergency-fund -a claude-code. You can also place the configuration file directly at ~/.claude/skills/emergency-fund/SKILL.md.
What does emergency-fund do?
It sums up your mandatory monthly living costs and sets targets for 3, 4, and 6 months. By checking your current deposit pace, it reports how long you need to hit each threshold.
Can I use emergency-fund without Wilson tools?
Yes. The workflow includes steps for exporting three months of bank transactions to a CSV file so the agent can filter essential categories manually.
Source text
SKILL.md · MIT
--- name: emergency-fund description: > Calculate emergency fund target and track savings progress toward it. --- # Emergency Fund Calculator ## Overview Calculates your emergency fund target based on 3-6 months of essential expenses, tracks your current savings progress, estimates how long it will take to reach your goal at your current savings rate, and suggests ways to accelerate funding. ## Wilson Tools Used - `spending_summary` — calculate average monthly essential expenses to set the fund target - `transaction_search` — find savings deposits and current savings activity ## Workflow 1. Run `spending_summary` for the last 3 months to get average monthly spending by category. 2. Identify essential expense categories: Housing/Rent, Utilities, Groceries, Transportation, Insurance, Minimum Debt Payments, Healthcare. Sum these to get your monthly essential expenses. 3. Calculate emergency fund targets: - **Minimum (3 months):** monthly essentials x 3 - **Standard (4 months):** monthly essentials x 4 - **Comfortable (6 months):** monthly essentials x 6 4. Run `transaction_search` with `query: "savings OR emergency fund OR transfer to savings"` and `months: 6` to find savings deposits. 5. Calculate your average monthly savings deposit amount from the results. 6. Ask the user for their current emergency fund balance. 7. Calculate months to reach each target: `(target - current balance) / average monthly savings deposit`. 8. Present a progress report: ``` Monthly Essential Expenses: $X,XXX Current Emergency Fund: $X,XXX Target Amount Gap Months to Goal ───────── ──────── ──────── ────────────── 3-month $X,XXX $X,XXX X months 4-month $X,XXX $X,XXX X months 6-month $X,XXX $X,XXX X months Progress: [████████░░░░░░░░░░░░] 42% ``` 9. If the savings rate is low, suggest categories from the spending summary where cuts could accelerate the timeline. ## Without Wilson 1. Export 3 months of bank transactions as CSV. 2. In a spreadsheet, categorize each transaction and filter to essential categories only: rent/mortgage, utilities (electric, gas, water, internet), groceries, transportation (gas, transit passes), insurance premiums, minimum loan payments, and healthcare. 3. Sum essential expenses for each month, then average: `=AVERAGE(B2:B4)` across 3 months. 4. Multiply the average by 3, 4, and 6 for your targets. 5. Check your savings account balance (log into your bank). 6. Calculate how much you saved last month: look at transfers from checking to savings, or compare beginning and ending savings balances on your statement. 7. Divide the gap (`target - current balance`) by your monthly savings amount. 8. To accelerate: review your spending summary for non-essential categories. Common cuts — dining out, subscriptions, shopping — can be redirected to savings. 9. Set up automatic transfers: most banks allow recurring transfers from checking to savings (Settings > Transfers > Recurring). ## Important Notes - Essential expenses only — do not include dining out, entertainment, or shopping in your emergency fund calculation. You would cut those in an actual emergency. - If you are self-employed or have irregular income, target 6 months minimum. - Keep emergency funds in a high-yield savings account (currently 4-5% APY), not invested in stocks. - If you have high-interest debt (above 8% APR), consider a starter $1,000 emergency fund while focusing on debt payoff, then build to 3-6 months after.
© openaccountant · MIT · openaccountant/skills
Similar skills
All skills for Finance and business →emergency-fund by other authors comes first.