Automatically classify and extract information from construction documents using NLP. Categorize RFIs, submittals, change orders, specifications, and contracts.
SkillScore83Maintained
Automatic
◆AI Engineer pack
Last verified 8/22/2026
What it changes
Passed 20 of 24 test cases with the skill, and 14 of 24 without it.
Without skill58%
With skill83%
Checks it passed that the model alone missed
Uses 5-fold cross validation
Uses LinearSVC as the classifier
Returns top 3 alternative classes
and 5 more in the full report
6 fixed14 passed either way4 still failing0 broke
Pass-rate lift
+25 pp
Tokens
+156%
Agent turns
0%
Response time
-26%
Model gemini-3.6-flashMeasured 8/22/2026v120 of 24 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 6
Prompt
When running rule-based classification on a document, if the text produces zero regex pattern matches across all construction document categories, what default label and confidence score should be assigned?
What was checked, without and with the skill
Checked
Without skill
With skill
Assigns the fallback class label 'Other'
Missed
Passed
Assigns a default confidence score of 0.5
Missed
Passed
case-06 · gemini-3.6-flash · 8/22/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md445 linessingle file
Document Classification with NLP
Overview
This skill implements NLP-based document classification and information extraction for construction projects. Automate document sorting, key term extraction, and content analysis.
Document Types:
RFIs (Requests for Information)
Submittals and shop drawings
Change orders and variations
Specifications and standards
Contracts and agreements
Safety reports and permits
Quick Start
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.naive_bayes import MultinomialNB
from sklearn.pipeline import Pipeline
import pandas as pd
# Sample training data
documents = [
("Please clarify the steel reinforcement spacing for the foundation slab", "RFI"),
("Attached shop drawing for HVAC ductwork layout", "Submittal"),
("Additional cost for unforeseen soil conditions", "Change Order"),
("Fire-rated wall assembly specification Section 09 21 16", "Specification"),
]
texts, labels = zip(*documents)
# Train classifier
classifier = Pipeline([
('tfidf', TfidfVectorizer(max_features=1000, ngram_range=(1, 2))),
('clf', MultinomialNB())
])
classifier.fit(texts, labels)
Convert AutoCAD DWG files (1983-2026) to Excel databases using DwgExporter CLI. Extract layers, blocks, attributes, and geometry data without Autodesk licenses.