/construction:submittal-log-generator [spec_range: all|div_08|div_09]from Construction Skills
Extracts submittal requirements from construction specification sections and generates a submittal register in Excel. Processes full project manuals with state persistence and confidence scoring.
Ships in Construction Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Long-running skill that processes every specification section to extract submittal requirements and produces a professional submittal register in Excel. Designed to handle full project manuals (200+ spec sections) with state persistence.
Prerequisite: This skill reads one .txt file per spec section. In an AgentCM project (.construction/project.yaml exists) AgentCM provides them in .construction/specs/. Otherwise /spec-splitter provisions them at .construction/skills/spec_text/, and it does so in an AgentCM project too for a manual AgentCM could not read. The provider owns text quality — extraction, repair, and quality assessment. This skill reads those .txt files and focuses on identifying submittal items.
This skill uses a three-tier approach:
.py, .sh, or other script files. Claude writes every item as JSON; merge_submittal_batches.py only joins the section files into the items file.safe_output_path() appends _v2, _v3, etc. automatically.Only execute these scripts during this skill:
${CLAUDE_SKILL_DIR}/scripts/export_submittal_log.py — Excel output from assembled JSON (Step 4)${CLAUDE_SKILL_DIR}/scripts/merge_submittal_batches.py — join a run's section files into its items file (Per-Section Processing Pattern, Resumption)${CLAUDE_PLUGIN_ROOT}/scripts/graph/write_finding.py — a finding in .construction/skills/submittal-log-generator/findings/ (Step 5)${CLAUDE_PLUGIN_ROOT}/scripts/issue_manager.py — log a submittal requirement with no matching spec product to the Issue Registry (command and severity mapping in construction-guide)!cat .construction/skills/submittal-log-generator/submittal_extraction_state.yaml 2>/dev/null || echo "No prior extraction — starting fresh"
The Excel submittal log MUST contain these columns in this order. Do not rename, reorder, or omit columns.
| Column | Description | Example |
|---|---|---|
| Spec Section | CSI section number | 03 30 00 |
| Spec Title | Section title | Cast-in-Place Concrete |
| Submittal No. | Sequential ID: [Section]-[###] | 03 30 00-001 |
| Submittal Type | Categorized type (see taxonomy below) | Product Data |
| Submittal Description | The actual submittal requirement, cleaned | Submit product data for each concrete mix design including compressive strength, admixtures, and mix proportions |
| Article Reference | Where found in the spec | 1.3.A.1 |
| Action/Informational | Action or Informational | Action |
| Confidence | HIGH / MEDIUM / LOW / FLAGGED | HIGH |
| Flag Reason | Empty if HIGH; explanation otherwise | Possible boilerplate — verify intent |
| Extraction Method | pdfplumber / vision / hybrid | pdfplumber |
| Notes | Any context Claude thinks the PE should know | Referenced mix designs in 03 31 00 |
Use the rigid export script for all Excel output. The script handles:
Submittal Log Progress:
- [ ] Step 0: Ensure spec text is available (invoke /spec-splitter if needed)
- [ ] Step 1: Submittal identification (per section, Claude intelligence)
- [ ] Step 2: Confidence scoring & flagging
- [ ] Step 3: Assembly & deduplication
- [ ] Step 4: Excel output (rigid script)
- [ ] Step 5: Write a finding
This skill reads from .construction/skills/spec_text/*.txt files provisioned by /spec-splitter, or in AgentCM mode from AgentCM's .construction/specs/. Check whether they exist and invoke spec-splitter if needed.
AgentCM mode (.construction/project.yaml exists):
.construction/INDEX.md. The queue is every section under ## Specification sections; read each from its Agent file, .construction/specs/<section>.txt (08 71 00 is 08-71-00.txt; each line starts with its page in the manual, which gives the page for citations). These files carry no quality rating.## Spec manuals not read, their sections are spec-splitter's: use Branch A or B below for those manuals only, and add their sections to the queue from .construction/skills/spec_text/manifest.json. Never invoke spec-splitter for a manual AgentCM has read.${CLAUDE_PLUGIN_ROOT}/reference/agentcm-mode.md (which source wins, missing files).Flat-file mode (no .construction/project.yaml): Branch A or B.
Branch A — Text already extracted:
.construction/skills/spec_text/manifest.json (older versions used .construction/spec_text/: if only that exists, copy it to .construction/skills/spec_text/ first and leave the old one as it is).txt files → inventory them, build the processing queue, proceed to Step 1quality_rating: "POOR" in the manifest — items extracted from these sections will receive a minimum confidence of MEDIUMBranch B — No text extracted:
construction:spec-splitter skill (Skill tool) yourself; don't ask the user to run it — it will handle everything: locating or splitting spec PDFs, extracting text, and repairing quality issues/spec-splitter completes, read .construction/skills/spec_text/manifest.json and proceed to Step 1Important: Always invoke spec-splitter as a skill (construction:spec-splitter) — do not call extract_spec_text.py or split_spec_manual.py directly. The spec-splitter skill manages directory discovery, naming conventions, text extraction, and text repair.
Build processing queue from manifest (in AgentCM mode, INDEX.md's sections plus these):
manifest.json.txt file existsStart a new run (unless Resumption, below, resumes one). Its files go in its own folder, .construction/skills/submittal-log-generator/runs/{run_id}/, with run_id the start time (20261202-0530): sections/ for the section files and submittal_extraction_items.json. A previous run's files are never mixed in or deleted: if submittal_extraction_state.yaml exists, first move it into its run's folder (mv); one with no run_id, from a version before run folders, goes with any submittal_extraction_items.json and submittal_batch_*.json beside it into .construction/skills/submittal-log-generator/runs/previous/.
Initialize state file:
# .construction/skills/submittal-log-generator/submittal_extraction_state.yaml
run_id: "20261202-0530"
started: "ISO-8601"
status: "in_progress"
total_sections: 48
processed: 0
current_section: null
queue_remaining: ["03 30 00", "04 20 00", ...]
submittals_found: 0
errors: []
For each section in the queue, read its .txt file (.construction/specs/ for a section AgentCM read, otherwise .construction/skills/spec_text/) and identify submittal items.
This is where your understanding of construction specifications matters most. Do not follow a rigid script here — use the domain knowledge below to identify every legitimate submittal requirement while filtering boilerplate.
Primary location (check first):
Secondary locations (always check these too):
Spec sections that are ENTIRELY about submittals:
Categorize every extracted item into one of these types. Use your judgment for edge cases — the descriptions below are guidance, not rigid rules.
Action Submittals (require Architect/Engineer review and response):
| Type | What It Is | Signal Phrases |
|---|---|---|
| Shop Drawings | Contractor-prepared drawings showing fabrication/installation details | "shop drawings showing/indicating/detailing", "installation drawings" |
| Product Data | Manufacturer's published literature, cut sheets, specs | "product data for/including", "manufacturer's data", "technical data", "catalog data", "cut sheets" |
| Samples | Physical samples of materials, colors, finishes | "samples of/for", "color samples", "finish samples", "material samples", "sample panels", "mock-ups" |
| Design Data | Engineering calculations, analysis, design documentation | "design data", "structural calculations", "engineering analysis", "seismic calculations", "load calculations" |
| Test Reports | Results from testing performed on products/materials | "test reports", "laboratory test results", "fire test reports", "independent testing" |
| Certificates | Third-party certifications of products/installers | "certificates", "certification", "ICC-ES report", "UL listing", "FM approval", "installer certification" |
| Delegated Design | PE-stamped submittals for contractor-designed portions | "delegated design", "deferred submittal", "professional engineer stamp", "PE-sealed" |
Informational Submittals (for record, no formal review/approval):
| Type | What It Is | Signal Phrases |
|---|---|---|
| Manufacturer's Instructions | Installation/application instructions | "manufacturer's instructions", "installation instructions", "written instructions" |
| Manufacturer's Field Reports | Field service reports from manufacturer's rep | "manufacturer's field report", "field service report" |
| Qualification Statements | Installer/manufacturer qualification documentation | "qualification statements", "qualifications for/of", "experience list", "project references" |
| Warranty | Warranty documentation | "warranty", "special warranty", "manufacturer's warranty" |
| O&M Data | Operation and maintenance manuals | "operation and maintenance", "O&M manual", "maintenance data" |
| LEED Submittals | LEED/green building documentation | "LEED", "sustainable design", "environmental product declaration", "EPD", "HPD" |
| Record Documents | As-built drawings, record drawings | "record documents", "record drawings", "as-built", "as-constructed" |
| Schedule | Submittal schedule, progress schedule | "submittal schedule", "progress schedule" |
If an item doesn't clearly fit a type, use "Product Data" as the default for action submittals and "Manufacturer's Instructions" as the default for informational submittals, but add a note explaining the ambiguity.
This is the hardest judgment call in the entire skill. Project Manuals contain enormous amounts of text that sounds like it could be a submittal requirement but isn't. Your job is to distinguish real, actionable submittal requirements from procedural boilerplate.
REAL submittal items have ALL of these characteristics:
BOILERPLATE has one or more of these characteristics:
THE CRITICAL RULE: When in doubt, INCLUDE the item and FLAG it.
Use the confidence/flagging system described below (and the Rules above).
Every extracted item gets a confidence score. This is the safety net that lets Claude aggressively identify submittals without fear of false positives polluting the final log.
HIGH — Clear, unambiguous submittal requirement
MEDIUM — Probable submittal, minor ambiguity
quality_rating: "POOR" or "DEGRADED" in the manifestLOW — Possible submittal, significant ambiguity
FLAGGED — Probably NOT a submittal but included for safety
Clear submittal language + in submittal article → HIGH
Clear submittal language + NOT in submittal article → MEDIUM
Unclear language + in submittal article → MEDIUM
Unclear language + NOT in submittal article → LOW
Looks like boilerplate but has submittal keywords → FLAGGED
Definitively boilerplate (headers, cross-refs) → EXCLUDE (do not include)
Items scored FLAGGED are included in the log but should be visually distinct (red conditional formatting) so the PE can quickly scan and remove them. This is better than Claude guessing wrong.
Things to EXCLUDE entirely (do not even flag):
Before writing to Excel:
Write the assembled data to the run's items file, .construction/skills/submittal-log-generator/runs/{run_id}/submittal_extraction_items.json (it already holds the merged sections)
This JSON file is the data contract between Claude's intelligence and the rigid export script. Schema:
{
"project_info": {
"project_name": "...",
"project_number": "...",
"owner": "...",
"extracted_date": "ISO-8601"
},
"submittal_items": [
{
"spec_section": "03 30 00",
"spec_title": "Cast-in-Place Concrete",
"submittal_no": "03 30 00-001",
"submittal_type": "Product Data",
"description": "...",
"article_ref": "1.3.A",
"action_informational": "Action",
"confidence": "HIGH",
"flag_reason": "",
"extraction_method": "pdfplumber",
"notes": ""
}
],
"qa_sections": [
{
"spec_section": "03 30 00",
"spec_title": "Cast-in-Place Concrete",
"extraction_method": "pdfplumber",
"quality_rating": "GOOD",
"failure_modes": "None",
"repair_attempted": "N",
"items_extracted": 4,
"flagged_items": 0
}
]
}
Assembly rules:
submittal_extraction_items.json yourself — you have the schema above, write the JSON directly.merge_submittal_batches.py before Step 3 (see Per-Section Processing Pattern) — do not write a script of your own to merge. Running it again after Step 3 adds nothing: a section already in the items file is never merged again.Discover the output location before running the export script:
06 - Submittals/, Submittals/, or similar--output "{submittals_dir}/Submittal_Log.xlsx"--output "Submittal_Log.xlsx" (project root)"${CLAUDE_PLUGIN_ROOT}/bin/construction-python" \
"${CLAUDE_SKILL_DIR}/scripts/export_submittal_log.py" \
--data ".construction/skills/submittal-log-generator/runs/{run_id}/submittal_extraction_items.json" \
--output "{resolved_output_path}"
The script produces three sheets:
The script uses safe_output_path() — if a file already exists at the target location, it auto-versions (e.g., Submittal_Log_v2.xlsx).
"${CLAUDE_PLUGIN_ROOT}/bin/construction-python" "${CLAUDE_PLUGIN_ROOT}/scripts/graph/write_finding.py" \
--skill "submittal-log-generator" --type "submittal_log_generated" \
--title "Submittal register: {N} items from {M} spec sections" \
--output-file "{resolved_output_path}" \
--data '{"total_submittals": 142, "sections_parsed": 48, "by_type": {"Product Data": 55, "Shop Drawings": 30}}'
Update state file:
status: "complete"
completed: "ISO-8601"
submittals_found: 142
output_file: "{resolved_output_path}"
Each section's items go to their own file as soon as the section is done: .construction/skills/submittal-log-generator/runs/{run_id}/sections/<section>.json (03-30-00.json for 03 30 00), a bare JSON array of that section's items, [] when it has none. A section is done when its file exists. merge_submittal_batches.py joins the files into the run's items file.
Sequential processing (under 60 sections): For each section in the queue, perform Steps 1-2 as a unit:
.txt from .construction/specs/ (a section AgentCM read) or .construction/skills/spec_text/quality_rating in manifest (spec-splitter's text only) — if POOR or DEGRADED, minimum confidence = MEDIUMsections/<section>.json, with the Write tool, before the next section: nothing is held in memory until Step 3After the last section, merge (command below).
Parallel processing (the default for 60+ sections):
Fan out: sub-agents process section batches simultaneously. Each agent MUST write each section's file on disk as it finishes the section, .construction/skills/submittal-log-generator/runs/{run_id}/sections/<section>.json (a bare JSON array, no wrapper), as above.
"${CLAUDE_PLUGIN_ROOT}/bin/construction-python" "${CLAUDE_SKILL_DIR}/scripts/merge_submittal_batches.py" --dir ".construction/skills/submittal-log-generator/runs/{run_id}"
It refuses a section file that is not a JSON array, naming it, and writes nothing. It never merges a section that is already in the items file, so it can run again on resume or after Step 3.project_info and qa_sections (Step 3) to produce the final submittal_extraction_items.jsonAnti-pattern — never do this: Do not have agents return JSON in their response text and then parse it from conversation logs (JSONL). This is fragile and leads to data corruption. If a section's file is missing, that section is not done: re-run it.
After all sections are merged, write the final submittal_extraction_items.json per the schema in Step 3.
Check for .construction/skills/submittal-log-generator/submittal_extraction_state.yaml. Resume only when it has status: in_progress and a run_id (Step 0 writes both; Step 5 sets complete). The sections still to do are queue_remaining less every section with a file in .construction/skills/submittal-log-generator/runs/{run_id}/sections/. Do those, then merge. Otherwise (no state file, status: complete, or no run_id) start a new run (Step 0).
After generating the register, perform a review pass before presenting to the engineer:
Read each item and assess whether it describes an actual deliverable or a procedural instruction:
Tell the engineer: "I generated a submittal register with [N] items from [M] spec sections. [Y] items appear to be procedural references rather than submittal requirements — these are flagged. Would you like to review the flagged items?"
The engineer makes the final decision on what to keep or remove.
/spec-splitter handles this — it detects section title pages via pattern matching./spec-splitter's responsibility/spec-splitter's responsibilityFor a spec section 07 92 00 - Joint Sealants that contains:
1.3 ACTION SUBMITTALS
A. Product Data: For each joint-sealant product indicated.
B. Samples for Initial Selection: For each type of joint sealant
and for each color required.
C. Joint-Sealant Schedule: Include the following information:
1. Joint identification number for each joint indicated.
2. Joint-sealant product for each joint.
3. Joint-sealant color for each joint.
1.4 INFORMATIONAL SUBMITTALS
A. Qualification Data: For Installer.
B. Product test reports.
The output should be:
| Spec Section | Submittal No. | Submittal Type | Submittal Description | Article Ref | A/I | Confidence |
|---|---|---|---|---|---|---|
| 07 92 00 | 07 92 00-001 | Product Data | Product data for each joint-sealant product indicated | 1.3.A | Action | HIGH |
| 07 92 00 | 07 92 00-002 | Samples | Samples for initial selection for each type of joint sealant and for each color required | 1.3.B | Action | HIGH |
| 07 92 00 | 07 92 00-003 | Schedule | Joint-sealant schedule including joint identification number, joint-sealant product, and joint-sealant color for each joint | 1.3.C | Action | HIGH |
| 07 92 00 | 07 92 00-004 | Qualification Statements | Qualification data for installer | 1.4.A | Informational | HIGH |
| 07 92 00 | 07 92 00-005 | Test Reports | Product test reports | 1.4.B | Informational | HIGH |
Note: The sub-items under 1.3.C (1, 2, 3) are rolled into the parent submittal item's description. They describe what the schedule includes, not separate submittals. Use judgment for this — sometimes numbered sub-items ARE separate submittals (especially when each starts with "Submit..." or describes a different product/system).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dleerdefi/claude-code-construction --plugin construction14 skills in this plugin
/bid-evaluatorEvaluate tabulated subcontractor bids against specs and drawings — scope gap analysis, exclusion risk scoring, award recommendation. Triggers: 'evaluate bids', 'bid evaluation', 'lowest responsible bidder'.
/bid-tabulatorExtract data from subcontractor bid PDFs and produce a comparison spreadsheet. Feeds into /bid-evaluator. Triggers: 'tabulate bids', 'bid comparison', 'compare bids', 'buyout analysis', 'bid tab'.
/code-researcherResearches which building codes, accessibility standards and authority requirements (health department, fire marshal, state agency) apply to a scope or spec section, and which the project documents miss. Use for 'what codes apply', 'code check', 'ADA requirements', 'egress', 'health department'. Not for reading what the drawings or specs say (construction-guide).
/construction-guideOperating guide for construction project documents — load before reading drawings, specs, schedules, RFIs, submittals or bids. Data-access rules (never read PDFs directly; rasterize first), AgentCM graph-guided vision, drawing and cross-reference conventions, document precedence. Triggers: 'construction project', 'drawings', 'specs', 'sheet', 'RFI', 'submittal'.
/pe-reviewChecks construction drawings and specs for what's missing, cross-trade coordination conflicts and scope gaps, with PE judgment. Use for 'what's missing', 'check coordination', 'scope gap', or researching an RFI before answering it. Not for drafting RFIs (rfi-drafter), code research (code-researcher) or reviewing a submittal package (the user runs /construction:submittal-review).
/project-setupSet up a construction project — inventories files, classifies drawings/specs/schedules/registers and appends construction context to CLAUDE.md; in an AgentCM project, prints AgentCM's orientation instead. Triggers: 'set up project', 'construction setup', 'classify documents'.
Other plugins' skills for the same job