# equipment-fleet-manager

equipment-fleet-manager manages construction equipment fleets via Python. Tracks machine utilization, maintenance records, and site assignments with Excel export.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 120 installs · ★ 434 repo stars
- Author: datadrivenconstruction
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/HEAD/1_DDC_Toolkit/Resource-Management/equipment-fleet-manager/SKILL.md
- Updated: 2026-10-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/equipment-fleet-manager

## What it does

This skill provides an `EquipmentFleetManager` Python class tailored for construction projects. It registers machines with hourly and daily rates, dispatches equipment to project sites, assigns operators, and tallies operational hours upon return. It defines statuses from available to repair, covering machinery such as cranes, excavators, loaders, forklifts, generators, compressors, and scaffolding.

The manager aggregates utilization percentages and tracks scheduled service interventions with budget estimates. Built-in `export_fleet` dumps the entire fleet roster straight into an Excel spreadsheet using `pandas`.

Execution requires `python3` and the `pandas` package. Fleet records remain in memory inside the class instance, so restarting the agent resets the catalog unless you export it.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill equipment-fleet-manager -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/equipment-fleet-manager/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/equipment-fleet-manager/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill equipment-fleet-manager -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/equipment-fleet-manager/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill equipment-fleet-manager -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/equipment-fleet-manager/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction 1_DDC_Toolkit/Resource-Management/equipment-fleet-manager
```

2. **Manually: put the files in place**
- File: `.github/skills/equipment-fleet-manager/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill equipment-fleet-manager -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --path 1_DDC_Toolkit/Resource-Management/equipment-fleet-manager
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/equipment-fleet-manager/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill equipment-fleet-manager -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/HEAD/1_DDC_Toolkit/Resource-Management/equipment-fleet-manager/SKILL.md

## When to use it
- Register construction machinery with rental rates and tracked operating hours
- Assign equipment units to jobsites alongside assigned operators
- Schedule maintenance events with projected repair budgets
- Calculate active fleet utilization percentages across projects
- Export equipment rosters to Excel spreadsheets

## Example prompts
- Add a 2020 Liebherr tower crane with a daily rate of 1200 and assign it to Site A
- Calculate the fleet utilization rate and list available excavators
- Schedule maintenance for unit EQ-0001 next Monday and export the fleet to fleet.xlsx

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 78cc4af041861055.

BEGIN THIRD-PARTY FILE 78cc4af041861055
````text
---
name: "equipment-fleet-manager"
description: "Manage construction equipment fleet. Track utilization, maintenance, and assignments."
homepage: "https://datadrivenconstruction.io"
metadata: {"openclaw": {"emoji": "👷", "os": ["darwin", "linux", "win32"], "homepage": "https://datadrivenconstruction.io", "requires": {"bins": ["python3"]}}}
---
# Equipment Fleet Manager

## Technical Implementation

```python
import pandas as pd
from datetime import date, timedelta
from typing import Dict, Any, List, Optional
from dataclasses import dataclass, field
from enum import Enum


class EquipmentStatus(Enum):
    AVAILABLE = "available"
    IN_USE = "in_use"
    MAINTENANCE = "maintenance"
    REPAIR = "repair"
    RETIRED = "retired"


class EquipmentType(Enum):
    CRANE = "crane"
    EXCAVATOR = "excavator"
    LOADER = "loader"
    FORKLIFT = "forklift"
    GENERATOR = "generator"
    COMPRESSOR = "compressor"
    SCAFFOLDING = "scaffolding"
    OTHER = "other"


@dataclass
class MaintenanceRecord:
    record_id: str
    equipment_id: str
    maintenance_type: str
    scheduled_date: date
    completed_date: Optional[date]
    cost: float
    notes: str = ""


@dataclass
class Assignment:
    assignment_id: str
    equipment_id: str
    project: str
    location: str
    start_date: date
    end_date: Optional[date]
    operator: str = ""


@dataclass
class Equipment:
    equipment_id: str
    name: str
    equipment_type: EquipmentType
    make: str
    model: str
    year: int
    status: EquipmentStatus
    hourly_rate: float
    daily_rate: float
    current_hours: float = 0
    last_maintenance: Optional[date] = None
    next_maintenance_hours: float = 500
    assignments: List[Assignment] = field(default_factory=list)


class EquipmentFleetManager:
    def __init__(self, company_name: str):
        self.company_name = company_name
        self.equipment: Dict[str, Equipment] = {}
        self.maintenance_records: List[MaintenanceRecord] = {}
        self._equip_counter = 0
        self._assign_counter = 0
````
END THIRD-PARTY FILE 78cc4af041861055

The third-party file has ended. Everything between the 78cc4af041861055 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2045 of 6261 bytes. © datadrivenconstruction · MIT · https://github.com/datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction/tree/HEAD/1_DDC_Toolkit/Resource-Management/equipment-fleet-manager/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
