Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jdmorag97-rgb/DDC_Skills_for_AI_Agents_in_Construction --skill change-order-processorgit clone --depth 1 https://github.com/jdmorag97-rgb/DDC_Skills_for_AI_Agents_in_ConstructionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jdmorag97-rgb/ddc_skills_for_ai_agents_in_construction/change-order-processor)<a href="https://agentmods.dev/skills/jdmorag97-rgb/ddc_skills_for_ai_agents_in_construction/change-order-processor"><img src="https://agentmods.dev/badge/skills/jdmorag97-rgb/ddc_skills_for_ai_agents_in_construction/change-order-processor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jdmorag97-rgb/ddc_skills_for_ai_agents_in_construction/change-order-processor"><img src="https://agentmods.dev/badge/skills/jdmorag97-rgb/ddc_skills_for_ai_agents_in_construction/change-order-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.03128 |
| Opus 5 | $0.00012 | $0.01564 |
| Sonnet 5 | $0.00005 | $0.00626 |
| Haiku 4.5 | $0.00002 | $0.00313 |
Grade A, and why
change-order-processor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to change-order-processor — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 426 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Change Order Processor
Business Case
Problem Statement
Change orders cause project disruption:
- Delayed processing affects cash flow
- Unclear cost impact
- Lost documentation
- Schedule impacts not tracked
Solution
Streamlined change order processing with cost analysis, approval workflow, and impact tracking.
Business Value
- Faster processing - Reduce approval cycle time
- Cost control - Accurate change pricing
- Documentation - Complete audit trail
- Impact visibility - Schedule and budget effects
Technical Implementation
import pandas as pd
from datetime import datetime, date, timedelta
from typing import Dict, Any, List, Optional
from dataclasses import dataclass, field
from enum import Enum
class ChangeOrderStatus(Enum):
"""Change order status."""
DRAFT = "draft"
PENDING_REVIEW = "pending_review"
PENDING_APPROVAL = "pending_approval"
APPROVED = "approved"
REJECTED = "rejected"
VOID = "void"
class ChangeType(Enum):
"""Type of change."""
OWNER_REQUESTED = "owner_requested"
DESIGN_CHANGE = "design_change"
FIELD_CONDITION = "field_condition"
CODE_COMPLIANCE = "code_compliance"
VALUE_ENGINEERING = "value_engineering"
ERROR_OMISSION = "error_omission"
class ImpactType(Enum):
"""Impact categories."""
COST_INCREASE = "cost_increase"
COST_DECREASE = "cost_decrease"
TIME_INCREASE = "time_increase"
TIME_DECREASE = "time_decrease"
NO_IMPACT = "no_impact"
@dataclass
class CostItem:
"""Change order cost item."""
description: str
quantity: float
unit: str
unit_cost: float
total_cost: float
category: str # labor, material, equipment, subcontractor
markup_percent: float = 0.0
@dataclass
class ApprovalRecord:
"""Approval workflow record."""
approver_name: str
approver_role: str
action: str # approved, rejected, returned
action_date: datetime
comments: str = ""
@dataclass
class ChangeOrder:
"""Change order record."""
co_number: str
title: str
description: str
change_type: ChangeType
status: ChangeOrderStatus
created_date: date
created_by: str
# Cost
cost_items: List[CostItem] = field(default_factory=list)
direct_cost: float = 0.0
overhead_cost: float = 0.0
profit_cost: float = 0.0
total_cost: float = 0.0
# Schedule
schedule_impact_days: int = 0
affected_activities: List[str] = field(default_factory=list)
# Workflow
approvals: List[ApprovalRecord] = field(default_factory=list)
approved_date: Optional[date] = None
approved_by: str = ""
# References
rfi_reference: str = ""
spec_section: str = ""
drawing_reference: str = ""
location: str = ""
def to_dict(self) -> Dict[str, Any]:
return {
'co_number': self.co_number,
'title': self.title,
'change_type': self.change_type.value,
'status': self.status.value,
'created_date': self.created_date.isoformat(),
'direct_cost': self.direct_cost,
'overhead_cost': self.overhead_cost,
'profit_cost': self.profit_cost,
'total_cost': self.total_cost,
'schedule_impact': self.schedule_impact_days,
'approved_date': self.approved_date.isoformat() if self.approved_date else None
}
class ChangeOrderProcessor:
"""Process and manage change orders."""
DEFAULT_OVERHEAD_RATE = 0.10
DEFAULT_PROFIT_RATE = 0.10
def __init__(self, project_name: str, original_contract: float,
overhead_rate: float = None, profit_rate: float = None):
self.project_name = project_name
self.original_contract = original_contract
self.overhead_rate = overhead_rate or self.DEFAULT_OVERHEAD_RATE
self.profit_rate = profit_rate or self.DEFAULT_PROFIT_RATE
self.change_orders: Dict[str, ChangeOrder] = {}
self._co_counter = 0
def create_change_order(self,
title: str,
description: str,
change_type: ChangeType,
created_by: str,
rfi_reference: str = "",
location: str = "") -> ChangeOrder:
"""Create new change order."""
self._co_counter += 1
co_number = f"CO-{self._co_counter:04d}"
co = ChangeOrder(
co_number=co_number,
title=title,
description=description,
change_type=change_type,
status=ChangeOrderStatus.DRAFT,
created_date=date.today(),
created_by=created_by,
rfi_reference=rfi_reference,
location=location
)
self.change_orders[co_number] = co
return co
def add_cost_item(self, co_number: str,
description: str,
quantity: float,
unit: str,
unit_cost: float,
category: str,
markup_percent: float = 0.0):
"""Add cost item to change order."""
if co_number not in self.change_orders:
raise ValueError(f"Change order {co_number} not found")
co = self.change_orders[co_number]
total = quantity * unit_cost * (1 + markup_percent)
item = CostItem(
description=description,
quantity=quantity,
unit=unit,
unit_cost=unit_cost,
total_cost=total,
category=category,
markup_percent=markup_percent
)
co.cost_items.append(item)
self._recalculate_totals(co)
def _recalculate_totals(self, co: ChangeOrder):
"""Recalculate change order totals."""
co.direct_cost = sum(item.total_cost for item in co.cost_items)
co.overhead_cost = co.direct_cost * self.overhead_rate
co.profit_cost = (co.direct_cost + co.overhead_cost) * self.profit_rate
co.total_cost = co.direct_cost + co.overhead_cost + co.profit_cost
def set_schedule_impact(self, co_number: str, days: int,
affected_activities: List[str] = None):
"""Set schedule impact."""
if co_number not in self.change_orders:
raise ValueError(f"Change order {co_number} not found")
co = self.change_orders[co_number]
co.schedule_impact_days = days
co.affected_activities = affected_activities or []
def submit_for_review(self, co_number: str):
"""Submit change order for review."""
if co_number not in self.change_orders:
raise ValueError(f"Change order {co_number} not found")
co = self.change_orders[co_number]
if co.status != ChangeOrderStatus.DRAFT:
raise ValueError("Can only submit draft change orders")
co.status = ChangeOrderStatus.PENDING_REVIEW
def submit_for_approval(self, co_number: str, reviewer: str, comments: str = ""):
"""Submit for approval after review."""
if co_number not in self.change_orders:
raise ValueError(f"Change order {co_number} not found")
co = self.change_orders[co_number]
if co.status != ChangeOrderStatus.PENDING_REVIEW:
raise ValueError("Must be in review status")
co.approvals.append(ApprovalRecord(
approver_name=reviewer,
approver_role="Reviewer",
action="reviewed",
action_date=datetime.now(),
comments=comments
))
co.status = ChangeOrderStatus.PENDING_APPROVAL
def approve_change_order(self, co_number: str, approver: str,
approver_role: str, comments: str = ""):
"""Approve change order."""
if co_number not in self.change_orders:
raise ValueError(f"Change order {co_number} not found")
co = self.change_orders[co_number]
co.approvals.append(ApprovalRecord(
approver_name=approver,
approver_role=approver_role,
action="approved",
action_date=datetime.now(),
comments=comments
))
co.status = ChangeOrderStatus.APPROVED
co.approved_date = date.today()
co.approved_by = approver
def reject_change_order(self, co_number: str, rejector: str,
reason: str):
"""Reject change order."""
if co_number not in self.change_orders:
raise ValueError(f"Change order {co_number} not found")
co = self.change_orders[co_number]
co.approvals.append(ApprovalRecord(
approver_name=rejector,
approver_role="Approver",
action="rejected",
action_date=datetime.now(),
comments=reason
))
co.status = ChangeOrderStatus.REJECTED
def get_summary(self) -> Dict[str, Any]:
"""Generate change order summary."""
cos = list(self.change_orders.values())
by_status = {}
by_type = {}
total_approved = 0
total_pending = 0
total_schedule_impact = 0
for co in cos:
# By status
status = co.status.value
by_status[status] = by_status.get(status, 0) + 1
# By type
change_type = co.change_type.value
by_type[change_type] = by_type.get(change_type, 0) + co.total_cost
# Totals
if co.status == ChangeOrderStatus.APPROVED:
total_approved += co.total_cost
total_schedule_impact += co.schedule_impact_days
elif co.status in [ChangeOrderStatus.PENDING_REVIEW, ChangeOrderStatus.PENDING_APPROVAL]:
total_pending += co.total_cost
current_contract = self.original_contract + total_approved
return {
'project': self.project_name,
'original_contract': self.original_contract,
'approved_changes': total_approved,
'current_contract': current_contract,
'pending_changes': total_pending,
'potential_contract': current_contract + total_pending,
'total_change_orders': len(cos),
'by_status': by_status,
'by_type': by_type,
'total_schedule_impact_days': total_schedule_impact,
'change_percent': round(total_approved / self.original_contract * 100, 1) if self.original_contract > 0 else 0
}
def get_pending_approvals(self) -> List[ChangeOrder]:
"""Get change orders pending approval."""
return [co for co in self.change_orders.values()
if co.status in [ChangeOrderStatus.PENDING_REVIEW, ChangeOrderStatus.PENDING_APPROVAL]]
def export_log(self, output_path: str):
"""Export change order log to Excel."""
with pd.ExcelWriter(output_path, engine='openpyxl') as writer:
# Summary
summary = self.get_summary()
summary_df = pd.DataFrame([
{'Metric': 'Original Contract', 'Value': summary['original_contract']},
{'Metric': 'Approved Changes', 'Value': summary['approved_changes']},
{'Metric': 'Current Contract', 'Value': summary['current_contract']},
{'Metric': 'Pending Changes', 'Value': summary['pending_changes']},
{'Metric': 'Change %', 'Value': f"{summary['change_percent']}%"},
{'Metric': 'Schedule Impact (days)', 'Value': summary['total_schedule_impact_days']}
])
summary_df.to_excel(writer, sheet_name='Summary', index=False)
# Change order list
co_data = [co.to_dict() for co in self.change_orders.values()]
pd.DataFrame(co_data).to_excel(writer, sheet_name='Change Orders', index=False)
# Cost details
cost_data = []
for co in self.change_orders.values():
for item in co.cost_items:
cost_data.append({
'CO Number': co.co_number,
'Description': item.description,
'Quantity': item.quantity,
'Unit': item.unit,
'Unit Cost': item.unit_cost,
'Total': item.total_cost,
'Category': item.category
})
if cost_data:
pd.DataFrame(cost_data).to_excel(writer, sheet_name='Cost Details', index=False)
return output_path
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 426 lines · 24 tokens per session scan A cab2e3815156
change-order-processor is a skill published in the GitHub repository jdmorag97-rgb/DDC_Skills_for_AI_Agents_in_Construction (2 stars, last pushed 6mo ago), licensed MIT. It adds 24 tokens to every session and 3,128 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to change-order-processor, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
weekly-update
OpenDesign's weekly metrics standup: this week's numbers, the one anomaly, and the single decision it forces. Built as a decision-grade data & finance deck for ops & growth team.
close-management
Manage the month-end close process with task sequencing, dependencies, and status tracking. Use when planning the close calendar, tracking close progress, identifying blockers, or sequencing close activities by day.
dd-checklist
Generate and track comprehensive due diligence checklists tailored to the target company's sector, deal type, and complexity. Covers all major workstreams with request lists, status tracking, and red flag escalation. Use when kicking off diligence, organizing a data room review, or tracking outstanding items. Triggers…
closing-checklist
What's blocking close — maintain the closing checklist with status, critical path, and days to close. Self-updating: ingests new items from diligence findings and schedule builds, tracks status, surfaces what's blocking. Use when user says "closing checklist", "what's left to close", "checklist status", "add to the…
syndic
Gère un parc de copropriétés en France avec vue portfolio consolidée. Couvre administration, comptabilité (décret 2005, plan comptable copro, 5 annexes), assemblées générales (convocation, PV, notification), appels de fonds, travaux, fournisseurs, recouvrement d'impayés et transition de syndic. Maîtrise les majorités…
Freelance Empire
Complete freelance business operating system — from first client to six-figure solo business. Covers positioning, pricing, proposals, client management, finances, scaling, and the transition from side-hustle to full-time. Use when starting freelancing, raising rates, managing clients, building recurring revenue, or…