Agent skill · Audited from source
Customerio Reliability Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 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: Implement Customer.io reliability and fault-tolerance patterns.
Cite
Cite this page
ModelsAtlas. “Customerio Reliability Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/customerio-reliability-patterns
Trust audit
Audit 0.4.1 · source read 8 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 · 8 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/customerio-pack/skills/customerio-reliability-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: Implement Customer.io reliability and fault-tolerance patterns.
--- name: customerio-reliability-patterns description: 'Implement Customer.io reliability and fault-tolerance patterns. Use when building circuit breakers, fallback queues, idempotency, or graceful degradation for Customer.io integrations. Trigger: "customer.io reliability", "customer.io resilience", "customer.io circuit breaker", "customer.io fault tolerance". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(npx:*), Glob, Grep version: 1.14.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - customer-io - reliability - circuit-breaker - resilience compatibility: Designed for Claude Code --- # Customer.io Reliability Patterns ## Output - An idempotent, observable event-delivery design with owned retry, replay, and dead-letter decisions. - A recovery procedure that protects consent, ordering, and recipient experience during partial failures. ## Error Handling | Condition | Safe response | |---|---| | Provider returns transient failure | Retry with bounded exponential backoff and preserve the idempotency key. | | Event may be duplicated | Deduplicate by the stable event/correlation key before triggering downstream action. | | Replay could resend customer messaging | Require consent/segment review and replay only the scoped failed set. | | Dead-letter queue grows | Alert the owner, quarantine malformed payloads, and fix the contract before bulk replay. | ## Examples Store an immutable event ID and delivery state, retry 429/5xx responses with bounded backoff, and send terminal failures to a protected dead-letter queue. After the schema fix, replay only those records whose consent and idempotency checks still pass. ## Overview Implement fault-tolerant Customer.io integrations: circuit breaker (stop cascading failures), retry with jitter (handle transient errors), fallback queue (survive outages), idempotency guard (prevent duplicates), and graceful degradation (never crash your app for analytics). ## Prerequisites - Working Customer.io integration - Understanding of failure modes (429, 5xx, timeouts, DNS failures) - Redis (recommended for queue-based patterns) ## Instructions ### Pattern 1: Circuit Breaker ```typescript // lib/circuit-breaker.ts type CircuitState = "CLOSED" | "OPEN" | "HALF_OPEN"; export class CircuitBreaker { private state: CircuitState = "CLOSED"; private failureCount = 0; private successCount = 0; private lastFailureTime = 0; constructor( private readonly failureThreshold: number = 5, private readonly successThreshold: number = 3, private readonly resetTimeoutMs: number = 30000 ) {} get currentState(): CircuitState { if (this.state === "OPEN") { // Check if enough time has passed to try again if (Date.now() - this.lastFailureTime > this.resetTimeoutMs) { this.state = "HALF_OPEN"; this.successCount = 0; } } return this.state; } async execute<T>(fn: () => Promise<T>): Promise<T> { if (this.currentState === "OPEN") { throw new Error("Circuit breaker is OPEN — Customer.io calls blocked"); } try { const result = await fn(); this.onSuccess(); return result; } catch (err) { this.onFailure(); throw err; } } private onSuccess(): void { this.failureCount = 0; if (this.state === "HALF_OPEN") { this.successCount++; if (this.successCount >= this.successThreshold) { this.state = "CLOSED"; console.log("Circuit breaker: CLOSED (recovered)"); } } } private onFailure(): void { this.failureCount++; this.lastFailureTime = Date.now(); if (this.failureCount >= this.failureThreshold) { this.state = "OPEN"; console.warn( `Circuit breaker: OPEN (${this.failureCount} failures). ` + `Will retry in ${this.resetTimeoutMs / 1000}s` ); } } getStatus(): { state: CircuitState; failures: number; lastFailure: Date | null } { return { state: this.currentState, failures: this.failureCount, lastFailure: this.lastFailureTime ? new Date(this.lastFailureTime) : null, }; } } ``` ### Pattern 2: Retry with Jitter ```typescript // lib/retry.ts export async function retryWithJitter<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.statusCode ?? err.status; // Don't retry client errors (except 429) if (status >= 400 && status < 500 && status !== 429) throw err; if (attempt === maxRetries) throw err; // Exponential backoff: 1s, 2s, 4s + random jitter up to 30% const delay = baseDelayMs * Math.pow(2, attempt); const jitter = delay * 0.3 * Math.random(); await new Promise((r) => setTimeout(r, delay + jitter)); } } throw new Error("Unreachable"); } ``` ### Pattern 3: Fallback Queue ```typescript // lib/customerio-fallback.ts import { Queue, Worker } from "bullmq"; import { TrackClient, RegionUS } from "customerio-node"; const REDIS_URL = process.env.REDIS_URL ?? "redis://localhost:6379"; // Queue for operations that fail when circuit breaker is open const fallbackQueue = new Queue("cio:fallback", { connection: { url: REDIS_URL }, defaultJobOptions: { attempts: 10, backoff: { type: "exponential", delay: 60000 }, // Start at 1 min removeOnComplete: 1000, removeOnFail: 5000, }, }); export async function enqueueFallback( operation: "identify" | "track" | "suppress", data: Record<string, any> ): Promise<void> { await fallbackQueue.add(operation, data); console.log(`CIO fallback: queued ${operation} (circuit open)`); } // Worker processes fallback queue when CIO is back up export function startFallbackWorker(): void { const cio = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!,
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 |
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/customerio-reliability-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/customerio-reliability-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/customerio-reliability-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/customerio-reliability-patterns/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Customerio Reliability Patterns
What does the Customerio Reliability Patterns skill do?
Is Customerio Reliability Patterns safe to install?
What can Customerio Reliability Patterns access on my machine?
Which assistants does Customerio Reliability 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 · 8 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 Customerio Reliability Patterns skill do?
- Is Customerio Reliability Patterns safe to install?
- What can Customerio Reliability Patterns access on my machine?