Agent skill · Audited from source
Maintainx Sdk Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 9 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Learn MaintainX REST API patterns, pagination, filtering, and client
Cite
Cite this page
ModelsAtlas. “Maintainx Sdk Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/maintainx-sdk-patterns
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/maintainx-pack/skills/maintainx-sdk-patternsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Learn MaintainX REST API patterns, pagination, filtering, and client
--- name: maintainx-sdk-patterns description: 'Learn MaintainX REST API patterns, pagination, filtering, and client architecture. Use when building robust API integrations, implementing pagination, or creating reusable SDK patterns for MaintainX. Trigger with phrases like "maintainx sdk", "maintainx api patterns", "maintainx pagination", "maintainx filtering", "maintainx client design". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Grep version: 1.11.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - maintainx - api compatibility: Designed for Claude Code --- # MaintainX SDK Patterns ## Overview Production-grade patterns for building robust MaintainX API integrations with proper error handling, cursor-based pagination, retry logic, and type safety. ## Prerequisites - Completed `maintainx-install-auth` setup - TypeScript/Node.js familiarity - Understanding of REST API principles ## Instructions ### Step 1: Type-Safe Client with Generics ```typescript // src/maintainx/typed-client.ts import axios, { AxiosInstance, AxiosRequestConfig, AxiosError } from 'axios'; interface PaginatedResponse<T> { cursor: string | null; } interface WorkOrder { id: number; title: string; status: 'OPEN' | 'IN_PROGRESS' | 'ON_HOLD' | 'COMPLETED' | 'CLOSED'; priority: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'; description?: string; assignees: Array<{ type: 'USER' | 'TEAM'; id: number }>; assetId?: number; locationId?: number; createdAt: string; updatedAt: string; completedAt?: string; dueDate?: string; categories: string[]; } interface Asset { id: number; name: string; serialNumber?: string; model?: string; manufacturer?: string; locationId?: number; createdAt: string; } interface WorkOrdersResponse extends PaginatedResponse<WorkOrder> { workOrders: WorkOrder[]; } interface AssetsResponse extends PaginatedResponse<Asset> { assets: Asset[]; } export class MaintainXClient { private http: AxiosInstance; constructor(apiKey?: string) { const key = apiKey || process.env.MAINTAINX_API_KEY; if (!key) throw new Error('MAINTAINX_API_KEY required'); this.http = axios.create({ baseURL: 'https://api.getmaintainx.com/v1', headers: { Authorization: `Bearer ${key}`, 'Content-Type': 'application/json' }, timeout: 30_000, }); } async getWorkOrders(params?: Record<string, any>): Promise<WorkOrdersResponse> { const { data } = await this.http.get<WorkOrdersResponse>('/workorders', { params }); return data; } async getWorkOrder(id: number): Promise<WorkOrder> { const { data } = await this.http.get<WorkOrder>(`/workorders/${id}`); return data; } async createWorkOrder(input: Partial<WorkOrder>): Promise<WorkOrder> { const { data } = await this.http.post<WorkOrder>('/workorders', input); return data; } async updateWorkOrder(id: number, input: Partial<WorkOrder>): Promise<WorkOrder> { const { data } = await this.http.patch<WorkOrder>(`/workorders/${id}`, input); return data; } async getAssets(params?: Record<string, any>): Promise<AssetsResponse> { const { data } = await this.http.get<AssetsResponse>('/assets', { params }); return data; } async request<T = any>(method: string, path: string, body?: any): Promise<T> { const config: AxiosRequestConfig = { method, url: path, data: body }; const { data } = await this.http.request<T>(config); return data; } } ``` ### Step 2: Cursor-Based Pagination MaintainX uses cursor-based pagination. The response includes a `cursor` field; pass it as a query parameter to get the next page. ```typescript async function paginate<T>( fetcher: (cursor?: string) => Promise<{ cursor: string | null } & Record<string, T[]>>, key: string, ): Promise<T[]> { const all: T[] = []; let cursor: string | undefined; do { const response = await fetcher(cursor); const items = (response as any)[key] as T[]; all.push(...items); cursor = response.cursor ?? undefined; } while (cursor); return all; } // Usage const allWorkOrders = await paginate( (cursor) => client.getWorkOrders({ limit: 100, cursor, status: 'OPEN' }), 'workOrders', ); console.log(`Total open work orders: ${allWorkOrders.length}`); const allAssets = await paginate( (cursor) => client.getAssets({ limit: 100, cursor }), 'assets', ); console.log(`Total assets: ${allAssets.length}`); ``` ### Step 3: Retry with Exponential Backoff ```typescript async function withRetry<T>( fn: () => Promise<T>, maxRetries = 3, baseDelayMs = 1000, ): Promise<T> { for (let attempt = 0; attempt <= maxRetries; attempt++) { try { return await fn(); } catch (err: any) { const status = err?.response?.status; const isRetryable = status === 429 || (status >= 500 && status < 600); if (!isRetryable || attempt === maxRetries) throw err; // Honor Retry-After header if present const retryAfter = err.response?.headers?.['retry-after']; const delayMs = retryAfter ? parseInt(retryAfter) * 1000 : baseDelayMs * Math.pow(2, attempt) + Math.random() * 500; console.warn(`Retry ${attempt + 1}/${maxRetries} after ${delayMs}ms (HTTP ${status})`); await new Promise((r) => setTimeout(r, delayMs)); } } throw new Error('Unreachable'); } // Usage const wo = await withRetry(() => client.getWorkOrder(12345)); ``` ### Step 4: Batch Operations ```typescript import PQueue from 'p-queue'; const queue = new PQueue({ concurrency: 5, interval: 1000, intervalCap: 10 }); async function batchCreateWorkOrders(items: Array<Partial<WorkOrder>>): Promise<WorkOrder[]> { const results = await Promise.all( items.map((item) => queue.add(() => withRetry(() => client.createWorkOrder(item))) ), ); return results as WorkOrder[]; } // Create 50 PMs in controlled batches const pms = Array.from({ length: 50 }, (_, i) => ({ title: `Weekly Inspection -
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/maintainx-sdk-patterns/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/maintainx-sdk-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/maintainx-sdk-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/maintainx-sdk-patterns/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Maintainx Sdk Patterns
What does the Maintainx Sdk Patterns skill do?
Is Maintainx Sdk Patterns safe to install?
What can Maintainx Sdk Patterns access on my machine?
Which assistants does Maintainx Sdk Patterns work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Maintainx Sdk Patterns skill do?
- Is Maintainx Sdk Patterns safe to install?
- What can Maintainx Sdk Patterns access on my machine?