/car-valuation:carval-valuing-a-specific-vehiclefrom car-valuation
Use when valuing one specific car: how to select comparables (sold vs asking, year/trim/mileage/condition/title guardrails), build the adjustment grid (mileage per mile, year, trim, condition, accident history, owners, CPO, asking-to-sale discount, time drift), run a regression cross-check, triangulate with KBB/Edmunds/J.D. Power/MMR without trusting one number, handle EVs (battery state of health), hybrids, trucks, luxury, high-mileage, rebuilt-title and classic/collector cars (Hagerty condition grades), and a sandbox-verified worked example with scripts/carval.py (adjusted comps 1.1% median error vs 4.4% for a naive average).
Ships in car-valuation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 3 of 7 of the Car Valuation and Market Research reference (plugin
car-valuation), covering §10–§15. Sibling skills:carval-concepts-methods-and-market-structure(§0–§4),carval-market-analysis-and-timing(§5–§9),carval-buyer-playbook(§16–§20),carval-seller-playbook(§21–§25),carval-diligence-risk-and-ownership-economics(§26–§30),carval-reference(§31–§35). Code:scripts/carval.py,scripts/test_carval.py.Currency: The method is stable. Magnitudes (per-mile, condition, accident percentages) are placeholders to be replaced with local evidence.
⚠️ Scope. An informal valuation for decision support; not an appraisal for insurance, court, tax or lending. The worked example (§15) uses a synthetic market with a known true price function so accuracy can be verified; real markets are noisier, and unobserved condition and history are the dominant sources of error.
The three ideas:
- ⚠️ Value the car you are looking at, not the model. Two identical-looking cars can differ by 15–30% on mileage, condition, history and title. A car's model average is a starting point, not an answer.
- ⚠️ Separate asking from selling. Active listings are asks. Convert them to expected transaction prices (placeholder 3% off), prefer sold data, and read price history and days-on-lot (§10.2).
- ⚠️ Inspection and history turn an estimate into a value. The number you quote before a pre-purchase inspection (PPI) and a history report is conditional; say so, and adjust after (§26).
| Criterion | Starting guardrail | Widen when… | ⚠️ Pitfall |
|---|---|---|---|
| Status | Sold transactions first; active listings as supporting evidence | Few sold comps | An ask is not a price; apply the asking-to-sale discount (§12) |
| Generation/model year | Same generation; ± 1 model year | Rare models | Mid-cycle refreshes and engine/transmission changes |
| Trim & drivetrain | Same trim, same drivetrain (FWD/AWD/4x4), same engine | Never mix hybrid/ICE/EV | Packages vary within a trim: verify by VIN build data |
| Mileage | ± 20,000–25,000 miles | Highly differentiated mileage | Adjust per mile; beware thresholds at 60k/100k/150k |
| Condition | Same band; photos matter | Always adjust if different | Dealer "excellent" ≠ your grade; use one rubric |
| History/title | Same brand status (clean/clean); accident count similar | Specific discounts for brands | Branded titles belong to a different market (§14.5) |
| Seller type | Match (dealer retail vs private party vs CPO) | – | CPO carries a premium for warranty/inspection |
| Region/time | 100–250 miles; ≤ 60–90 days | Rare cars: national, ≤ 180 days | Cross-state tax/fee differences; seasonal 4WD premiums |
| Options | Search-relevant options (driver assist, tow package, panoramic roof) | – | Many options add little; a few matter a lot |
Aim for 6–10 with at least 3 sold; fewer than 5 means a wider confidence band. Bracket the subject on mileage and condition (some above, some below), so adjustments are interpolation, not extrapolation.
Local listing aggregators (CarGurus, Autotrader, Cars.com, TrueCar, CarEdge), dealer websites, Facebook Marketplace/Craigslist (private), enthusiast auction sites with sold results (e.g., Bring a Trailer, Cars & Bids for enthusiast cars), your own offers from CarMax/Carvana, and dealer-sold data when a friendly dealer will share. Capture each comp's VIN or listing URL, date, price, mileage, trim, condition notes, history and status in a table (the toolkit expects these columns).
Adjust the comp toward the subject. Comp is superior (lower mileage, better condition, newer) → subtract. Comp is inferior → add.
| Item | Treatment | Source of number (best → worst) |
|---|---|---|
| Asking → expected sale | Active listings: −X% (placeholder 3%) | Your market's sold/asking ratio; price-cut history; dealer feedback |
| Time/market drift | Compound monthly drift to today | MUVVI/MMR trend; regression on date (§12) |
| Mileage | (comp miles − subject miles) × $/mile | Estimate from the comps (mileage_adjustment_per_mile()); guides; ~cents/mile for mainstream cars, rising with value (the test market's truth is ≈ $0.05/mile at ~$21k) |
| Year | % per model year (placeholder 7%) | Paired comps one year apart |
| Trim/options | $ amount from paired comps (trim difference); only count options buyers pay for | Paired comps; guide option values |
| Condition | % per step on your rubric (placeholder 3%/step) | Condition-matched pairs; cost-to-cure for visible defects (tires, brakes, paint, interior) |
| Accident history | % per reported accident (placeholder 6–7%) | Matched pairs; severity matters (structural/airbag deployment ≫ cosmetic) |
| Owners | ~1% per additional owner | Matched pairs; a weak effect after controlling for age/miles |
| CPO / warranty | $ premium (placeholder $1,500) | CPO vs non-CPO matched pairs; warranty value |
| Title brand | Large discount (§14.5) | Branded vs clean comps |
| Service records/deferred maintenance | Cost-to-cure | Shop quotes (tires, brakes, timing belt, fluids) |
| Modifications | Usually no add or a discount; returns to stock may cost | Enthusiast sales (BaT) for desirable mods |
Flag comps with gross adjustments above ~20% of price (adjust_listings() marks OVER-ADJUSTED). Rank by lowest gross adjustment and weight accordingly (reconcile()).
Model: ln(price) = b0 + b1·age + b2·(miles/10k) + b3·condition + b4·accidents + b5·owners + b6·months + trim dummies. Use one model/generation at a time.
When: 50+ comparable observations. Checks: hold-out error (MdAPE), residual patterns (a trim or a region the model misses), sign/size sanity (older → lower, higher miles → lower, condition → higher), treat active listings consistently (deflate asks or include a status dummy). Limits: it cannot see paint/interior quality, rust, maintenance history, modifications or cosmetic damage unless captured in your condition score; a well-specified model in a simulation outperforms reality. Use it as a cross-check on comps, never alone.
260 synthetic listings/sales of one model (3 trims, 2019–2024). True price depends on age (retention curve), mileage (~2.2% per 10k miles vs expected), condition (3%/step), accidents (7% each), owners (1% each), drift (−0.4%/month), and CPO (+$1,500); active listings are priced ~3% above transaction. Subject: 2022 EX, 38,000 miles, condition 4/5, one owner, clean history. Ground-truth transaction value: $21,209.
python3 scripts/test_carval.py)| Comp | Price | Ask→sale | Time | Miles | Year | Cond. | Accident | Other | Net | Adjusted | Gross % |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 108 | 21,670 | 0 | −139 | +363 | 0 | 0 | 0 | +430 | +654 | 22,324 | 4 |
| 247 | 19,520 | −586 | −52 | +554 | 0 | 0 | +1,322 | +189 | +1,427 | 20,947 | 14 |
| 119 | 21,380 | 0 | −143 | +392 | 0 | 0 | 0 | −1,287 | −1,038 | 20,342 | 11 |
| 219 | 21,860 | −656 | −106 | −525 | 0 | +633 | 0 | 0 | −653 | 21,207 | 9 |
| 157 | 19,660 | −590 | −98 | +186 | 0 | +569 | +1,328 | 0 | +1,396 | 21,056 | 14 |
| 113 | 23,780 | −713 | −157 | −466 | −1,604 | 0 | 0 | +229 | −2,711 | 21,069 | 13 |
| Method | Median abs. error | 90th percentile |
|---|---|---|
| Naive mean of same trim, year ±1 | 4.4% | 12.0% |
| Adjusted comps | 1.1% | 3.1% |
| Hedonic regression | 1.1% | 2.0% |
| Triangulated (60/40) | 0.7% | 2.1% |
| ⚠️ These are best-case numbers: the simulated noise is small (3% on transactions), the regression matches the data-generating process, and condition is observed perfectly. Expect 2–3× larger errors in real data, and the ranking (naive worst; triangulated best) to hold. |
INPUTS : VIN, year/trim/engine/drivetrain, miles, condition grade (1–5 rubric), history/title, options, location
1 Decode the VIN (build sheet) and verify trim/options; check NHTSA recalls.
2 Pull 6–10 comps (≥3 sold) within guardrails; log VIN/URL, date, price, miles, trim, condition, history, status.
3 Convert asking to expected sale (3% placeholder; calibrate).
4 Estimate $/mile from comps (≥15 comps), drift from MUVVI/MMR/regression, and condition step from pairs.
5 Build the grid with adjust_listings(); drop OVER-ADJUSTED comps; reconcile().
6 If ≥50 comps: hedonic_fit()/hedonic_predict(); compare.
7 Pull 2–3 guides (KBB, Edmunds, J.D. Power) + 1–2 real offers (instant offers or dealer quotes); compare.
8 Pre-purchase inspection and history report adjust the number (§26); document findings.
9 State a RANGE, most-likely value, walk-away (buy) or floor (sell), and what would change it.
Confidence statement template: "Informal opinion of value (not an appraisal): $X–$Y, most likely about $Z, effective [date], for a [year trim] with [miles], condition [n]/5, [title/history]. Based on N comps (K sold), adjusted for mileage ($/mile), condition, history and asking-to-sale; cross-checked by a regression (MdAPE [x]%) and guides ($a–$b). Largest uncertainty: [condition/history/market drift]. A ±1 condition step moves value by ±$m."
import pandas as pd, carval as cv
TODAY = pd.Timestamp("YYYY-MM-DD")
subj = cv.Vehicle(year=..., miles=..., trim="...", condition=..., owners=..., accidents=..., cpo=False)
ranked = cv.score_listings(subj, comps_df, TODAY) # columns in docstring
good = ranked[ranked.within_guardrails].head(6)
per_mile = abs(cv.mileage_adjustment_per_mile(comps_df)) # ≥15 comps, same trim/gen
adj = cv.adjust_listings(subj, good, TODAY, per_mile=per_mile, ask_to_sale_discount_pct=3.0,
condition_step_pct=3.0, accident_pct=7.0, monthly_drift_pct=-0.4)
rec = cv.reconcile(adj)
m = cv.hedonic_fit(comps_df, TODAY); pred = cv.hedonic_predict(m, subj, TODAY)
tri = 0.6*rec["estimate"] + 0.4*pred["point"]
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub the-vibey-project/vibey --plugin car-valuation7 skills in this plugin
/carval-buyer-playbookUse when buying a car (new, used, CPO, online retailer or private party): budgeting from the total monthly cost (the 20/4/10 guardrail and its limits), financing (pre-approval, APR, loan terms, negative equity timelines, spot-delivery/yo-yo financing), new vs used vs CPO, shortlisting by reliability and total cost of ownership, reading listings and red flags, the three-number approach (market value, payment ceiling, walk-away), out-the-door price negotiation by email, dealer fees and add-ons, F&I products (extended warranty, GAP, protection packages), the step-by-step private-party purchase, and decision rules for EV vs gas, keep vs replace and rolling negative equity./carval-concepts-methods-and-market-structureUse first for any car-value question: the many meanings of a car's 'value' (MSRP, invoice, transaction price, retail asking, private-party, trade-in, instant offer, wholesale/auction, insurance ACV, loan/book, replacement, collector), the valuation approaches (comparable sales, data guides, depreciation models, total cost of ownership), who produces which number (KBB, Edmunds, J.D. Power, Black Book, Manheim MMR, CarGurus, Hagerty) and how they differ, the sales channels (franchised dealer, independent, CPO, online retailer, private party, auction), and the rules of the game (FTC Used Car Rule, as-is, no cooling-off period, title brands, lemon laws, dealer fees and the status of the FTC CARS Rule, state sales-tax trade-in credits). Includes the router for the whole car valuation reference.Other plugins' skills for the same job