Maintainx Migration Deep DiveSAFE
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Overview
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
4f83675ca38aOBSERVED · 2026-10-09Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned | |
| cursor | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: maintainx-migration-deep-dive description: 'Execute complete platform migrations to or from MaintainX. Use when migrating from legacy CMMS systems, performing major re-platforming, or transitioning to MaintainX from spreadsheets or other tools. Trigger with phrases like "migrate to maintainx", "maintainx migration", "cmms migration", "switch to maintainx", "maintainx data migration". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(node:*) version: 1.11.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - maintainx - migration compatibility: Designed for Claude Code --- # MaintainX Migration Deep Dive ## Current State !`node --version 2>/dev/null || echo 'N/A'` ## Overview Comprehensive guide for migrating to MaintainX from legacy CMMS systems (Maximo, UpKeep, Fiix), spreadsheets, or custom databases. ## Prerequisites - MaintainX account with API access - Access to source system data (CSV export, API, or database) - Node.js 18+ ## Migration Phases ``` Phase 1: Assess → Phase 2: Map → Phase 3: Migrate → Phase 4: Validate (Audit source) (Schema mapping) (ETL + import) (Verify + cutover) ``` ## Instructions ### Step 1: Source System Assessment ```typescript // scripts/assess-source.ts import { parse } from 'csv-parse/sync'; import { readFileSync } from 'fs'; interface AssessmentReport { totalRecords: number; recordTypes: Record<string, number>; dataQuality: { missingFields: Record<string, number>; duplicates: number; invalidDates: number; }; } function assessCSV(filePath: string, columns: string[]): AssessmentReport { const content = readFileSync(filePath, 'utf-8'); const rows = parse(content, { columns: true, skip_empty_lines: true }); const missing: Record<string, number> = {}; const seen = new Set<string>(); let duplicates = 0; let invalidDates = 0; for (const row of rows) { // Check missing fields for (const col of columns) { if (!row[col] || row[col].trim() === '') { missing[col] = (missing[col] || 0) + 1; } } // Check duplicates (by name/title) const key = row['Name'] || row['Title'] || row['name']; if (key && seen.has(key)) duplicates++; if (key) seen.add(key); // Check date formats for (const col of Object.keys(row)) { if (col.toLowerCase().includes('date') && row[col]) { if (isNaN(Date.parse(row[col]))) invalidDates++; } } } return { totalRecords: rows.length, recordTypes: { [filePath]: rows.length }, dataQuality: { missingFields: missing, duplicates, invalidDates }, }; } // Run assessment const report = assessCSV('legacy-work-orders.csv', ['Title', 'Priority', 'Status']); console.log('=== Migration Assessment ==='); console.log(`Total records: ${report.totalRecords}`); console.log('Missing fields:', report.dataQuality.missingFields); console.log(`Duplicates: ${report.dataQuality.duplicates}`); console.log(`Invalid dates: ${report.dataQuality.invalidDates}`); ``` ### Step 2: Schema Mapping ```typescript // src/migration/schema-map.ts // Map legacy CMMS fields to MaintainX fields interface FieldMapping { source: string; target: string; transform?: (value: any) => any; } const WORK_ORDER_MAP: FieldMapping[] = [ { source: 'WO_Name', target: 'title' }, { source: 'WO_Description', target: 'description' }, { source: 'WO_Priority', target: 'priority', transform: (v: string) => { const map: Record<string, string> = { '1': 'HIGH', 'Critical': 'HIGH', 'Urgent': 'HIGH', '2': 'MEDIUM', 'Normal': 'MEDIUM', 'Standard': 'MEDIUM', '3': 'LOW', 'Low': 'LOW', 'Routine': 'LOW', }; return map[v] || 'NONE'; }, }, { source: 'WO_Status', target: 'status', transform: (v: string) => { const map: Record<string, string> = { 'New': 'OPEN', 'Pending': 'OPEN', 'Active': 'IN_PROGRESS', 'Working': 'IN_PROGRESS', 'Waiting': 'ON_HOLD', 'Hold': 'ON_HOLD', 'Done': 'COMPLETED', 'Finished': 'COMPLETED', 'Archived': 'CLOSED', 'Cancelled': 'CLOSED', }; return map[v] || 'OPEN'; }, }, { source: 'WO_DueDate', target: 'dueDate', transform: (v: string) => v ? new Date(v).toISOString() : undefined, }, ]; const ASSET_MAP: FieldMapping[] = [ { source: 'Asset_Name', target: 'name' }, { source: 'Asset_Description', target: 'description' }, { source: 'Serial_Number', target: 'serialNumber' }, { source: 'Model_Number', target: 'model' }, { source: 'Manufacturer', target: 'manufacturer' }, ]; function mapRecord(source: Record<string, any>, mappings: FieldMapping[]): Record<string, any> { const result: Record<string, any> = {}; for (const mapping of mappings) { let value = source[mapping.source]; if (value !== undefined && value !== '' && mapping.transform) { value = mapping.transform(value); } if (value !== undefined && value !== '') { result[mapping.target] = value; } } return result; } ``` ### Step 3: ETL Migration ```typescript // src/migration/migrate.ts import { parse } from 'csv-parse/sync'; import { readFileSync, writeFileSync } from 'fs'; import PQueue from 'p-queue'; interface MigrationResult { success: number; failed: number; errors: Array<{ record: any; error: string }>; } async function migrateWorkOrders( client: MaintainXClient, csvPath: string, ): Promise<MigrationResult> { const rows = parse(readFileSync(csvPath, 'utf-8'), { columns: true }); const queue = new PQueue({ concurrency: 3, interval: 1000, intervalCap: 5 }); const result: MigrationResult = { success: 0, failed: 0, errors: [] }; console.log(`Migrating ${rows.length} work orders...`); const promises = rows.map((row: any, index: number) => queue.add(async () => { try { const mapped = mapRecord(row, WORK_ORDER_MAP); if (!mapped.title) { mapped.title =
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
4f83675ca38afull audit observations/trust-audit/skill/jeremylongshore__maintainx-migration-deep-dive.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 4f83675ca38a | SAFE | B | 89 | first audit |
Questions
What does the Maintainx Migration Deep Dive skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Maintainx Migration Deep Dive safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Maintainx Migration Deep Dive access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Maintainx Migration Deep Dive work with?
Its documentation mentions claude-code and cursor. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-09. The repository is watched, and a new audit runs when it changes — this is the first audit.