Skip to content
Finance
Skill

/lending

Analyze lending products including mortgages, HELOCs, and personal loans with amortization and comparison tools. Use when the user asks about mortgage comparison, fixed vs ARM rates, loan qualification, amortization schedules, extra payments, or buying points. Also trigger when

From plugin
finance-skills
26991 skills

Claude Code

$ npx -y skills add JoelLewis/finance_skills --skill lending --agent claude-code

SKILL.md

lending.SKILL.md
name: lending
description: "Analyze lending products including mortgages, HELOCs, and personal loans with amortization and comparison tools. Use when the user asks about mortgage comparison, fixed vs ARM rates, loan qualification, amortization schedules, extra payments, or buying points. Also trigger when users mention 'monthly payment calculation', '15-year vs 30-year mortgage', 'PMI', 'APR vs interest rate', 'HELOC', 'home equity', 'should I buy down the rate', 'biweekly payments', or ask how much house they can afford."

Lending Analysis

Core Concepts

Fixed-Rate Mortgage

The interest rate and monthly payment remain constant for the life of the loan:

  • **Advantages:** Predictable payments, protection against rising rates, simpler budgeting
  • **Disadvantages:** Higher initial rate than ARM, no benefit if rates decline (must refinance)
  • Most common terms: 30-year and 15-year fixed

Adjustable-Rate Mortgage (ARM)

Rate is fixed for an initial period, then adjusts periodically based on an index plus a margin:

  • **Notation:** 5/1 ARM = fixed for 5 years, adjusts annually thereafter; 7/1, 10/1 similarly
  • **Fully indexed rate:** Index (e.g., SOFR, 1-year Treasury) + margin (e.g., 2.75%)
  • **Rate caps** protect against extreme adjustments:
  • Initial adjustment cap (e.g., 2%): maximum first adjustment
  • Periodic cap (e.g., 2%): maximum change per adjustment period
  • Lifetime cap (e.g., 5%): maximum total increase over initial rate
  • **When ARM may be appropriate:** Planning to sell or refinance before the fixed period ends, expecting rates to decline, or comfortable with rate variability

Monthly Payment Calculation

The standard amortization formula for a fixed-rate loan:

  • PMT = P × [r(1+r)^n] / [(1+r)^n - 1]
  • Where: P = principal (loan amount), r = monthly interest rate (annual rate / 12), n = total number of payments (term in months)
  • Each payment splits into interest (decreasing) and principal (increasing) components:
  • Interest portion: remaining balance × monthly rate
  • Principal portion: PMT - interest portion

Total Interest Paid

  • Total interest = (n × PMT) - P
  • For a $400K, 30-year loan at 6.5%: PMT = $2,528, total payments = $910,178, total interest = $510,178

Extra Payments

Additional principal payments reduce the outstanding balance, shorten the loan term, and reduce total interest:

  • Each extra dollar goes entirely to principal reduction
  • Impact compounds: earlier extra payments save more interest than later ones
  • Methods: lump sum, fixed monthly extra, biweekly payments (26 half-payments = 13 full payments per year)

Mortgage Points

Prepaid interest that reduces the loan's interest rate:

  • **1 point = 1% of the loan amount** (e.g., 1 point on $400K = $4,000)
  • Typically reduces the rate by approximately 0.25% (varies by lender and market)
  • **Breakeven calculation:** Points cost / monthly savings = months to recoup
  • Points make sense when: planning to hold the loan beyond breakeven, itemizing deductions (points may be tax-deductible in year of purchase)

APR vs Interest Rate

  • **Interest rate:** The cost of borrowing the principal, expressed annually
  • **APR (Annual Percentage Rate):** Includes the interest rate plus certain fees and costs (origination fees, points, PMI), annualized over the loan term
  • **APR > interest rate** (always, when there are fees)
  • APR is the better metric for comparing loan offers with different fee structures

HELOC (Home Equity Line of Credit)

A revolving credit line secured by home equity:

  • **Combined LTV (CLTV):** (First mortgage balance + HELOC limit) / home value
  • Most lenders require CLTV ≤ 80-90%
  • **Draw period** (typically 10 years): borrow and repay flexibly, often interest-only payments
  • **Repayment period** (typically 20 years): no new draws, fully amortizing payments
  • **Variable rate:** Typically prime rate + margin; rate fluctuates with market
  • **Use cases:** Home improvements, debt consolidation, emergency backup (but not as primary emergency fund)
  • **Risk:** Home is collateral — default means foreclosure

Loan Qualification Criteria

  • **FICO score:** 620+ for conventional, 580+ for FHA, 700+ for best rates
  • **DTI:** Front-end ≤ 28%, back-end ≤ 36-43% (varies by program)
  • **LTV (Loan-to-Value):** Loan amount / property value; lower LTV = lower risk = better terms
  • **Reserves:** Months of payments held in liquid assets after closing (2-6 months typical)
  • **Employment/income:** Stable income history, typically 2 years documentation

PMI (Private Mortgage Insurance)

Required when conventional loan LTV exceeds 80%:

  • **Cost:** 0.5-1.5% of loan amount annually, added to monthly payment
  • **Removal:** Automatic at 78% LTV (based on original amortization), requestable at 80% LTV
  • **Avoidance strategies:** 20% down payment, piggyback loan (80/10/10), lender-paid PMI (higher rate), VA loan (no PMI)
  • PMI benefits the lender, not the borrower — it is pure cost to the borrower

15-Year vs 30-Year Comparison

  • **15-year:** Higher monthly payment, lower interest rate (typically 0.5-0.75% less), dramatically less total interest, builds equity faster
  • **30-year:** Lower required payment, more flexibility, higher total interest cost
  • **Hybrid approach:** Take a 30-year for flexibility, make extra payments as if it were a 15-year

Key Formulas

| Formula | Expression | Use Case | |---------|-----------|----------| | Monthly payment | PMT = P × [r(1+r)^n] / [(1+r)^n - 1] | Fixed-rate loan payment | | Total interest | n × PMT - P | Total cost of borrowing | | Remaining balance after k payments | B_k = P × [(1+r)^n - (1+r)^k] / [(1+r)^n - 1] | Balance at any point | | Points breakeven | Cost of points / monthly savings | Months to recoup points | | LTV | Loan amount / property value | Risk and PMI assessment | | CLTV | (First mortgage + HELOC) / home value | Combined leverage | | ARM fully indexed rate | Index + margin | Rate after fixed period |

Worke

Read more
@joellewis
Ships withfinance-skills

A collection of Claude Code skill plugins for financial services. 91 skills across 7 domain plugins teach Claude investment management, regulatory compliance, advisory workflows, trading operations, and more — so it can assist with finance questions, build

Stars on GitHub

Momentum

stars in total
269
Star history of JoelLewis/finance_skills on GitHub, a chart by star-history.com

Other skills on finance-skills.

fee-billing

fee-billing

Build and manage advisory fee billing operations from fee schedule design through calculation, collection, revenue recognition,…

More skills from other plugins.

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code…

ccxt2w45k
@ccxt@ccxtInstall Skill

Questions about lending.

Which coding agents can use lending?
lending installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.