Логотип Savings Goals

Savings Goals

Сообщество
JoelLewis
savings-goals

Plan and track savings for specific financial goals including retirement, education, and home purchase. Use when the user asks about required savings rates, 529 plans, retirement accumulation targets, down payment planning, or goal prioritization. Also trigger when users mention 'how much do I need to save each month', 'am I on track for retirement', 'college savings', 'safe withdrawal rate', '4% rule', 'FIRE savings rate', 'catch-up contributions', 'employer match', or ask how to balance competing savings goals.

Обзор

ИздательJoelLewis
Репозиторийfinance_skills
Название навыкаsavings-goals
Звёзды
217
Форки
37
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — JoelLewis. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Savings Goals в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/savings-goals
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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/savings-goals .claude/skills/savings-goals
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Savings Goals в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Savings Goals, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Savings Goals не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Savings Goals

Core Concepts

Required Monthly Savings

To accumulate a future value FV in n periods at rate r per period:

PMT = FV × r / [(1+r)^n - 1]

This is the sinking fund formula (future value of annuity solved for PMT).

Inflation-Adjusted Targets

Always compute goals in future (nominal) dollars:

FV_nominal = FV_today × (1 + inflation)^years

Then solve for the required savings using the nominal return, or use the real return with today's dollars.

Education Funding

  • 529 plans: tax-free growth for qualified education expenses, state tax deductions in many states
  • Current costs (2025-26, total cost of attendance, College Board Trends in College Pricing): ~$30K/year (public four-year in-state) to ~$65K/year (private nonprofit), growing ~5%/year
  • Front-loading: maximize early contributions for compound growth
  • Superfunding: 5-year gift tax averaging (contribute 5× annual exclusion at once)
  • Financial aid impact: parent-owned 529 assets are assessed at a maximum of 5.64% in the federal Student Aid Index (SAI) formula — FAFSA has used the SAI in place of the Expected Family Contribution (EFC) since the 2024-25 award year

Retirement Accumulation

  • Target nest egg: annual spending need / safe withdrawal rate
    • Example: $80K/year spending / 0.04 = $2,000,000
  • Safe withdrawal rate: traditionally 4% (Bengen rule), adjusted for fees, taxes, longevity
  • Required savings rate: depends on starting age, current savings, expected returns
  • Employer match: always capture full match — it's an immediate 50-100% return
  • Catch-up contributions: additional 401(k)/IRA contributions allowed after age 50

Down Payment Saving

  • Typical target: 20% of home price (avoids PMI)
  • Timeline: typically 2-7 years → conservative allocation (HYSA, short-term bonds)
  • Include closing costs (2-5% of purchase price) in savings target

Goal Priority Framework

Recommended priority order:

  1. Emergency fund (3-6 months expenses)
  2. Employer 401(k) match (free money)
  3. High-interest debt payoff (>6-8% rate)
  4. HSA (triple tax advantage if eligible)
  5. Max retirement accounts (401k, IRA, Roth)
  6. Education funding (529)
  7. Other goals (home, vacation, etc.)

Multiple Goal Balancing

  • Allocate savings across goals based on priority, timeline, and flexibility
  • Non-negotiable goals (retirement) take precedence over flexible goals
  • Shorter timelines need more conservative investment allocation
  • Use goal-based investing: separate sub-portfolios per goal with appropriate risk

Savings Rate Benchmarks

  • Minimum: 15% of gross income for retirement (including employer match)
  • Aggressive: 25-50%+ for early retirement / FIRE
  • Savings rate = total savings / gross income

Key Formulas

FormulaExpressionUse Case
Required savings (PMT)PMT = FV × r / [(1+r)^n - 1]Monthly savings for a goal
Future value with savingsFV = PV(1+r)^n + PMT×[(1+r)^n - 1]/rProject goal balance
Inflation adjustmentFV_real = FV_today × (1+π)^tConvert today's dollars to future
Retirement targetNest egg = annual spend / SWRSize the retirement goal
Years to goaln = ln(FV×r/PMT + 1) / ln(1+r)How long until goal is funded
Savings rateSR = total savings / gross incomeTrack savings discipline

Worked Examples

Example 1: College Savings (529)

Given: Need $200,000 in 18 years, expect 7% annual return, starting from $0 Calculate: Required monthly savings Solution:

  • Monthly rate: r = 0.07/12 = 0.005833
  • Months: n = 18 × 12 = 216
  • PMT = $200,000 × 0.005833 / [(1.005833)^216 - 1]
  • PMT = $1,166.67 / [3.5125 - 1]
  • PMT = $1,166.67 / 2.5125 = $464.34/month

Example 2: Retirement Accumulation

Given: Age 30, $50,000 currently saved, wants $2,000,000 by age 65, expects 8% annual return Calculate: Required monthly savings Solution:

  • Monthly rate: r = 0.08/12 = 0.006667; months: n = 35 × 12 = 420
  • FV of current savings (monthly compounding): $50,000 × (1.006667)^420 = $50,000 × 16.2925 = $814,627
  • Remaining needed: $2,000,000 - $814,627 = $1,185,373
  • PMT = $1,185,373 × 0.006667 / [(1.006667)^420 - 1]
  • PMT = $7,902.49 / [16.2925 - 1]
  • PMT = $7,902.49 / 15.2925 = $517/month
  • With employer match of $200/mo: personal contribution = $317/month

Common Pitfalls

  • Not inflation-adjusting future goals (college in 18 years costs much more than today)
  • Neglecting employer match — it's the highest guaranteed return available
  • Too conservative allocation for long-horizon goals (20+ years can tolerate equity risk)
  • Saving for college before adequately funding retirement (retirement has no financial aid)
  • Not revisiting savings rate as income grows (lifestyle creep absorbs raises)
  • Using average returns without considering sequence risk near goal date

Cross-References

  • time-value-of-money (core plugin): FV/PV calculations, annuity formulas
  • emergency-fund (wealth-management plugin): must be funded before other goals
  • debt-management (wealth-management plugin): high-interest debt payoff competes with savings
  • tax-efficiency (wealth-management plugin): 529 tax benefits, Roth vs traditional, HSA
  • investment-policy (wealth-management plugin): goal-based allocation aligns with IPS constraints
  • asset-allocation (wealth-management plugin): glide paths for target-date retirement savings
  • finance-psychology (wealth-management plugin): mental accounting, present bias, commitment devices
  • financial-planning-workflow (advisory-practice plugin): savings goals are key inputs to the comprehensive financial planning process
  • insurance-planning (wealth-management plugin): education and survivor-income goals feed the capital-needs calculation for life insurance sizing
  • estate-gifting (wealth-management plugin): 529 superfunding (5-year gift-tax election) lets grandparents front-load education goals within annual exclusions
  • retirement-decumulation (wealth-management plugin): the drawdown-side counterpart — safe withdrawal rates and spending rules for the nest egg accumulated here

Running the script

Run the reference implementation directly:

uv run scripts/savings_goals.py      # PEP 723 header resolves dependencies automatically
python3 scripts/savings_goals.py     # standard library only — no installs needed

A bare run prints a demo covering required monthly savings, retirement accumulation, time-to-goal, inflation adjustment, shortfall analysis, education funding, savings rate, and real returns. 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 savings_goals import SavingsGoals) rather than run standalone.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Savings Goals?

Plan and track savings for specific financial goals including retirement, education, and home purchase. Use when the user asks about required savings rates, 529 plans, retirement accumulation targets, down payment planning, or goal prioritization. Also trigger when users mention 'how much do I need to save each month', 'am I on track for retirement', 'college savings', 'safe withdrawal rate', '4% rule', 'FIRE savings rate', 'catch-up contributions', 'employer match', or ask how to balance competing savings goals.

Зачем использовать Savings Goals в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Savings Goals — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Savings Goals в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/savings-goals. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Savings Goals?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Savings Goals?

С любым количеством. В TypingMind вы можете использовать Savings Goals с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Savings Goals?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — JoelLewis. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇