Trade quote builder
Builds estimates, quotes, and bids for trades and field-service businesses.
Safety check
- Claude rated it 5 out of 10, under our bar of 7, so we do not sell it. It is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: trade-quote-builder
description: Builds estimates, quotes, and bids for trades and field-service businesses (HVAC, plumbing, electrical, roofing, landscaping, painting, cleaning, remodeling, general contracting, IT/AV installs). Turns a scope into line items with waste factors, burdened labor, materials, equipment, subs, permits, mobilization, contingency, overhead, profit, and tax, then writes a client-ready xlsx (live formulas) and PDF plus an internal cost sheet, with good/better/best options, add-ons, a payment schedule, exclusions, and assumptions. Use whenever someone asks for a quote, estimate, bid, proposal price, or job price, asks "how much should I charge for this job", wants to check a price or margin on a job, or is confused about markup vs margin. Computes deterministically with a script instead of mental math, because models routinely treat a 30% markup as a 30% margin and drop labor burden, waste, and mobilization.
---
# Trade Quote Builder
A quote is a promise priced in advance. The expensive mistakes are not in the unit costs; they are the items nobody priced (permits, disposal, mobilization, burden) and the arithmetic done in someone's head (a 30% markup is only a 23% margin). This skill fixes both: a checklist pass for missing scope, then `scripts/build_quote.py` for every number.
Never do the pricing arithmetic in prose. Write the spec, run the script, and quote its output. The script uses Decimal math and the same rounding as the Excel formulas it writes, so the PDF, the client xlsx, and the internal sheet always agree to the penny.
## Workflow
1. **Gather the scope and the business's numbers.** Ask for: the job (measurements, counts, site conditions, photos or drawings), the trade, and the business's own costs: base wages per role, labor burden %, overhead recovery, target margin or markup, supplier prices, tax rules for their jurisdiction. If they have no numbers, start from `references/unit-cost-starter.md` and label every figure in the output as a placeholder to replace. Never present an invented rate as a market price.
2. **Walk the checklist.** Open `references/scope-checklists.md` for the trade and ask about each commonly forgotten item. Every item ends up either priced as a line or written into `exclusions`. The script also scans the spec and flags common items it cannot find, so an unaddressed permit shows up as a `[CHECK]` line instead of a surprise.
3. **Write the spec** (YAML or JSON, schema below). Model each client-facing line as an assembly of components: materials with waste and pack sizes, labor hours by role, equipment, subs, fees. Put shared scope in `base_items`, tier-specific scope in `tiers`, and optional extras in `add_ons`.
4. **Run it.**
```bash
python scripts/build_quote.py spec.yaml --check # validate + totals, writes nothing
python scripts/build_quote.py spec.yaml --out ./quotes # xlsx + pdf + internal + summary.json
python scripts/build_quote.py spec.yaml --explain LINE # show every step for one line
```
Needs `openpyxl`; `pyyaml` for YAML specs; `reportlab` for the PDF (skipped cleanly if missing).
5. **Sanity-check before sending.** Read the totals table and every `[WARN]`:
- **Net margin vs target.** At-cost pass-throughs and lower sub markups pull the blended margin below target. Decide whether that is intended.
- **Effective hourly** = (price minus non-labor direct cost) / labor hours. This is what each crew hour brings in to cover wages, burden, overhead, and profit. Compare it to `min_effective_hourly`; if it is low, the hours are too high or the price is too low.
- **Option ladder.** Good < Better < Best, and the gaps should be explainable to a homeowner in one sentence each.
- **Hand-check one line** with `--explain` and show the math to the user so they can trust the rest.
6. **Deliver.** Send the client xlsx and/or PDF. Keep `-internal.xlsx` for the business only, since it shows costs and profit. List the assumptions and exclusions in your reply, plus every placeholder the user still has to replace.
## Markup vs margin
State which one you are using every time. The script refuses a spec that sets both.
- Margin = profit / price. Price = cost / (1 - margin).
- Markup = profit / cost. Price = cost x (1 + markup).
- markup = margin / (1 - margin); margin = markup / (1 + markup).
- 20% margin = 25% markup; 25% = 33.3%; 30% = 42.9%; 40% = 66.7%; 50% = 100%.
- Quick answer: `python scripts/build_quote.py --margin-to-markup 0.30`.
...From OneWave-AI's repository, MIT licence.
Related skills
-
Checked
Excel file builder
Creates and edits Excel files whose formulas carry their values, so totals show in every viewer and preview.
7/101 credit -
Checked
Google Sheets automation
Builds Google Apps Script menus, triggers, sidebars and email batches, so repeat Sheets work runs itself.
7/101 credit -
Checked
Obsidian Bases views
Creates and edits Obsidian Bases with table, card and kanban views, filters and formulas over your notes.
8/101 credit -
Checked
Obsidian note databases
Creates Obsidian Bases files with table and card views, filters and formulas so notes work like a database.
7/101 credit -
Checked
CSV and Excel merging
Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.
7/101 credit -
Checked
Airtable API Integration
Reads, writes and syncs Airtable records from code, with upserts, attachments, webhooks and OAuth handled.
7/101 credit