Agent skill · software engineering · jeremylongshore

maintainx-rate-limits

Implement MaintainX API rate limiting, pagination, and backoff patterns.

Why this skill is useful

Adds a complete TypeScript implementation for handling MaintainX API rate limits, including retry logic and pagination, which the AI cannot generate without this specific knowledge.

What it needs

Requires node installed locally. Requires maintainx account access. About 4k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

MaintainX Rate Limits Overview Handle MaintainX API rate limits gracefully with exponential backoff, cursor-based pagination, and request queuing to maximize throughput without triggering 429 errors. Prerequisites MaintainX API access configured Node.js 18+ with axios Understanding of async/await patterns Instructions Step 1: Rate-Limited Client Wrapper Step 2: Cursor-Based Pagination MaintainX returns a cursor field in list responses. Pass it as a query parameter to fetch the next page. Step 3: Batch Operations with p-queue Step 4: Rate Limit Monitoring Output Rate-limited client wrapper with built-in throttling and retry Cursor-based pagination utility collecting all results Batch operations with controlled concurrency via p-queue Rate monitoring to track and alert on API usage Error Handling Scenario Strategy ---------- ---------- 429 Too Many Requests Exponential backoff with jitter, honor Retry-After header Retry-After header present Wait the specified number of seconds before retrying Burst of requests Queue with p-queue (concurrency: 5, intervalCap: 10/sec) Large data sets (1000+ items) Paginate with limit: 100, delay between pages Resources MaintainX API Reference p-queue -- Promise queue with concurrency control Exponential Backoff Next Steps For security configuration, see maintainx-security-basics. Examples Adaptive rate limiting based on response headers:

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/maintainx-rate-limits--36c03e

View the source on GitHub

Browse the @skills marketplace