subcontract-writer SKILL.md skillA

subcontract-writer from dleerdefi/claude-code-construction is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dleerdefi/claude-code-construction/subcontract-writer@git:20261016.c569de8

Pins git:20261016.c569de8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
dleerdefi/claude-code-construction
Path
skills/subcontract-writer/SKILL.md
Versions recorded
5
Latest version
git:20261016.c569de8, committed Oct 16, 2026
First version recorded
Oct 12, 2026
Size
32,140 bytes
Repository stars
44
License
MIT

Generate a complete subcontract from a firm's template, awarded bid, and project specs. Outputs a Word document. Triggers: 'subcontract', 'sub agreement', 'write contract', 'draft subcontract'. Requires awarded bid.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Subcontract Writer

Generates a complete, execution-ready subcontract agreement from a firm's template, the awarded bid, and project specifications. **You are the intelligence layer** — you read every document, extract all data, generate every article's text, make legal/commercial judgments, and write fully-populated JSON files. The Python formatter is a thin rendering utility that makes no content decisions.

**Output:** Word document (.docx) matching the firm's template structure.

**Dependency:** Requires `python-docx` in the construction Python environment.

**Key principle:** The bid document is the PRIMARY input. It establishes what was priced, at what rates, with what inclusions and exclusions. Specifications inform scope descriptions and technical requirements. The template provides article structure and standard boilerplate.

---

## Pipeline Position
This skill can be invoked directly when the user has an awarded bid and wants to generate a subcontract, or as the final step of the bid pipeline:
```
/bid-tabulator → /bid-evaluator → user confirms → THIS SKILL
```
Either way, the awarded bid document (Slot B) is the mandatory input.

## Mode Detection
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dleerdefi/claude-code-construction/subcontract-writer@sha256:e1a8ff8c8bc4fa1f

The line at the top of this page pins the label git:20261016.c569de8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xeilssnt3upeyf77.svg)](https://markdownregistry.com/a/art_xeilssnt3upeyf77)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 12, 2026 and Oct 16, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261016.c569de8 latest2026-10-16 c569de8 32,140 BA view · diff
git:20261015.8644bd42026-10-15 8644bd4 31,715 BA view · diff
git:20261013.b0be1732026-10-13 b0be173 31,502 BA view · diff
git:20261012.b36b09f2026-10-12 b36b09f 31,010 BA view · diff
git:20261012.ac00b962026-10-12 ac00b96 30,744 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (32140 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dleerdefi/claude-code-construction · 44 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xeilssnt3upeyf77
GET https://markdownregistry.com/api/v1/resolve?ref=dleerdefi/claude-code-construction/subcontract-writer
GET https://markdownregistry.com/api/v1/blob/e1a8ff8c8bc4fa1f8b18f3cfd652e9f92035709db37c281678cb10dc5a082beb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from dleerdefi/claude-code-construction

CLAUDE.md@.claude CLAUDE.md file
dleerdefi/claude-code-construction · .claude/CLAUDE.md
git:20261018.a8e3c01 · audit A · 44 stars
CLAUDE.md@evals/plugin/_fixtures/foodservice-project CLAUDE.md file
dleerdefi/claude-code-construction · evals/plugin/_fixtures/foodservice-project/CLAUDE.md
git:20261003.691b83e · audit A · 44 stars
CLAUDE.md@evals/plugin/_fixtures/sample-project CLAUDE.md file
dleerdefi/claude-code-construction · evals/plugin/_fixtures/sample-project/CLAUDE.md
git:20261002.acac792 · audit B · 44 stars
CLAUDE.md@evals/plugin/_fixtures/submittal-project CLAUDE.md file
dleerdefi/claude-code-construction · evals/plugin/_fixtures/submittal-project/CLAUDE.md
git:20261004.7ba90c1 · audit A · 44 stars
CLAUDE.md@evals/plugin/agentcm-mode/construction CLAUDE.md file
dleerdefi/claude-code-construction · evals/plugin/agentcm-mode/construction/CLAUDE.md
git:20261016.e71a0b1 · audit A · 44 stars
CLAUDE.md@evals/plugin/agentcm-mode/project CLAUDE.md file
dleerdefi/claude-code-construction · evals/plugin/agentcm-mode/project/CLAUDE.md
git:20261014.005e03d · audit A · 44 stars
bid-evaluator SKILL.md skill
dleerdefi/claude-code-construction · skills/bid-evaluator/SKILL.md · Evaluate tabulated subcontractor bids against specs and drawings — scope gap analysis, exclusion risk scoring, award…
git:20261016.34d1544 · audit A · 44 stars
bid-tabulator SKILL.md skill
dleerdefi/claude-code-construction · skills/bid-tabulator/SKILL.md · Extract data from subcontractor bid PDFs and produce a comparison spreadsheet. Feeds into /bid-evaluator. Triggers…
git:20261012.3d0a1f4 · audit A · 44 stars
code-researcher SKILL.md skill
dleerdefi/claude-code-construction · skills/code-researcher/SKILL.md · Researches which building codes, accessibility standards and authority requirements (health department, fire marshal…
git:20261012.6a59640 · audit A · 44 stars
construction-guide SKILL.md skill
dleerdefi/claude-code-construction · skills/construction-guide/SKILL.md · Operating guide for construction project documents — load before reading drawings, specs, schedules, RFIs, submittals…
git:20261016.34d1544 · audit A · 44 stars
pe-review SKILL.md skill
dleerdefi/claude-code-construction · skills/pe-review/SKILL.md · Checks construction drawings and specs for what's missing, cross-trade coordination conflicts and scope gaps, with PE…
git:20261016.c874a0f · audit A · 44 stars
project-setup SKILL.md skill
dleerdefi/claude-code-construction · skills/project-setup/SKILL.md · Set up a construction project — inventories files, classifies drawings/specs/schedules/registers and appends…
git:20261014.7731c5f · audit A · 44 stars

Every file in dleerdefi/claude-code-construction

Browse by kind, by grade A, or by owner.