Logo de Savings Goals

Savings Goals

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

Visão geral

Publicado porJoelLewis
Repositóriofinance_skills
Nome da habilidadesavings-goals
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 Savings Goals 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/savings-goals
  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/savings-goals .claude/skills/savings-goals
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Savings Goals 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 Savings Goals 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, Savings Goals 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á.

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.

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 Savings Goals faz?

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.

Por que usar Savings Goals no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Savings Goals é 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 Savings Goals no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/savings-goals. 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 Savings Goals?

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 Savings Goals?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Savings Goals 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 Savings Goals é 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 👇