Subcontractor Agreement Template + Free AI Skill

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.

Project managerPrecon managerAccountingClaude · ChatGPT · CopilotMIT license

Worked example

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.

What the project manager pasted in
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.
What the skill produced
Subcontract Draft: Cascade Peak HVAC, BP-23 HVAC, Cedar Hollow MOB
Contractor
Summit Ridge Builders
Subcontractor
Cascade Peak HVAC, LLC, Boise, Idaho
Project
Cedar Hollow MOB (sample data)
Subcontract sum
$1,196,500
Draft date
December 14, 2026
Status
Unsigned draft for attorney review

Read this first

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.

Parties and key terms

TermDraft entry
SubcontractorCascade Peak HVAC, LLC, Idaho license number and signatory
Prime contractAIA 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.
PaymentMonthly progress payments tied to the contractor's receipt of the owner's payment, subject to attorney review
Retainage5%, which is $59,825 if the full sum is billed
InsuranceGeneral liability $2,000,000 per occurrence, umbrella $5,000,000, with additional insured and waiver of subrogation for the contractor and the owner
WarrantyTwo years on labor and materials, plus manufacturer warranties per spec
ScheduleRough-in July 2027. Rooftop unit submittals released by June 1, 2027. Units set by September 15, 2027. Substantial completion February 2028.

Exhibit A: scope of work

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.

Confirmed during leveling

  • Building automation scope includes control wiring and conduit.
  • The $13,900 payment and performance bond sits inside the subcontract sum.
  • Crane and hoisting covers two mobilizations.
  • Excluded and done by others: line-voltage power wiring, fire alarm wiring to duct detectors, and roof framing, patching and curb flashing.

Exhibit C: schedule of values

ItemAmount
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

Exhibit B: lien waiver schedule

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.

Flagged for attorney review

  • Pay-when-paid or pay-if-paid language. Both are state-sensitive.
  • Indemnity. The scope of indemnity varies by state.
  • Flow-down of the prime contract's notice and claim periods, so the subcontractor's notices arrive in time for the contractor to pass them up.
  • Termination for convenience, and what the subcontractor is paid for ordered equipment.
  • Notice and cure periods, and the contractor's right to supplement forces on a default.

Before you send it

  • Confirm the contractor's license is active and the legal name matches the license.
  • Attach the prime contract documents the subcontract incorporates.
  • After signing, collect the certificate of insurance and endorsements, then release the subcontractor to schedule.

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.

What the skill does

  • Writes the scope exhibit from your bid package, including the items the contractor confirmed during leveling.
  • Sets the subcontract sum to the awarded amount, with alternates, in words and figures.
  • Adds flow-down, payment, change, insurance, safety, warranty and default terms that match your prime contract.
  • Builds the schedule of values and a lien waiver schedule, and marks unknown fill points in brackets.
  • Flags the clauses that vary by state, such as pay-when-paid and indemnity, for your lawyer.

Use it in Claude, ChatGPT or Copilot

  1. Download the .zip on this page.
  2. In Claude, go to Customize, then Skills, click the plus button and choose Upload a skill. Code execution must be on (Settings, then Capabilities).
  3. Paste your notes or attach the files. The skill loads on its own when your request matches, and it asks for anything it is missing.
Full Claude setup and prompts

Prompts to try

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.

Give it

  • The awarded bidder's legal name, license number and signer
  • The bid package scope, and any changes agreed during leveling
  • The awarded amount and any accepted alternates
  • The prime contract reference, dates and milestones
  • Retainage, payment timing and insurance limits, plus your own template if you have one

You get

  • An unsigned subcontract draft in Word
  • A scope exhibit that matches the leveled scope
  • A schedule of values and a lien waiver schedule
  • A list of clauses flagged for attorney review

It won't

  • It does not give legal advice and does not check that a clause is enforceable in your state.
  • It will not change the awarded price or re-derive it. The sum comes from your leveling sheet.
  • It does not check the subcontractor's license or insurance. Do that before you send the draft.
  • It does not sign or send anything. A lawyer and an authorized signer do.

Check before you send

  • Send the draft to your lawyer. A lawyer must review pay-when-paid, indemnity and termination.
  • Compare the scope exhibit to the leveled scope item by item.
  • Check that the sum matches the award and the schedule of values adds up to it.
  • Confirm the legal names and license numbers on both sides.
  • Check the dates against the prime contract and the project schedule.
  • Confirm the insurance limits match your subcontract form, and the certificate meets them.

Free subcontractor agreement outline template

Use this outline to collect the facts a subcontract needs before you or your lawyer start drafting.

FieldWhat goes in it
PartiesContractor and subcontractor by exact legal name, address and license number.
Project and prime contractProject, 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 sumAwarded amount, in words and figures, with accepted alternates.
Schedule of valuesThe breakdown used for progress payments. It must add up to the sum.
Payment termsApplication date, days to pay, retainage, and any pay-when-paid wording.
Conditions of final paymentLien waivers, warranties and closeout documents.
Flow-down clauseHow the subcontractor is bound to the contractor for its scope.
ScheduleWork window, milestones and recovery obligations if the subcontractor falls behind.
ChangesWritten change orders only, and any markup limits on changed work.
Insurance and indemnityLimits, additional insured, waiver of subrogation and indemnity wording.
SafetyThe contractor's site safety program and OSHA compliance.
WarrantyCorrection period, matched to the prime contract.
Default and terminationNotice, cure, supplementation and termination for convenience.
Lien waiver schedule (Exhibit B)Which waivers come with which payment.
Signature blocksBoth companies, with license numbers and authorized signers.
Word templateExcel template

Blank forms, free to use and edit. Or skip the form and let the skill fill it in.

The skill file

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:

Preview SKILL.md (75 lines)
---
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.

Frequently asked questions

What is a subcontractor agreement?

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.

What should a subcontractor agreement include?

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.

What is pay-when-paid in a subcontract?

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.

Do you need a lawyer to write a subcontractor agreement?

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.

Can AI draft a subcontractor agreement?

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.

Related skills

Want these running for your whole team?

We set these skills up for your team, train your people on them, and build what they can't.

See how it works
Book a discovery call