--- name: cross-platform-reconciliation description: Advanced. For fleets running Fleetio and also Geotab or Samsara. Cross-checks warning-lamp engine faults in the telematics platform against Fleetio's faults, issues and work orders, ranked by lamp severity. It flags unmapped units, warning-lamp faults with no follow-up, and repairs where the same code was still active after the work order closed. Read-only, on the fleet's own accounts or pasted CSV exports. Use it when the user runs telematics and Fleetio side by side and asks whether anything is falling through the cracks. --- # Cross-platform reconciliation (faults vs work orders), Advanced **Level: Advanced.** For fleets running **Fleetio and also Geotab or Samsara**. It assumes you know how your Fleetio telematics integration is set up. If you run one platform only, use the maintenance follow-up digest instead. **When to use:** weekly, after a breakdown, or after an integration change, when the owner asks "did any warning-lamp fault slip through without a work order, or come back after a repair?" **Why this exists:** Fleetio's native Geotab integration already imports faults and DVIR defects. So this skill doesn't redo the import. It looks for the places where the import and the follow-up are known to leak: - vehicles that aren't mapped (Fleetio maps by VIN) - the nightly import lag - warning-lamp faults that arrived but never got an issue or work order - work orders closed while the same code is still active Source: [Fleetio Geotab integration](https://help.fleetio.com/telematicsgps/geotab-integration-1) (checked 2026-11-17). Everything runs in the user's own agent session against the user's own accounts or files. Don't send fleet data anywhere except the user's own chat or files. ## Required inputs 1. **Telematics source:** MyGeotab MCP (main path), Samsara MCP (alternate path), or a CSV fault export. 2. **Maintenance source:** Fleetio MCP, the user's own Fleetio REST access, or CSV exports of Fleetio vehicles, issues and work orders. 3. **Window:** default the last 14 days of faults. 4. **Grace period:** how long a warning-lamp fault can sit before it counts as "missing" a work order. Default 3 days for amber warning, protect and MIL / check engine faults; it covers the nightly import lag and normal triage time. **Red-stop faults get no grace period (0 days):** red stop is the highest-severity lamp in this skill's ranking, so they're checked as soon as they show up, even if the nightly import hasn't run yet. 5. **Ignore list (optional, user-editable):** the owner's known-noise codes, for example `SPN 3510 FMI 4`. Fleetio users may already keep this as Fault Rules. Show the list in the output so the owner can edit it. ## Read-only rule (always applies) - Read only, on every platform. **The MyGeotab MCP can write.** Never call `Add`, `Set`, `Remove` or `DismissFaults`, and never send text messages. Use only `Get` / `GetCountOf` / `ListEntities`-type reads. - Never create issues or work orders in Fleetio. Fleetio's MCP is read-only anyway. - The output is a list for a human to act on. ## Steps ### 1. Confirm both connections Make one cheap read on each side. If either side fails, stop and say which one. A one-sided reconciliation is misleading. ### 2. Build the vehicle map - Telematics: Geotab `Get` `Device` (name, VIN, serial), or Samsara `run_query("query://assets/list", …)`. - Fleetio: the vehicle list (name, VIN, status). - Match on VIN first, then on exact unit name. Put every telematics unit with no Fleetio match in **Unmapped**. Don't guess partial-name matches. List "possible match" separately for the user to confirm. ### 3. Pull the faults (telematics side) - **Geotab:** `Get` `FaultData` for the window. Keep device, diagnostic, controller (the reporting ECU for J1939), failure mode, `dateTime`, `count`, `faultState` (Active / Pending / None; `faultStates` also shows Inactive and Cleared), and the lamp fields `redStopLamp`, `amberWarningLamp`, `protectWarningLamp`, `malfunctionLamp`. Geotab documents the lamp fields as "Only reported for J1939 faults; false for other fault types." *Assumption:* these fields come back through MCP as they do in the API. If they don't, say so and treat lamp as unknown. - **Samsara:** `run_query("query://assets/maintenance", …)` for current check-engine-light and DTC status, then `run_query("query://assets/fault_history", …)` per vehicle for history. Call `describe_query` first for the variables and columns. In Samsara's API, J1939 readings carry lamp flags (`stopIsOn` red stop, `warningIsOn` amber, `protectIsOn` protect, `emissionsIsOn`) and SPN, FMI and source address per code; OBD-II readings carry confirmed, pending and permanent codes and `checkEngineLightIsOn`. Use whichever of these the MCP query returns. *Assumption (our inference):* treat `emissionsIsOn` as the MIL. Samsara's docs list the flag but don't call it the MIL. - **Fault key:** heavy duty (J1939): source address or controller + SPN + FMI. Light duty (OBD-II): the P-code, plus the module if shown. Never match on description text. - Drop codes on the ignore list, and count how many were dropped. ### 4. Keep warning-lamp faults only - Keep a fault for checks B and C only if it has a lamp: red stop, amber warning, protect, or MIL / check engine light. - Count the rest: " faults with no warning lamp not checked." - If the lamp state is unknown for a unit, list that unit's fault count once under Checks limited, and don't run B or C on those faults. ### 5. Pull the maintenance side (Fleetio) - Faults recorded in Fleetio, if readable. *Not confirmed on MCP*; REST: `GET /v1/faults`. - Issues, open and recently closed. - Work orders, open and recently closed, with `completed_at` (the close time), status, and line items or descriptions if available. ### 6. Run the checks First list **A. Unmapped units with faults:** faults on telematics units with no Fleetio vehicle. Then, for each kept warning-lamp fault on a mapped vehicle, once it's older than its grace period (none for red stop, 3 days by default for the rest): - **B. No follow-up:** there's no issue or work order on that vehicle that names the code or the matching component, opened on or after the first fault time. Matching on code text or component is a heuristic, so mark each match "exact code", "component text" or "none". - **C. Still active after repair:** a work order on that vehicle names the code or component and has a close time (`completed_at`), **and the same fault key is reported as active after that close time.** A stored, inactive, pending or "previously active" reading does not count. If the platform doesn't show whether the code is active, label the row "possible" and say why. *Assumption (Samsara path):* the import-setting note and check D below are based only on Fleetio's documented **Geotab** integration. On the Samsara path, skip both and say so under Checks limited, unless the user confirms that Fleetio imports their Samsara faults and tells you how it filters them. **Fleetio import setting (one line, not a per-fault list):** if Fleetio faults are readable, count telematics faults with **no** warning lamp that aren't in Fleetio and write one settings note: " no-lamp faults aren't in Fleetio. That's expected if 'Include Non-Warning Light Faults' is off in your Fleetio Geotab integration." Then list individually, as **D. Warning-lamp faults not in Fleetio**, only **warning-lamp** faults that aren't in Fleetio after their grace period, because those should have imported. If Fleetio faults aren't readable, skip this and say so. This note matters most monthly or after an integration change. ### 7. Rank the report Within every section, order rows by: 1. Lamp severity: red stop, then amber or protect, then MIL / check engine light. 2. Then codes whose description mentions a derate or engine protection. 3. Then occurrence count, highest first. 4. Then oldest first. ## Output format ``` Fault reconciliation: – ( vs Fleetio) Vehicles: mapped, unmapped, possible matches to confirm Faults reviewed: with a warning lamp ( no-lamp faults not checked; on your ignore list) Ignore list in use: A. UNMAPPED UNITS WITH FAULTS () - | VIN | warning-lamp faults | fix: map in Fleetio B. WARNING-LAMP FAULTS WITH NO ISSUE OR WORK ORDER () - | | | first , times | match: none C. STILL ACTIVE AFTER REPAIR () - | | | WO closed | active again | D. WARNING-LAMP FAULTS NOT IN FLEETIO () - | | | first | possible causes: import timing / mapping / integration Fleetio import setting: Checks limited: ``` If a section is empty, write "none." Don't drop the section. ## Sample output (fake units, for illustration only) ``` Fault reconciliation: 2026-11-02–2026-11-16 (Geotab vs Fleetio) Vehicles: 18 mapped, 1 unmapped, 0 possible matches to confirm Faults reviewed: 4 with a warning lamp (22 no-lamp faults not checked; 2 on your ignore list) Ignore list in use: SPN 3510 FMI 4 A. UNMAPPED UNITS WITH FAULTS (1) - TRK-110 | VIN missing | 1 warning-lamp fault | fix: map in Fleetio B. WARNING-LAMP FAULTS WITH NO ISSUE OR WORK ORDER (1) - TRK-106 | red stop | Engine SPN 100 FMI 1 (engine oil pressure) | first 2026-11-12, 3 times | match: none C. STILL ACTIVE AFTER REPAIR (1) - TRK-104 | amber | Engine SPN 3251 FMI 0 | WO 5001 closed 2026-11-05 14:10 | active again 2026-11-08 07:32 | confirmed D. WARNING-LAMP FAULTS NOT IN FLEETIO (0) - none Fleetio import setting: 22 no-lamp faults aren't in Fleetio. That's expected if "Include Non-Warning Light Faults" is off. Checks limited: none ``` ## No connector? Use a CSV If either side has no MCP connection, ask the user to export both sides and paste or attach them. For example, MyGeotab's Active Engine Faults report downloads as Excel (save as CSV), and Fleetio index pages and reports have Export Data or Export CSV. *Assumption:* a MyGeotab fault report export includes a lamp (red stop / amber / protect / MIL) column. Geotab's API reference documents the lamp fields on `FaultData`, but Geotab's public fault-report help pages (checked 2026-11-17) don't list the export's columns, so this isn't confirmed. Check the user's export before relying on the CSV path for Geotab. Expected columns (names can differ; map them and say how you mapped them): | Export | Columns | |---|---| | Telematics faults | unit, VIN, code (SPN + FMI + source, or P-code), lamp (red / amber / protect / MIL / none), active or not, date and time, count | | Fleetio vehicles | unit, VIN | | Fleetio work orders | unit, WO number, title or line items, status, completed date and time | | Fleetio issues | unit, title, reported date, status | | Fleetio faults (optional) | unit, code, date | If the export has no lamp column, say so and stop: this skill only checks warning-lamp faults. If there's no active-state column, check C is "possible" only. ## Using this in a chat tool without a skills folder If your AI tool doesn't load skill folders, paste this whole SKILL.md into the chat (or into the tool's custom instructions), then paste or attach your CSV exports, or connect both platforms if the tool supports it. Then ask: "Reconcile Geotab faults against Fleetio for the last two weeks." ## Limits - Matching faults to work orders by code or component text is a best effort, and every match shows its type. People write work orders in their own words. - Only warning-lamp faults are checked. No-lamp codes may still matter; this skill just doesn't chase them. - Fleetio faults may not be readable through the Fleetio MCP. The import-setting note then needs the user's own Fleetio API key, or gets skipped. - MyGeotab MCP field names for lamps and active state are assumptions until they're confirmed in a live account. Geotab lamp fields are J1939-only. - The Geotab CSV path assumes the fault export has a lamp column (not confirmed in Geotab's public docs as of 2026-11-17). Without one, the skill stops. - The Samsara path has no Samsara work orders in MCP. It assumes Fleetio is the maintenance system. - On the Samsara path, the Fleetio import-setting note and check D are skipped unless the user confirms how Fleetio imports and filters Samsara faults; the sources cover only Fleetio's Geotab integration. - Fleetio's own AI Service Advisor may already turn faults into issues for some accounts, so run this skill as a cross-check, not a replacement. - It doesn't diagnose faults or estimate cost.