Car buying analysis

From FerroxLabs/murage · View interactive version

Car buying analysis is an AI agent skill from the GitHub repository FerroxLabs/murage. Evaluates buying vs. leasing vs. financing a vehicle by computing total cost of ownership for each option. Factors in depreciation, insurance, maintenance, fuel, opportunity cost, and financing charges. Produces a side-by-side comparison using numbers the user provides from their actual options. Use

How to use this skill

Skill file

Car Buying Analysis

Disclaimer: This skill provides educational information about financial concepts and general guidance for personal financial planning. It does NOT constitute financial advice, investment recommendations, or tax guidance. Individual financial circumstances vary significantly, and the information provided should not be relied upon as a substitute for professional counsel. Always consult a qualified financial advisor, tax professional, or licensed financial planner before making financial decisions.

When to Use

Use this skill when:

Do NOT use this skill when:

Process

  1. Identify the user's vehicle options. Collect:
  1. Calculate purchase costs (Buy option). Break down the total cost:

Upfront Costs:

Financing Costs (if financed):

```

Monthly payment = Loan amount * [r(1+r)^n] / [(1+r)^n - 1]

Total interest = (Monthly payment * n) - Loan amount

```

Where r = monthly rate, n = number of months

Ongoing Costs (annual, multiplied by ownership years):

Depreciation:

  1. Calculate lease costs (Lease option). Break down the total cost:

Lease Payments:

Additional Lease Costs:

Ongoing Costs (same categories as buy):

At Lease End:

  1. Build the total cost of ownership comparison. For the same time period:

```

Total Cost of Ownership =

Depreciation (or lease payments + fees)

```

Express as:

  1. Calculate the opportunity cost. The difference in upfront costs between options could be invested:
  1. Present the decision factors beyond cost. Cost is not the only consideration:

| Factor | Buy (New) | Buy (Used) | Lease |

|--------|-----------|-----------|-------|

| Equity | Builds equity | Builds equity | No equity |

| Customization | Full freedom | Full freedom | Restricted |

| Mileage | No limit | No limit | Limited by contract |

| Maintenance | Owner's responsibility | Owner's responsibility | Often under warranty |

| Commitment | Long-term | Long-term | Term-based, can switch |

| Monthly payment | Typically highest | Lower than new | Often lowest |

| End of term | Own the vehicle | Own the vehicle | Return or purchase |

  1. Produce the comparison summary.

Output Format

## Vehicle Cost Comparison

### Options Being Compared
| Detail | Option A: [Buy/Lease] | Option B: [Buy/Lease] |
|--------|----------------------|----------------------|
| Vehicle | [year make model] | [year make model] |
| Price / Lease payment | $[amount] | $[amount/mo] |
| Down payment | $[amount] | $[amount] |
| Term | [months] months | [months] months |
| Interest rate / Money factor | [rate]% | [rate/factor] |
| Annual mileage | [miles] | [miles (limit: X)] |

### Total Cost of Ownership ([X]-Year Comparison)

| Cost Category | Option A | Option B |
|---------------|--------:|--------:|
| Purchase price / Total lease payments | $[amount] | $[amount] |
| Sales tax | $[amount] | $[included or amount] |
| Registration and fees | $[amount] | $[amount] |
| Financing interest | $[amount] | $[N/A or amount] |
| Insurance ([X] years) | $[amount] | $[amount] |
| Fuel ([X] years) | $[amount] | $[amount] |
| Maintenance ([X] years) | $[amount] | $[amount] |
| Lease-end fees | N/A | $[amount] |
| Excess mileage charges | N/A | $[amount or N/A] |
| **Subtotal costs** | **$[amount]** | **$[amount]** |
| Less: Resale value | -$[amount] | $0 (no equity) |
| **Net cost of ownership** | **$[amount]** | **$[amount]** |

### Cost Metrics

| Metric | Option A | Option B |
|--------|--------:|--------:|
| Net cost over [X] years | $[amount] | $[amount] |
| Monthly equivalent | $[amount] | $[amount] |
| Cost per mile | $[amount] | $[amount] |
| Difference | $[amount less/more] | -- |

### Opportunity Cost Analysis
- Upfront cost difference: $[amount]
- If invested at [user's assumed rate]% for [term] years: $[projected value]
- This represents the cost of having more capital tied up in one option

### Non-Cost Decision Factors

| Factor | Option A | Option B |
|--------|----------|----------|
| Equity at end of term | $[resale value] | $0 |
| Mileage restrictions | None | [limit] per year |
| Customization freedom | Full | Restricted |
| Maintenance coverage | [User's responsibility] | [Warranty status] |
| Flexibility to switch | Sell anytime | Locked until term end |

### Summary
Based on the numbers you provided:
- Option A costs $[total] over [period] ([monthly equivalent]/month)
- Option B costs $[total] over [period] ([monthly equivalent]/month)
- The difference is $[amount] over [period]
- [Note about equity, flexibility, or other non-cost factors that differ]

### Next Steps
- [ ] Get insurance quotes for each specific vehicle
- [ ] Verify fuel efficiency ratings from official sources
- [ ] Research maintenance schedules and typical costs for each vehicle
- [ ] Check trade-in value if you have a current vehicle
- [ ] Read all lease terms carefully (mileage limits, wear standards, fees)
- [ ] Consider your plans for the next [X] years (job stability, family changes, relocations)

Rules

  1. NEVER recommend buying, leasing, or a specific vehicle -- present the comparison and let the user decide
  2. NEVER name specific dealerships, lenders, or financial institutions
  3. ALWAYS include depreciation as the largest cost component for purchased vehicles
  4. ALWAYS compare options over the same time period for a fair comparison
  5. ALWAYS include insurance, fuel, and maintenance in the total cost -- not just the purchase/lease price
  6. Include the opportunity cost of larger upfront payments
  7. Show cost per mile as a normalized comparison metric
  8. If comparing buy vs. lease, note that the user has equity at the end of a purchase but not a lease
  9. For leases, include potential excess mileage and wear charges in the total cost estimate
  10. Present non-cost factors alongside the financial comparison

Edge Cases

Example

Input: "I'm trying to decide between buying a $35,000 car with a 5-year loan at 5.9% or leasing the same car for $399/month for 36 months with $2,000 down. I drive about 12,000 miles a year."

Output:

Vehicle Cost Comparison

Options Being Compared (5-Year Comparison Period)

| Detail | Option A: Buy (Finance) | Option B: Lease (3 years) |

|--------|------------------------|--------------------------|

| Vehicle price / payment | $35,000 | $399/month |

| Down payment | $3,000 (assumed) | $2,000 |

| Term | 60 months (5 years) | 36 months (3 years) |

| Interest rate | 5.9% | Included in payment |

| Annual mileage | 12,000 (no limit) | 12,000 (verify limit) |

Note: For a fair comparison over 5 years, Option B requires estimating what happens in years 4-5 (new lease, buy, or other vehicle).

Total Cost of Ownership (5-Year Comparison)

Option A: Buy and Own for 5 Years

| Cost Category | Amount |

|---------------|-------:|

| Purchase price | $35,000 |

| Sales tax | [JURISDICTION: verify rate] * $35,000 |

| Registration (5 years) | [JURISDICTION: verify annual cost] * 5 |

| Loan interest (60 months at 5.9%) | $5,236 |

| Insurance (5 years, estimated) | $[get quote] * 5 |

| Fuel (60,000 miles at user's efficiency) | $[calculate] |

| Maintenance (5 years) | $[estimate based on vehicle] |

| Subtotal costs | $[total] |

| Less: Resale value at year 5 | -$[estimate -- typically 40-50% of purchase price for a 5-year-old vehicle] |

| Net cost | $[total] |

Monthly loan payment: $35,000 financed at 5.9% for 60 months = $676/month

Option B: Lease for 3 Years + Estimate Years 4-5

| Cost Category | Years 1-3 (Lease) | Years 4-5 (Estimate) | Total |

|---------------|------------------:|--------------------:|------:|

| Lease payments (36 * $399) | $14,364 | -- | $14,364 |

| Down payment | $2,000 | -- | $2,000 |

| Disposition fee | $[verify with dealer] | -- | $[amount] |

| New lease or purchase (years 4-5) | -- | $[estimate] | $[amount] |

| Insurance (5 years) | $[amount] | $[amount] | $[total] |

| Fuel (60,000 miles) | $[calculate] | $[calculate] | $[total] |

| Maintenance (covered by warranty + years 4-5) | $[minimal] | $[estimate] | $[total] |

| Net cost | | | $[total] |

Cost Metrics

| Metric | Buy | Lease (5-year estimate) |

|--------|----:|----------------------:|

| Monthly cost equivalent | $[amount] | $[amount] |

| Cost per mile (60,000 miles) | $[amount] | $[amount] |

| Equity at year 5 | $[resale value] | $0 |

Key Observations

Next Steps

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.