subcontractor-agreement

Drafts enforceable U.S. subcontractor agreements governing general contractor/subcontractor relationships for construction and service projects. Covers scope of work, payment and retainage, insurance and bonding, indemnification, schedule compliance, termination, and dispute resolution with state-specific compliance. Use when drafting subcontracts, subcontractor agreements, construction service agreements, or contractor engagement documents.

11 stars

Best use case

subcontractor-agreement is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Drafts enforceable U.S. subcontractor agreements governing general contractor/subcontractor relationships for construction and service projects. Covers scope of work, payment and retainage, insurance and bonding, indemnification, schedule compliance, termination, and dispute resolution with state-specific compliance. Use when drafting subcontracts, subcontractor agreements, construction service agreements, or contractor engagement documents.

Teams using subcontractor-agreement should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/subcontractor-agreement/SKILL.md --create-dirs "https://raw.githubusercontent.com/CaseMark/skills/main/skills/legal/subcontractor-agreement/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/subcontractor-agreement/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How subcontractor-agreement Compares

Feature / Agentsubcontractor-agreementStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Drafts enforceable U.S. subcontractor agreements governing general contractor/subcontractor relationships for construction and service projects. Covers scope of work, payment and retainage, insurance and bonding, indemnification, schedule compliance, termination, and dispute resolution with state-specific compliance. Use when drafting subcontracts, subcontractor agreements, construction service agreements, or contractor engagement documents.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Subcontractor Agreement

Drafts a subcontractor agreement that defines scope, allocates risk, and ensures compliance with applicable construction and contract law.

## Prerequisites

1. **Prime contract** — owner-contractor agreement including flow-down provisions
2. **Scope documents** — plans, specifications, drawings, or SOW for the subcontracted work
3. **Project details** — location (state/county), timeline, milestones, project type
4. **Party information** — legal names, entity types, states of formation, authorized signatories
5. **Insurance requirements** — Contractor's minimum coverage expectations
6. **Payment structure** — lump sum, unit price, T&M, or cost-plus; retainage percentage

## Section Outline

| # | Section | Key Contents |
|---|---------|-------------|
| 1 | Parties | Legal names, entity types, state of formation, DBAs, authorized reps |
| 2 | Recitals | Prime contract reference, project description, subcontract purpose |
| 3 | Scope of Work | Included/excluded work, specs, materials/equipment, permits, change order process |
| 4 | Contract Price & Payment | Price structure, invoicing, payment timing, retainage (5–10%), lien waivers, disputed amounts, late payment interest |
| 5 | Schedule | Start/completion dates, milestones, delay notice, liquidated damages, force majeure |
| 6 | Insurance & Bonding | CGL, workers' comp, auto, professional liability minimums; additional insured; waiver of subrogation; bonds |
| 7 | Indemnification | Defense/indemnity/hold-harmless; state anti-indemnity statute compliance |
| 8 | Confidentiality | Definition, obligations, exceptions, survival (2–5 years) |
| 9 | Termination | For cause (with cure), for convenience (work performed + demobilization), post-termination duties |
| 10 | Dispute Resolution | Governing law, tiered process (negotiation → mediation → arbitration/litigation), fee allocation |
| 11 | General Provisions | Independent contractor status, compliance, assignment restrictions, severability, integration |
| 12 | Execution | Signature blocks, counterparts, e-signature authorization |

## Payment Clause Template

```
Section _: COMPENSATION AND PAYMENT

_.1 Contract Price. Contractor shall pay Subcontractor [LUMP SUM $_____ /
unit prices per Exhibit _ / T&M per rate schedule Exhibit _] for complete
performance of the Work.

_.2 Invoicing. Subcontractor shall submit invoices [monthly by the ___ day /
upon milestone completion] with: (a) itemized work completed; (b) supporting
documentation; (c) conditional lien waivers for current payment;
(d) unconditional lien waivers for prior payment.

_.3 Payment. Contractor shall pay undisputed amounts within [30] days of
receipt of a proper invoice, less retainage of [___]%.

_.4 Retainage Release. Retainage released within [30] days after:
(a) final completion and acceptance; (b) unconditional final lien waiver;
(c) delivery of all close-out documents.

_.5 Disputed Amounts. Contractor may withhold for disputed or defective
work but shall pay undisputed amounts per §_.3.

_.6 Late Payment. Overdue undisputed amounts bear interest at [___]% per
annum [or the maximum rate under [State] law].
```

## Insurance Minimums

| Coverage | Limits | Notes |
|----------|--------|-------|
| Commercial General Liability | $1–2M occurrence / $2–4M aggregate | Contractor + Owner as additional insureds |
| Workers' Compensation | Statutory | Employer's liability $1M |
| Auto Liability | $1M CSL | If vehicles used on project |
| Professional Liability | $1M per claim | If design/professional services involved |
| Builder's Risk | As appropriate | If applicable to work type |

All policies: 30-day cancellation notice; waiver of subrogation; certificates due before work begins.

## Indemnification Checklist

- [ ] Subcontractor indemnifies for claims arising from its work, negligence, or breach
- [ ] State anti-indemnity statute compliance verified:
  - **Type I** (e.g., CA, TX, FL): Void if covers indemnitee's sole negligence [VERIFY]
  - **Type II** (e.g., NY, IL): Void if covers indemnitee's any negligence [VERIFY]
  - **No restriction**: Broad indemnity permitted [VERIFY]
- [ ] Mutual indemnification for respective negligence considered
- [ ] Duty to defend included (not just indemnify)
- [ ] Indemnity survives termination

## Termination Framework

| Type | Notice | Cure Period | Payment Owed |
|------|--------|-------------|-------------|
| For Cause — curable | Written | 5–10 days | Work performed less damages |
| For Cause — incurable/safety | Written | None | Work performed less damages |
| For Cause — insolvency | Written | None | Work performed less damages |
| For Convenience | Written, [__] days | N/A | Work performed + demobilization; no lost profit |

## State-Specific Compliance

Check these for the project state before drafting:

- **Retainage caps** — many states cap at 5% or 10%
- **Prompt payment statutes** — prescribed payment timelines and interest rates
- **Mechanic's lien requirements** — preliminary notice deadlines and waiver forms
- **Anti-indemnity statutes** — see Indemnification Checklist above
- **Prevailing wage** — if public project or Davis-Bacon applies, include certified payroll requirements

## Guidelines

- Flow-down prime contract obligations by reference; ensure no conflicts with prime terms
- Liquidated damages must be a reasonable pre-estimate of harm, not a penalty — document the basis
- Include explicit OSHA safety obligations and right-to-stop-work for violations
- All scope/price/time changes require written change orders — no oral modifications
- Match lien waiver types (conditional/unconditional, progress/final) to state statutory forms
- Explicitly disclaim employment relationship; Subcontractor responsible for its own taxes and workers' comp
- Use initial caps for defined terms consistently; avoid undefined "reasonable" or "promptly"
- **Do not** include arbitration without confirming client preference
- **Do not** draft indemnification broader than state law permits

Related Skills

work-for-hire-agreement

11
from CaseMark/skills

Drafts a U.S. Work for Hire Agreement under 17 U.S.C. §§ 101 and 201(b) with fallback IP assignment, creator warranties, and indemnification. Trigger when commissioning software, designs, content, or other creative work requiring clear IP ownership, or when drafting WFH clauses for consulting and service agreements.

voting-agreement

11
from CaseMark/skills

Drafts enforceable shareholder Voting Agreements coordinating director elections, fundamental transactions, charter amendments, and other corporate matters for closely-held companies and venture financings. Covers DGCL §218 compliance, irrevocable proxy mechanics, transfer-binding provisions, and integration with related governance documents. Trigger keywords: "voting agreement", "shareholder voting", "director election commitment", "irrevocable proxy", "board composition agreement", "DGCL 218".

underwriting-agreement

11
from CaseMark/skills

Drafts a firm-commitment underwriting agreement for SEC-registered U.S. public offerings, covering purchase terms, greenshoe, reps and warranties, covenants, closing conditions, indemnification, and market-out rights. Use when drafting or reviewing underwriting agreements, firm commitment deals, over-allotment options, or listing approvals; trigger on "underwriting agreement", "firm commitment", "public offering", "greenshoe", "over-allotment", "registration statement", "prospectus".

triple-net-lease-agreement

11
from CaseMark/skills

Drafts U.S. commercial triple-net (NNN) lease agreements from deal materials. Triggers on term sheets, LOIs, or due-diligence packets where rent, taxes, insurance, and maintenance allocate to the tenant. Produces an execution-ready lease covering expense pass-throughs, use controls, default/remedy architecture, transfer gates, indemnity/insurance, SNDA, and exhibits.

transitional-services-agreement

11
from CaseMark/skills

Drafts a Transitional Services Agreement (TSA) for post-closing seller-to-buyer service delivery in U.S. M&A transactions. Use when a corporate acquisition requires temporary operational support or seller-provided service continuity after closing.

transfer-agent-agreement

11
from CaseMark/skills

Drafts U.S. transfer agent agreements between issuers and SEC-registered transfer agents covering appointment, stock ledger, transfer processing, Rule 17Ad compliance, fees, termination, and transition. Trigger on: transfer agent agreement, stock ledger, shareholder registry, TA-1, TA-2, 17Ad, appointing or renewing a transfer agent.

trademark-license-agreement

11
from CaseMark/skills

Drafts a U.S. Trademark License Agreement governing a licensor's grant of rights to a licensee for authorized use of registered or common law marks. Covers exclusivity, field of use, territory, quality control, royalties, audit rights, and termination. Use when drafting IP licensing deals, brand licensing arrangements, co-branding agreements, or any transaction requiring controlled trademark use by a third party.

tila-consumer-loan-agreement

11
from CaseMark/skills

Drafts U.S. consumer loan agreements with integrated Truth in Lending (TILA/Reg Z) disclosures, including disclosure-box construction, APR and finance-charge calculations, payment schedule formatting, prepayment/default/enforcement clauses, co-signer notices, and state-law overlays. Produces an execution-ready contract and disclosure package. Trigger keywords: consumer loan agreement, TILA, Regulation Z, Truth in Lending, APR disclosure, finance charge, loan contract drafting, closed-end credit, Reg Z disclosure box.

term-loan-agreement

11
from CaseMark/skills

Drafts U.S. corporate finance term loan agreements covering economic terms, covenants, collateral, events of default, and enforcement mechanics. Trigger when the user requests a term loan agreement, commercial loan, senior secured facility, SOFR-based loan, amortization schedule, covenant package, or bilateral loan documentation.

technology-transfer-agreement

11
from CaseMark/skills

Drafts Technology Transfer Agreements governing IP rights, license grants, royalties, and commercialization obligations between licensors and licensees. Triggers when drafting technology licenses, university tech transfer deals, IP licensing, or know-how transfers in biotech, software, or clean energy sectors.

teaming-agreement

11
from CaseMark/skills

Drafts Teaming Agreements for prime-sub pursuit of U.S. government contracts. Covers proposal-phase and post-award obligations with FAR compliance. Use when drafting teaming agreements, prime-sub teaming arrangements, or federal solicitation collaboration agreements.

subscription-agreement

11
from CaseMark/skills

Drafts U.S. corporate subscription agreements for SaaS and service relationships. Extracts deal terms and produces a balanced agreement covering scope, fees, term/renewal, IP, data protection, warranties, liability, and boilerplate. Use when drafting a "subscription agreement", "SaaS agreement", "service subscription", "membership agreement", "auto-renewal contract", or "SLA agreement".