Cost Tracking
affaan-m/ECC
Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.
Agent skill
by datadrivenconstruction in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Calculate construction costs using DDC CWICR resource-based methodology.
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction cwicr-cost-calculator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .claude/skills && cp -r skills-src/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator .claude/skills/cwicr-cost-calculator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cwicr-cost-calculator" agent skill from https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator into .claude/skills/cwicr-cost-calculator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cwicr-cost-calculator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction cwicr-cost-calculator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .agents/skills && cp -r skills-src/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator .agents/skills/cwicr-cost-calculator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cwicr-cost-calculator" agent skill from https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator into .agents/skills/cwicr-cost-calculator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cwicr-cost-calculator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction cwicr-cost-calculator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator .cursor/skills/cwicr-cost-calculator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cwicr-cost-calculator" agent skill from https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator into .cursor/skills/cwicr-cost-calculator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cwicr-cost-calculator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git --path 1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction cwicr-cost-calculator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator .gemini/skills/cwicr-cost-calculator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cwicr-cost-calculator" agent skill from https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator into .gemini/skills/cwicr-cost-calculator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cwicr-cost-calculator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction cwicr-cost-calculatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .github/skills && cp -r skills-src/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator .github/skills/cwicr-cost-calculator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cwicr-cost-calculator" agent skill from https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator into .github/skills/cwicr-cost-calculator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cwicr-cost-calculator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction cwicr-cost-calculator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator .opencode/skills/cwicr-cost-calculator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cwicr-cost-calculator" agent skill from https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/main/1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator into .opencode/skills/cwicr-cost-calculator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cwicr-cost-calculator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cwicr-cost-calculatorCalculate construction costs using DDC CWICR resource-based methodology.
Cwicr Cost Calculator is an agent skill from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction. Calculate construction costs using DDC CWICR resource-based methodology. Break down costs into labor, materials, equipment with transparent pricing.
Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `claw.json` and `instructions.md`).
The repository describes itself as: 221 AI skills for construction: BIM analysis, cost estimation, scheduling, document control, and automation with Claude Code. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ce45bbf. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cwicr Cost Calculator loads about 4k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 107 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction at commit ce45bbf, republished under its MIT licence (© datadrivenconstruction). 107 words, ~4,002 tokens.
.claude/skills/cwicr-cost-calculator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Traditional cost estimation often produces "black box" estimates with hidden markups. Stakeholders need:
Resource-based cost calculation using CWICR methodology that separates physical norms (labor hours, material quantities) from volatile prices, enabling transparent and auditable estimates.
pip install pandas numpyimport pandas as pd
import numpy as np
from typing import Dict, Any, List, Optional, Tuple
from dataclasses import dataclass, field
from enum import Enum
from datetime import datetime
class CostComponent(Enum):
"""Cost breakdown components."""
LABOR = "labor"
MATERIAL = "material"
EQUIPMENT = "equipment"
OVERHEAD = "overhead"
PROFIT = "profit"
TOTAL = "total"
class CostStatus(Enum):
"""Cost calculation status."""
CALCULATED = "calculated"
ESTIMATED = "estimated"
MISSING_DATA = "missing_data"
ERROR = "error"
@dataclass
class CostBreakdown:
"""Detailed cost breakdown for a work item."""
work_item_code: str
description: str
unit: str
quantity: float
labor_cost: float = 0.0
material_cost: float = 0.0
equipment_cost: float = 0.0
overhead_cost: float = 0.0
profit_cost: float = 0.0
unit_price: float = 0.0
total_cost: float = 0.0
labor_hours: float = 0.0
labor_rate: float = 0.0
resources: List[Dict[str, Any]] = field(default_factory=list)
status: CostStatus = CostStatus.CALCULATED
def to_dict(self) -> Dict[str, Any]:
return {
'work_item_code': self.work_item_code,
'description': self.description,
'unit': self.unit,
'quantity': self.quantity,
'labor_cost': self.labor_cost,
'material_cost': self.material_cost,
'equipment_cost': self.equipment_cost,
'overhead_cost': self.overhead_cost,
'profit_cost': self.profit_cost,
'total_cost': self.total_cost,
'status': self.status.value
}
@dataclass
class CostSummary:
"""Summary of cost estimate."""
total_cost: float
labor_total: float
material_total: float
equipment_total: float
overhead_total: float
profit_total: float
item_count: int
currency: str
calculated_at: datetime
breakdown_by_category: Dict[str, float] = field(default_factory=dict)
class CWICRCostCalculator:
"""Resource-based cost calculator using CWICR methodology."""
DEFAULT_OVERHEAD_RATE = 0.15 # 15% overhead
DEFAULT_PROFIT_RATE = 0.10 # 10% profit
def __init__(self, cwicr_data: pd.DataFrame,
overhead_rate: float = None,
profit_rate: float = None,
currency: str = "USD"):
"""Initialize calculator with CWICR data."""
self.data = cwicr_data
self.overhead_rate = overhead_rate or self.DEFAULT_OVERHEAD_RATE
self.profit_rate = profit_rate or self.DEFAULT_PROFIT_RATE
self.currency = currency
# Index data for fast lookup
self._index_data()
def _index_data(self):
"""Create index for fast work item lookup."""
if 'work_item_code' in self.data.columns:
self._code_index = self.data.set_index('work_item_code')
else:
self._code_index = None
def calculate_item_cost(self, work_item_code: str,
quantity: float,
price_overrides: Dict[str, float] = None) -> CostBreakdown:
"""Calculate cost for single work item."""
# Find work item in database
if self._code_index is not None and work_item_code in self._code_index.index:
item = self._code_index.loc[work_item_code]
else:
# Try partial match
matches = self.data[
self.data['work_item_code'].str.contains(work_item_code, case=False, na=False)
]
if matches.empty:
return CostBreakdown(
work_item_code=work_item_code,
description="NOT FOUND",
unit="",
quantity=quantity,
status=CostStatus.MISSING_DATA
)
item = matches.iloc[0]
# Get base costs
labor_unit = float(item.get('labor_cost', 0) or 0)
material_unit = float(item.get('material_cost', 0) or 0)
equipment_unit = float(item.get('equipment_cost', 0) or 0)
# Apply price overrides if provided
if price_overrides:
if 'labor_rate' in price_overrides:
labor_norm = float(item.get('labor_norm', 0) or 0)
labor_unit = labor_norm * price_overrides['labor_rate']
if 'material_factor' in price_overrides:
material_unit *= price_overrides['material_factor']
if 'equipment_factor' in price_overrides:
equipment_unit *= price_overrides['equipment_factor']
# Calculate component costs
labor_cost = labor_unit * quantity
material_cost = material_unit * quantity
equipment_cost = equipment_unit * quantity
# Direct costs
direct_cost = labor_cost + material_cost + equipment_cost
# Overhead and profit
overhead_cost = direct_cost * self.overhead_rate
profit_cost = (direct_cost + overhead_cost) * self.profit_rate
# Total
total_cost = direct_cost + overhead_cost + profit_cost
# Unit price
unit_price = total_cost / quantity if quantity > 0 else 0
return CostBreakdown(
work_item_code=work_item_code,
description=str(item.get('description', '')),
unit=str(item.get('unit', '')),
quantity=quantity,
labor_cost=labor_cost,
material_cost=material_cost,
equipment_cost=equipment_cost,
overhead_cost=overhead_cost,
profit_cost=profit_cost,
unit_price=unit_price,
total_cost=total_cost,
labor_hours=float(item.get('labor_norm', 0) or 0) * quantity,
labor_rate=float(item.get('labor_rate', 0) or 0),
status=CostStatus.CALCULATED
)
def calculate_estimate(self, items: List[Dict[str, Any]],
group_by_category: bool = True) -> CostSummary:
"""Calculate cost estimate for multiple items."""
breakdowns = []
for item in items:
code = item.get('work_item_code') or item.get('code')
qty = item.get('quantity', 0)
overrides = item.get('price_overrides')
breakdown = self.calculate_item_cost(code, qty, overrides)
breakdowns.append(breakdown)
# Aggregate totals
labor_total = sum(b.labor_cost for b in breakdowns)
material_total = sum(b.material_cost for b in breakdowns)
equipment_total = sum(b.equipment_cost for b in breakdowns)
overhead_total = sum(b.overhead_cost for b in breakdowns)
profit_total = sum(b.profit_cost for b in breakdowns)
total_cost = sum(b.total_cost for b in breakdowns)
# Group by category if requested
breakdown_by_category = {}
if group_by_category:
for b in breakdowns:
# Extract category from work item code prefix
category = b.work_item_code.split('-')[0] if '-' in b.work_item_code else 'Other'
if category not in breakdown_by_category:
breakdown_by_category[category] = 0
breakdown_by_category[category] += b.total_cost
return CostSummary(
total_cost=total_cost,
labor_total=labor_total,
material_total=material_total,
equipment_total=equipment_total,
overhead_total=overhead_total,
profit_total=profit_total,
item_count=len(breakdowns),
currency=self.currency,
calculated_at=datetime.now(),
breakdown_by_category=breakdown_by_category
)
def calculate_from_qto(self, qto_df: pd.DataFrame,
code_column: str = 'work_item_code',
quantity_column: str = 'quantity') -> pd.DataFrame:
"""Calculate costs from Quantity Takeoff DataFrame."""
results = []
for _, row in qto_df.iterrows():
code = row[code_column]
qty = row[quantity_column]
breakdown = self.calculate_item_cost(code, qty)
result = breakdown.to_dict()
# Add original QTO columns
for col in qto_df.columns:
if col not in result:
result[f'qto_{col}'] = row[col]
results.append(result)
return pd.DataFrame(results)
def apply_regional_factors(self, base_costs: pd.DataFrame,
region_factors: Dict[str, float]) -> pd.DataFrame:
"""Apply regional adjustment factors."""
adjusted = base_costs.copy()
if 'labor_cost' in adjusted.columns and 'labor' in region_factors:
adjusted['labor_cost'] *= region_factors['labor']
if 'material_cost' in adjusted.columns and 'material' in region_factors:
adjusted['material_cost'] *= region_factors['material']
if 'equipment_cost' in adjusted.columns and 'equipment' in region_factors:
adjusted['equipment_cost'] *= region_factors['equipment']
# Recalculate totals
adjusted['direct_cost'] = (
adjusted.get('labor_cost', 0) +
adjusted.get('material_cost', 0) +
adjusted.get('equipment_cost', 0)
)
adjusted['total_cost'] = adjusted['direct_cost'] * (1 + self.overhead_rate) * (1 + self.profit_rate)
return adjusted
def compare_estimates(self, estimate1: CostSummary,
estimate2: CostSummary) -> Dict[str, Any]:
"""Compare two cost estimates."""
return {
'total_difference': estimate2.total_cost - estimate1.total_cost,
'total_percent_change': (
(estimate2.total_cost - estimate1.total_cost) /
estimate1.total_cost * 100 if estimate1.total_cost > 0 else 0
),
'labor_difference': estimate2.labor_total - estimate1.labor_total,
'material_difference': estimate2.material_total - estimate1.material_total,
'equipment_difference': estimate2.equipment_total - estimate1.equipment_total,
'item_count_difference': estimate2.item_count - estimate1.item_count
}
class CostReportGenerator:
"""Generate cost reports from calculations."""
def __init__(self, calculator: CWICRCostCalculator):
self.calculator = calculator
def generate_summary_report(self, items: List[Dict[str, Any]]) -> Dict[str, Any]:
"""Generate summary cost report."""
summary = self.calculator.calculate_estimate(items)
return {
'report_date': datetime.now().isoformat(),
'currency': summary.currency,
'total_cost': round(summary.total_cost, 2),
'breakdown': {
'labor': round(summary.labor_total, 2),
'material': round(summary.material_total, 2),
'equipment': round(summary.equipment_total, 2),
'overhead': round(summary.overhead_total, 2),
'profit': round(summary.profit_total, 2)
},
'percentages': {
'labor': round(summary.labor_total / summary.total_cost * 100, 1) if summary.total_cost > 0 else 0,
'material': round(summary.material_total / summary.total_cost * 100, 1) if summary.total_cost > 0 else 0,
'equipment': round(summary.equipment_total / summary.total_cost * 100, 1) if summary.total_cost > 0 else 0,
},
'item_count': summary.item_count,
'by_category': summary.breakdown_by_category
}
def generate_detailed_report(self, items: List[Dict[str, Any]]) -> pd.DataFrame:
"""Generate detailed line-item report."""
results = []
for item in items:
code = item.get('work_item_code') or item.get('code')
qty = item.get('quantity', 0)
breakdown = self.calculator.calculate_item_cost(code, qty)
results.append(breakdown.to_dict())
df = pd.DataFrame(results)
# Add totals row
totals = df[['labor_cost', 'material_cost', 'equipment_cost',
'overhead_cost', 'profit_cost', 'total_cost']].sum()
totals['description'] = 'TOTAL'
totals['work_item_code'] = ''
df = pd.concat([df, pd.DataFrame([totals])], ignore_index=True)
return df
# Convenience functions
def calculate_cost(cwicr_data: pd.DataFrame,
work_item_code: str,
quantity: float) -> float:
"""Quick cost calculation."""
calc = CWICRCostCalculator(cwicr_data)
breakdown = calc.calculate_item_cost(work_item_code, quantity)
return breakdown.total_cost
def estimate_project_cost(cwicr_data: pd.DataFrame,
items: List[Dict[str, Any]]) -> Dict[str, Any]:
"""Quick project cost estimate."""
calc = CWICRCostCalculator(cwicr_data)
report = CostReportGenerator(calc)
return report.generate_summary_report(items)import pandas as pd
from cwicr_data_loader import CWICRDataLoader
# Load CWICR data
loader = CWICRDataLoader()
cwicr = loader.load("TR_workitems_costs_resources_DDC_CWICR.parquet")
# Initialize calculator
calc = CWICRCostCalculator(cwicr)
# Calculate single item
breakdown = calc.calculate_item_cost("CONC-001", quantity=150)
print(f"Total: ${breakdown.total_cost:,.2f}")
print(f" Labor: ${breakdown.labor_cost:,.2f}")
print(f" Material: ${breakdown.material_cost:,.2f}")
print(f" Equipment: ${breakdown.equipment_cost:,.2f}")items = [
{'work_item_code': 'CONC-001', 'quantity': 150},
{'work_item_code': 'EXCV-002', 'quantity': 200},
{'work_item_code': 'REBAR-003', 'quantity': 15000} # kg
]
summary = calc.calculate_estimate(items)
print(f"Project Total: ${summary.total_cost:,.2f}")# Load BIM quantities
qto = pd.read_excel("quantities.xlsx")
# Calculate costs
costs = calc.calculate_from_qto(qto,
code_column='work_item',
quantity_column='quantity'
)
print(costs[['description', 'quantity', 'total_cost']])# Apply Berlin pricing
berlin_factors = {
'labor': 1.15, # 15% higher labor
'material': 0.95, # 5% lower materials
'equipment': 1.0
}
adjusted = calc.apply_regional_factors(costs, berlin_factors)© datadrivenconstruction, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in 1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator of datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction.
Open the folder on GitHubat commit ce45bbf
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction, which our catalogue first saw on October 9, 2026.
Cwicr Cost Calculator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cwicr Cost Calculator this skilldatadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction | 345 | 1 repos | ~4k | Automated safety check: Pass | MIT | |
| Cost Trackingaffaan-m/ECC | 277k | 1 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Cost Conversationruvnet/ruflo | 74k | — | ~407 | Automated safety check: Notes | MIT | |
| Cost Reportruvnet/ruflo | 74k | — | ~830 | Automated safety check: Notes | MIT | |
| Cost Optimizeruvnet/ruflo | 74k | — | ~997 | Automated safety check: Notes | MIT | |
| Cost Trackruvnet/ruflo | 74k | — | ~773 | Automated safety check: Notes | MIT |
affaan-m/ECC
Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.
ruvnet/ruflo
Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost
ruvnet/ruflo
Generate a cost report showing token usage and USD costs by agent and model
ruvnet/ruflo
Analyze token usage patterns and recommend cost optimizations with estimated savings
ruvnet/ruflo
Auto-capture per-session token usage from the Claude Code session jsonl and persist to the cost-tracking namespace
ruvnet/ruflo
Export cost-tracking telemetry in Prometheus textfile or webhook JSON formats — for external observability (Grafana, Datadog, custom dashboards)
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Orchestrate multiple AI agents for construction workflows: estimator, scheduler, document, QA and safety agents coordinated by a supervisor agent, with human checkpoints.
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Estimate embodied carbon and produce ESG/climate reporting for construction: LCA per work item, material-based carbon factors, EU taxonomy and CSRD alignment.
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Generative design for construction: text-to-BIM concepts, option generation, and AI-assisted design iteration with cost and carbon feedback.
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Material passports and circular construction: generate per-element material inventories from BOQ/BIM, mark reuse potential and recycled content, and prepare deconstruction data.
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Automated pipeline for retraining ML models with new construction data.
datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
Browse and search the OpenConstructionERP cost database: classification tree, SQL and semantic search, autocomplete, certainty badges, and the resource catalog.
Calculate construction costs using DDC CWICR resource-based methodology. Cwicr Cost Calculator is an agent skill from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction. Calculate construction costs using DDC CWICR resource-based methodology.
Run `npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a claude-code`. Or copy the skill folder (1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction) into .claude/skills/cwicr-cost-calculator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a codex`. Or copy the skill folder (1_DDC_Toolkit/CWICR-Database/cwicr-cost-calculator in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction) into .agents/skills/cwicr-cost-calculator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill cwicr-cost-calculator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cwicr-cost-calculator, .gemini/skills/cwicr-cost-calculator, .github/skills/cwicr-cost-calculator and .opencode/skills/cwicr-cost-calculator in your project.
Going by SKILL.md and its folder, Cwicr Cost Calculator needs the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cwicr Cost Calculator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cwicr Cost Calculator: Cost Tracking (affaan-m/ECC, 277k stars), Cost Conversation (ruvnet/ruflo, 74k stars), Cost Report (ruvnet/ruflo, 74k stars) and Cost Optimize (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
datadrivenconstruction (a GitHub user) maintains it in datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction, which has 345 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on August 22, 2026.
Source: datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.