A subcontractor agreement is the signed contract between a general contractor and a trade contractor that sets the scope, price, schedule and terms for one part of a job. This free AI skill drafts it from the awarded bid, with the scope from your bid package, the price from your leveling sheet, and flow-down, payment, insurance, warranty and lien waiver terms. A lawyer must review the draft before anyone signs, because the skill gives drafting help and not legal advice.
Summit Ridge Builders awarded the HVAC package on Cedar Hollow Medical Office Building to Cascade Peak HVAC after leveling. The project manager needs the subcontract drafted for the company's lawyer. Sample job, made-up data.
Cascade Peak is awarded BP-23 HVAC at $1,196,500 per the leveling sheet. Need the subcontract. Legal name Cascade Peak HVAC, LLC, Boise. Scope is bid package items 1 to 18 plus what they confirmed: controls scope includes conduit, bond of $13,900 inside the base, two crane mobilizations. Retainage 5% to match the prime. Pay when we get paid by the owner, but flag it for the lawyer. Rooftop unit release by June 1, 2027, units set September 15. $2M general liability, $5M umbrella, additional insured and waiver of subrogation. Two year warranty. Idaho job.
This is a draft for a lawyer. It is not legal advice and it is not ready to sign. Pay-when-paid language and indemnity vary by state, so both are written in a neutral form and flagged below. A lawyer must review this draft before either company signs.
| Term | Draft entry |
|---|---|
| Subcontractor | Cascade Peak HVAC, LLC, Idaho license number and signatory |
| Prime contract | AIA A133 between Summit Ridge Builders and Cedar Hollow Health Partners, dated Prime contract date |
| Subcontract sum | $1,196,500 (one million one hundred ninety-six thousand five hundred dollars). No alternates accepted. |
| Payment | Monthly progress payments tied to the contractor's receipt of the owner's payment, subject to attorney review |
| Retainage | 5%, which is $59,825 if the full sum is billed |
| Insurance | General liability $2,000,000 per occurrence, umbrella $5,000,000, with additional insured and waiver of subrogation for the contractor and the owner |
| Warranty | Two years on labor and materials, plus manufacturer warranties per spec |
| Schedule | Rough-in July 2027. Rooftop unit submittals released by June 1, 2027. Units set by September 15, 2027. Substantial completion February 2028. |
Items 1 through 18 of Bid Package BP-23, verbatim, with Addenda 1 and 2. The leveling clarifications below are written in as explicit inclusions.
| Item | Amount |
|---|---|
| Four rooftop units, Aeroline Series R | $412,000 |
| 46 VAV terminal units with electric reheat | $138,000 |
| Six exhaust fans and two ductless splits | $64,500 |
| Ductwork, insulation, air devices, fire dampers, duct smoke detectors | $247,900 |
| Building automation system | $118,000 |
| 24 in. seismic roof curbs | $41,000 |
| Crane and hoisting, two mobilizations | $17,500 |
| Independent balancing, NEBB firm | $29,500 |
| Seismic engineering and bracing | $52,000 |
| Mechanical permit and fees | $7,200 |
| Startup, commissioning support, owner training | $24,000 |
| Submittals, coordination drawings, O&M manuals, as-builts | $31,000 |
| Payment and performance bond | $13,900 |
| Subcontract sum | $1,196,500 |
A conditional progress waiver comes with each payment application. An unconditional final waiver comes at closeout. Lien waiver forms and timing vary by state, so counsel should confirm the forms.
A lawyer must review this draft before anyone signs. Check that the scope matches the leveled scope item for item, and that the sum matches the award with no re-derivation.
Draft the subcontract for Cascade Peak HVAC on BP-23 at $1,196,500. Scope is the bid package plus the leveling clarifications. Flag pay-when-paid and indemnity for my lawyer.
Build the schedule of values for the subcontract so it adds up to $1,196,500, and show the retainage at 5%.
Use our own subcontract template and put the awarded bid, the specs and the room finishes into it.
Use this outline to collect the facts a subcontract needs before you or your lawyer start drafting.
| Field | What goes in it |
|---|---|
| Parties | Contractor and subcontractor by exact legal name, address and license number. |
| Project and prime contract | Project, owner and the prime contract the subcontract flows from. |
| Scope of work (Exhibit A) | The bid package scope, plus every clarification agreed during leveling. |
| Subcontract sum | Awarded amount, in words and figures, with accepted alternates. |
| Schedule of values | The breakdown used for progress payments. It must add up to the sum. |
| Payment terms | Application date, days to pay, retainage, and any pay-when-paid wording. |
| Conditions of final payment | Lien waivers, warranties and closeout documents. |
| Flow-down clause | How the subcontractor is bound to the contractor for its scope. |
| Schedule | Work window, milestones and recovery obligations if the subcontractor falls behind. |
| Changes | Written change orders only, and any markup limits on changed work. |
| Insurance and indemnity | Limits, additional insured, waiver of subrogation and indemnity wording. |
| Safety | The contractor's site safety program and OSHA compliance. |
| Warranty | Correction period, matched to the prime contract. |
| Default and termination | Notice, cure, supplementation and termination for convenience. |
| Lien waiver schedule (Exhibit B) | Which waivers come with which payment. |
| Signature blocks | Both companies, with license numbers and authorized signers. |
Blank forms, free to use and edit. Or skip the form and let the skill fill it in.
The primary skill is Subcontract Agreement. Best at drafting a signable subcontract from the leveled scope and the awarded price, with flow-down, insurance, retainage and a lien waiver schedule.
This page also covers:
---
name: subcontract
description: Generate a subcontract agreement for an awarded trade , scope exhibit from the bid package, leveled price, flow-down provisions, insurance and retention terms, signature blocks. Use after /bid-leveling selects a sub. Triggers on "issue the subcontract", "subcontract for [trade]", or "/subcontract".
argument-hint: "[trade or sub name, or leave blank to select from leveled trades]"
allowed-tools:
- Read
- Write
- Bash
- Edit
- Glob
---
# /subcontract , Subcontract Agreement Generator
The prime contract covers you and the owner. This covers you and the sub. Generate a signable subcontract agreement from the awarded bid , scope from the bid package, price from the leveling sheet, terms that flow down from the prime.
Runs after `/bid-leveling` (award decided) and ideally after `/contract` (prime executed, so flow-downs reference a real document).
## Inputs Needed
1. **Awarded sub** , legal entity name, license number and classification, address, signatory
2. **The trade scope** , from the `/sub-bid-package` output, adjusted for anything negotiated during leveling
3. **Subcontract sum** , the awarded amount from `/bid-leveling`, plus accepted alternates
4. **Prime contract reference** , project, owner, prime contract date (from `/contract` output if present)
5. **Schedule** , the sub's work window and milestones
6. **Commercial terms** , retention % (default: match the prime), payment timing, insurance limits required of the sub
## Document Structure
1. **Parties & project block** , Contractor ({{COMPANY_LEGAL_NAME}}), Subcontractor (legal name + license), Project, Prime Contract reference
2. **Scope of Work (Exhibit A)** , the bid package scope verbatim, plus negotiated clarifications from leveling. Include the sub's confirmed inclusions of previously-silent items.
3. **Subcontract Sum** , base + alternates, in words and figures
4. **Payment terms** , progress payments tied to Contractor's receipt of corresponding owner payment where state law allows (pay-when-paid language is state-sensitive , **flag for attorney review**), retention %, conditions to final payment (lien waivers, warranties, closeout docs)
5. **Flow-down clause** , sub bound to Contractor as Contractor is bound to Owner under the prime contract, for the sub's scope
6. **Schedule** , work window, coordination obligations, recovery obligations if the sub falls behind
7. **Changes** , written change orders only; markup limits on changed work
8. **Insurance & indemnity** , CGL/auto/WC limits, additional insured + waiver of subrogation in favor of Contractor and Owner, indemnification (**state-sensitive , flag for attorney review**)
9. **Safety** , compliance with Contractor's site safety program and OSHA
10. **Warranty** , match the prime's correction period for the sub's scope
11. **Default & termination** , notice + cure, supplementation rights, termination for convenience
12. **Lien waiver schedule (Exhibit B)** , conditional progress waiver with each payment application, unconditional final at closeout
13. **Signature blocks** , both entities, with license numbers
## Process
1. Locate the leveling sheet and bid package for the trade (Glob the working directory); confirm the awarded number with the user
2. Assemble the agreement per the structure above , `[BRACKETED CAPS]` for any unknown fill point, never silently blank
3. Generate DOCX via `contractor-docs` styling (white pages, hairlines, no color)
4. Save as `{{COMPANY_NAME}}_Subcontract_[Trade]_[ProjectName]_[YYYY-MM-DD].docx`
## Rules
1. **Scope must match the leveled scope exactly** , the negotiated gaps from `/bid-leveling` get written in as explicit inclusions. That's the whole point of leveling.
2. **Subcontract sum must match the award.** No re-derivation.
3. **Use legal entity names** on both sides, with license numbers.
4. **Pay-when-paid / pay-if-paid and indemnity clauses vary by state.** Generate neutral versions and flag both for attorney review , always, every time.
5. **Attorney review before signature.** This output is a drafting aid, not legal advice. Same caveat as `/contract`.
## Transition
...Adapted from Sunrise-Systems/contractor-toolkit under the MIT license, maintained by Northwest AI.
A subcontractor agreement is the written contract between a general contractor and a trade contractor for one part of a project. It sets the scope, price, schedule, payment, insurance, warranty and default terms. It usually ties the subcontractor to the terms the general contractor owes the owner, so the two contracts work together.
Include both parties' legal names and license numbers, the project and prime contract, the scope as an exhibit, the sum, payment and retainage terms, a flow-down clause, schedule, change order rules, insurance and indemnity, safety, warranty, default and termination terms, lien waivers and signature blocks. State law shapes several of these, so a lawyer should review it.
Pay-when-paid ties the subcontractor's payment to the contractor's receipt of payment from the owner. Pay-if-paid goes further and makes the owner's payment a condition. Courts and statutes in different states treat these clauses differently, so have a lawyer review the wording before it goes in a subcontract.
A lawyer should review it, even if you start from a template or an AI draft. Payment terms, indemnity, notice periods and lien rights vary by state, and a weak clause can cost far more than the review. The skill's draft saves your lawyer time, but it does not replace their advice.
Yes, as a draft. The skill builds the agreement from the awarded bid and your leveling sheet, writes the scope exhibit and the schedule of values, and flags the clauses that vary by state. It does not give legal advice, so a lawyer reviews the draft and an authorized person at each company signs.
We set these skills up for your team, train your people on them, and build what they can't.
Our construction AI specialists set up these skills for your team, build your custom AI agents and speed up your bids. Free for 2 weeks. Don't like what we bring? Pay nothing.
Get started →