Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build n8n pipeline for automated cost estimation from Revit/IFC using DDC CWICR database and LLM classification.
.claude/skills/datadrivenconstruction-n8n-cost-estimation/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 48% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 76% | 0% |
Traditional cost estimation requires:
Free open-source n8n pipeline that converts CAD (Revit 2015-2026) files into full cost and time estimates using AI (LLM) and vector database with 55,000+ work items.
| Traditional Role | Automated Alternative | |-----------------|----------------------| | BIM Manager manually exports data | Pipeline auto-classifies elements | | Junior Estimator searches databases | Vector search finds matches in ms | | Senior Estimator maps assemblies | LLM identifies quantity parameters | | Foreman calculates labor hours | DDC CWICR contains documented norms | | Project Manager aggregates costs | Pipeline outputs phased breakdown |
Processing speed: 3-10 seconds per element group
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Revit/IFC │───>│ CAD2DATA │───>│ Structured │
│ File │ │ Converter │ │ Excel/CSV │
└─────────────┘ └─────────────┘ └─────────────┘
│
▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Cost Report │<───│ Price Match │<───│ LLM Class. │
│ HTML/Excel │ │ DDC CWICR │ │ + QTO │
└─────────────┘ └─────────────┘ └─────────────┘javascript// Execute CAD converter const filePath = $input.first().json.file_path; const outputDir = filePath.replace(/\.[^.]+$/, ''); const command = `RvtExporter.exe "${filePath}" complete bbox`; // Returns: { xlsx_path, dae_path }
javascript// Read converted Excel into n8n const xlsx = $node["Read Binary Files"].json; const elements = xlsx.sheets["Elements"]; // Group by category for processing const grouped = elements.reduce((acc, el) => { const cat = el.Category; if (!acc[cat]) acc[cat] = []; acc[cat].push(el); return acc; }, {}); return Object.entries(grouped).map(([category, items]) => ({ json: {category, items, count: items.length} }));
javascript// Prompt for Claude/GPT classification const prompt = ` You are a construction estimator. Given these BIM elements: Category: ${$input.first().json.category} Sample elements: ${JSON.stringify($input.first().json.items.slice(0,5))} 1. Identify the construction work type 2. List relevant quantity parameters (Volume, Area, Length, Count) 3. Suggest standard work items from construction norms Return as JSON: { "work_type": "...", "quantity_params": ["Volume", "Area"], "suggested_items": ["Concrete foundation", "Formwork"] } `;
javascript// Search DDC CWICR database for matching work items const qdrantClient = require('@qdrant/js-client-rest'); const searchResults = await qdrantClient.search('cwicr_en_v3', { vector: await getEmbedding($input.first().json.work_description), limit: 10, score_threshold: 0.7 }); return searchResults.map(r => ({ json: { work_code: r.payload.work_item_code, description: r.payload.description, unit: r.payload.unit, unit_price: r.payload.unit_price, similarity: r.score } }));
javascript// Match quantities to prices const elements = $node["Load Elements"].json; const prices = $node["Vector Search"].json; let totalCost = 0; const breakdown = []; for (const el of elements.items) { const matchedPrice = prices.find(p => p.similarity > 0.8); if (matchedPrice) { const quantity = el.Volume || el.Area || 1; const cost = quantity * matchedPrice.unit_price; totalCost += cost; breakdown.push({ element: el.Name, quantity: quantity, unit: matchedPrice.unit, unit_price: matchedPrice.unit_price, total: cost }); } } return [{json: {totalCost, breakdown}}];
javascript// Create HTML report const data = $input.first().json; const html = ` <!DOCTYPE html> <html> <head> <title>Cost Estimate Report</title> <style> body { font-family: Arial, sans-serif; margin: 20px; } table { border-collapse: collapse; width: 100%; } th, td { border: 1px solid #ddd; padding: 8px; text-align: left; } th { background-color: #4CAF50; color: white; } .total { font-size: 1.5em; font-weight: bold; } </style> </head> <body> <h1>Cost Estimate Report</h1> <p class="total">Total: $${data.totalCost.toLocaleString()}</p> <table> <tr><th>Element</th><th>Quantity</th><th>Unit</th><th>Price</th><th>Total</th></tr> ${data.breakdown.map(row => ` <tr> <td>${row.element}</td> <td>${row.quantity.toFixed(2)}</td> <td>${row.unit}</td> <td>$${row.unit_price.toFixed(2)}</td> <td>$${row.total.toFixed(2)}</td> </tr> `).join('')} </table> </body> </html> `; return [{json: {html, filename: 'estimate_report.html'}}];
Example project (rac_basic_sample.rvt):
> "My subjective take: professionals who ignore workflow automation and AI-agents today have roughly 5 years before the construction industry moves past them. The tools are free and open. The data is open. The only question is who learns to use them first."
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-07 | fail→pass | 16,660 | 14,424 | -13% | 1 | 1 | 0% | 2,603 | 3,850 | +48% | 0 | 0 | — |
case-01 | fail→fail | 39,021 | 32,429 | -17% | 1 | 1 | 0% | 8,245 | 9,269 | +12% | 0 | 0 | — |
case-02 | fail→fail | 48,592 | 23,284 | -52% | 1 | 1 | 0% | 7,617 | 6,484 | -15% | 0 | 0 | — |
case-03 | pass→pass | 20,545 | 19,795 | -4% | 1 | 1 | 0% | 3,451 | 5,893 | +71% | 0 | 0 | — |
case-04 | pass→pass | 23,279 | 20,725 | -11% | 1 | 1 | 0% | 3,543 | 4,820 | +36% | 0 | 0 | — |
case-05 | pass→pass | 24,607 | 38,788 | +58% | 1 | 1 | 0% | 4,834 | 7,937 | +64% | 0 | 0 | — |
case-06 | fail→pass | 14,457 | 4,176 | -71% | 1 | 1 | 0% | 2,508 | 2,400 | -4% | 0 | 0 | — |
case-08 | fail→fail | 15,847 | 15,850 | +0% | 1 | 1 | 0% | 3,052 | 4,866 | +59% | 0 | 0 | — |
case-09 | pass→pass | 17,376 | 6,207 | -64% | 1 | 1 | 0% | 2,654 | 2,808 | +6% | 0 | 0 | — |
case-10 | fail→fail | 7,807 | 2,529 | -68% | 1 | 1 | 0% | 1,225 | 2,083 | +70% | 0 | 0 | — |
case-11 | fail→pass | 10,844 | 2,679 | -75% | 1 | 1 | 0% | 1,839 | 2,139 | +16% | 0 | 0 | — |
case-12 | fail→pass | 12,759 | 3,459 | -73% | 1 | 1 | 0% | 2,024 | 2,360 | +17% | 0 | 0 | — |
case-13 | fail→pass | 8,497 | 4,666 | -45% | 1 | 1 | 0% | 1,458 | 2,564 | +76% | 0 | 0 | — |
case-14 | fail→pass | 9,208 | 3,374 | -63% | 1 | 1 | 0% | 1,578 | 2,369 | +50% | 0 | 0 | — |
case-15 | fail→pass | 11,334 | 4,141 | -63% | 1 | 1 | 0% | 1,918 | 2,495 | +30% | 0 | 0 | — |
case-16 | fail→pass | 7,262 | 2,150 | -70% | 1 | 1 | 0% | 1,138 | 2,001 | +76% | 0 | 0 | — |
case-17 | fail→pass | 14,147 | 2,775 | -80% | 1 | 1 | 0% | 2,034 | 2,115 | +4% | 0 | 0 | — |
case-18 | fail→pass | 12,754 | 3,804 | -70% | 1 | 1 | 0% | 2,542 | 2,466 | -3% | 0 | 0 | — |
case-19 | fail→pass | 13,249 | 2,458 | -81% | 1 | 1 | 0% | 1,857 | 2,143 | +15% | 0 | 0 | — |
case-20 | fail→pass | 19,942 | 9,727 | -51% | 1 | 1 | 0% | 2,884 | 3,543 | +23% | 0 | 0 | — |
case-21 | fail→pass | 17,000 | 2,119 | -88% | 1 | 1 | 0% | 2,526 | 1,948 | -23% | 0 | 0 | — |
case-22 | fail→pass | 16,263 | 2,247 | -86% | 1 | 1 | 0% | 2,684 | 2,083 | -22% | 0 | 0 | — |
case-23 | fail→pass | 10,037 | 4,048 | -60% | 1 | 1 | 0% | 1,730 | 2,410 | +39% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +65 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/23/2026 | +68% |
Other measured skills in the registry, with their headline benchmark lift.