Finance Compareのロゴ

Finance Compare

コミュニティ
zubair-trabzada
finance-compare

Side-by-side comparison of two financial scenarios (buy vs rent, new job vs stay, payoff house vs invest, Roth vs Traditional, lease vs buy car, etc). Projects each scenario over 10 years, compares total cost, opportunity cost, risk profile, and produces a structured recommendation. Output saved as FINANCE-COMPARE.md.

Add to TypingMind

概要

公開者zubair-trabzada
リポジトリai-finance-claude
スキル名finance-compare
スター
84
フォーク
20
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    zubair-trabzadaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Finance Compare」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/zubair-trabzada/ai-finance-claude/tree/main/skills/finance-compare
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zubair-trabzada/ai-finance-claude.git /tmp/ai-finance-claude
mkdir -p .claude/skills
cp -r /tmp/ai-finance-claude/skills/finance-compare .claude/skills/finance-compare
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFinance Compareを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFinance Compareを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Finance Compareは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

/finance compare — Side-by-Side Scenario Comparison

DISCLAIMER: For educational/informational purposes only. Not financial advice.

Purpose

Help the user make better financial decisions by modeling two paths side-by-side over a 10-year horizon. Surfaces total cost, opportunity cost, risk, and a clear recommendation with reasoning.

When To Trigger

  • User types /finance compare <scenario1> <scenario2>
  • User asks "should I X or Y?" where both are financial choices
  • User is weighing a major decision: housing, job, debt, investing, retirement vehicle, vehicle purchase, education

Supported Scenario Pairs

The skill handles any two financial paths. Common pairs:

DecisionScenario AScenario B
HousingBuy homeContinue renting
CareerTake new job ($X salary)Stay current job
Debt strategyPay off mortgage earlyInvest the extra cash
Retirement vehicleRoth IRATraditional IRA / 401k
VehicleBuy new carLease
VehicleBuy used cashFinance new
EducationGraduate degreeStay working
GeographicMove to lower-cost cityStay in current city
BusinessW-2 employmentSelf-employment / 1099
InvestingPay down debtInvest in index funds

Required Inputs

Ask the user to specify:

  1. The two scenarios (one sentence each)
  2. Time horizon (default 10 years; some decisions warrant 20-30)
  3. Key financial assumptions per scenario:
    • Initial cost / down payment
    • Recurring monthly cost
    • Expected appreciation/return rate
    • Tax treatment
    • End-state value (if applicable: home equity, vehicle value, account balance)
  4. User's marginal tax rate (for tax-aware comparisons)
  5. User's discount rate (default: 7% — long-run S&P 500 real return)

If user doesn't know assumptions, use reasonable defaults and label them clearly:

  • Home appreciation: 3.5%/yr
  • Rent inflation: 3%/yr
  • Stock market real return: 7%/yr
  • Bond real return: 2%/yr
  • Inflation: 3%/yr
  • Mortgage rate: current market (ask user or use 7% as 2026 default)
  • Property tax: 1.1% of home value/yr
  • Maintenance: 1% of home value/yr
  • Insurance: 0.5% of home value/yr

Calculation Framework

For each scenario, compute year-by-year:

  1. Cash outflow — All money leaving (down payment, monthly costs, taxes)
  2. Cash inflow / equity buildup — Principal paydown, appreciation, investment returns
  3. Net worth impact — End-state value minus cumulative cash spent
  4. Opportunity cost — What would the cash outflows have earned if invested at 7%?

Total Cost (10-year)

total_cost = sum(annual_cash_outflow) - end_state_asset_value

Opportunity Cost

opportunity_cost = FV(monthly_diff, 7%, 10yr) where monthly_diff = scenario_A_cost - scenario_B_cost

Risk Profile

Score each scenario 1-10 on:

  • Liquidity risk — Can you get your money out?
  • Concentration risk — Is too much net worth tied up here?
  • Income/job risk — Does it require stable employment?
  • Market risk — Sensitive to interest rates, housing market, equity market?
  • Reversibility — Can you undo this decision easily?

Output Format

Save to FINANCE-COMPARE.md in current working directory.

markdown
# Financial Scenario Comparison

**Decision:** [One-sentence framing]
**Time Horizon:** [X] years
**Generated:** [Date]

> **DISCLAIMER:** For educational/informational purposes only. Not financial advice.

---

## Executive Summary

**Recommendation:** [Scenario A or B] — [one-sentence reason]
**Confidence:** [High / Medium / Low]
**Key Driver:** [The single number that tips the decision]

## Scenario A: [Name]

**Assumptions:**
- [List each assumption with value]

**10-Year Projection:**
| Year | Cash Out | Equity/Value | Cumulative Net |
|------|----------|--------------|----------------|
| 1    | $X       | $Y           | $Z             |
| 5    | $X       | $Y           | $Z             |
| 10   | $X       | $Y           | $Z             |

**Total Cost (10yr):** $X
**End-State Value:** $Y
**Net Position:** $Z

## Scenario B: [Name]

[Same structure as A]

## Side-by-Side

| Metric | Scenario A | Scenario B | Winner |
|--------|------------|------------|--------|
| Total Cost (10yr) | $X | $X | A/B |
| End-State Value | $X | $X | A/B |
| Net Position (10yr) | $X | $X | A/B |
| Monthly Cash Flow | $X | $X | A/B |
| Opportunity Cost | $X | $X | A/B |
| Tax Drag (annual) | $X | $X | A/B |
| Liquidity (1-10) | X | X | A/B |
| Concentration Risk | X | X | A/B |
| Reversibility | X | X | A/B |

## Opportunity Cost Analysis

If the higher-cost scenario costs $X more per month, investing that difference at 7% real return over 10 years would compound to **$Y**.

That is the true cost of choosing [scenario].

## Risk Profile

**Scenario A Risks:**
- [Specific risk + magnitude]
- [Specific risk + magnitude]

**Scenario B Risks:**
- [Specific risk + magnitude]
- [Specific risk + magnitude]

## Break-Even Analysis

Scenario A becomes cheaper than B at **year [N]** if [assumption holds].
Scenario A becomes WORSE than B if [trigger condition].

## Sensitivity Analysis

What changes the answer?

| If This Changes | Recommendation Flips To |
|-----------------|-------------------------|
| Stock returns < 4%/yr | [Scenario] |
| Home appreciation < 2%/yr | [Scenario] |
| You move within 5 years | [Scenario] |
| Tax bracket changes | [Scenario] |

## Recommendation

**Choose [Scenario A or B].**

**Reasoning:**
1. [Primary reason with number]
2. [Secondary reason]
3. [Tie-breaker]

**Caveats:**
- [What would change this]
- [Personal preference factor]

## Action Steps This Week

1. [Specific concrete action]
2. [Specific concrete action]
3. [Specific concrete action]

---

**DISCLAIMER:** For educational/informational purposes only. Not financial advice. Consult a licensed financial advisor, CPA, or tax professional before making major financial decisions. All projections rely on assumptions that may not hold. Past performance does not guarantee future results.

Common Pitfalls To Avoid

  • Don't ignore taxes — Roth vs Traditional flips entirely on future vs current tax rate
  • Don't ignore transaction costs — Buying a home incurs ~6% selling fees later
  • Don't double-count appreciation — If you assume 7% returns, don't also assume 7% home appreciation (housing is closer to 3-4% long run)
  • Don't ignore behavioral factors — Forced savings via mortgage may beat "invest the difference" if user won't actually invest it
  • Don't assume linear costs — Cars depreciate non-linearly; homes have lumpy maintenance

Scenario-Specific Templates

Buy vs Rent

Track: mortgage P&I, property tax, insurance, maintenance, opportunity cost of down payment, vs rent + investing the down payment. Key flip: years lived in home. Under 5 years usually favors rent.

Pay Off Mortgage vs Invest

Compare: mortgage APR (after tax deduction) vs expected market return. If mortgage is 7% and expected return is 7%, the guaranteed return wins.

Roth vs Traditional

Compare: current marginal tax rate vs expected retirement tax rate. Higher now → Traditional. Lower now → Roth.

New Job vs Stay

Factor: salary delta, equity comp, retirement match, benefits cost difference, commute, career trajectory.

DISCLAIMER: For educational/informational purposes only. Not financial advice.

よくある質問

AIスキル「Finance Compare」では何ができますか?

Side-by-side comparison of two financial scenarios (buy vs rent, new job vs stay, payoff house vs invest, Roth vs Traditional, lease vs buy car, etc). Projects each scenario over 10 years, compares total cost, opportunity cost, risk profile, and produces a structured recommendation. Output saved as FINANCE-COMPARE.md.

TypingMindでFinance Compareを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Finance Compareはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFinance Compareをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/zubair-trabzada/ai-finance-claude/tree/main/skills/finance-compareを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Finance Compareを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Finance Compareで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFinance Compareを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Finance Compare」は無料ですか?

zubair-trabzadaがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇