Agent skill · Audited from source
Customerio Performance Tuning
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: Optimize Customer.io API performance for high throughput.
Cite
Cite this page
ModelsAtlas. “Customerio Performance Tuning (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/customerio-performance-tuning
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 | 2 |
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 (2)
LOWObfuscation / stealthreview.concealment · SKILL.md
.catch((err) => console.error(`CIO async track failed: ${err.message}`))- Why
- The fire-and-forget pattern catches tracking errors and only logs them to console, concealing failures from the user with no retry, metric, or surfacing mechanism.
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
LOWObfuscation / stealthreview.concealment · SKILL.md
return; // Skip — identical identify() call within TTL window
- Why
- The dedup cache silently drops identify calls without any logging or notification, concealing intercepted API calls from the user.
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
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-performance-tuningThe 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: Optimize Customer.io API performance for high throughput.
--- name: customerio-performance-tuning description: 'Optimize Customer.io API performance for high throughput. Use when improving response times, implementing connection pooling, batching, caching, or regional routing. Trigger: "customer.io performance", "optimize customer.io", "customer.io latency", "customer.io connection pooling". ' 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 - performance - optimization compatibility: Designed for Claude Code --- # Customer.io Performance Tuning ## Output - A measured delivery/API performance baseline with a scoped optimization, owner, and rollback trigger. - A capacity decision that preserves consent, message correctness, rate limits, and provider reliability. ## Examples Measure event throughput, response latency, error rate, and queue depth in a development workspace using synthetic payloads. Change one batch/concurrency parameter, compare against the baseline, and revert if errors, rate limits, or message ordering regress. Do not increase concurrency by replaying production recipient data. ## Overview Optimize Customer.io API performance for high-volume integrations: HTTP connection pooling, identify deduplication caching, event batching with flush control, fire-and-forget async tracking, and regional routing. ## Prerequisites - Working Customer.io integration - Understanding of your traffic patterns and volume - Monitoring to measure improvement (see `customerio-observability`) ## Performance Targets | Operation | Baseline | Optimized | Technique | |-----------|----------|-----------|-----------| | Single identify | ~200ms | ~80ms | Connection pooling | | Single track | ~200ms | ~80ms | Connection pooling | | 100 events batch | ~20s serial | ~500ms | Parallel batching | | Duplicate identify | ~200ms | ~0ms | Dedup cache | | Non-critical track | Blocking | Non-blocking | Fire-and-forget | ## Instructions ### Step 1: HTTP Connection Pooling ```typescript // lib/customerio-pooled.ts import { TrackClient, RegionUS } from "customerio-node"; import https from "https"; // The customerio-node SDK creates new connections by default. // Reuse connections with a keep-alive agent. const agent = new https.Agent({ keepAlive: true, maxSockets: 25, // Max concurrent connections maxFreeSockets: 10, // Keep idle connections open timeout: 30000, // 30s socket timeout keepAliveMsecs: 15000, // TCP keep-alive probe interval }); // Apply to the SDK by creating a singleton with the agent // Note: customerio-node doesn't directly accept an agent, // but we configure Node.js global agent for HTTPS https.globalAgent = agent; // Singleton client — one instance = one connection pool const cio = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!, { region: RegionUS } ); export { cio }; ``` ### Step 2: Identify Deduplication Cache ```typescript // lib/customerio-dedup.ts // Skip duplicate identify() calls within a time window class LRUCache<K, V> { private map = new Map<K, V>(); constructor(private maxSize: number) {} get(key: K): V | undefined { const val = this.map.get(key); if (val !== undefined) { // Move to end (most recent) this.map.delete(key); this.map.set(key, val); } return val; } set(key: K, val: V): void { this.map.delete(key); this.map.set(key, val); if (this.map.size > this.maxSize) { const oldest = this.map.keys().next().value; this.map.delete(oldest!); } } } import { createHash } from "crypto"; import { TrackClient, RegionUS } from "customerio-node"; const identifyCache = new LRUCache<string, number>(10_000); const DEDUP_TTL_MS = 5 * 60 * 1000; // 5 minutes const cio = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!, { region: RegionUS } ); export async function dedupIdentify( userId: string, attrs: Record<string, any> ): Promise<void> { // Create a hash of userId + attributes const hash = createHash("sha256") .update(userId + JSON.stringify(attrs)) .digest("hex") .substring(0, 16); const cached = identifyCache.get(hash); if (cached && Date.now() - cached < DEDUP_TTL_MS) { return; // Skip — identical identify() call within TTL window } await cio.identify(userId, attrs); identifyCache.set(hash, Date.now()); } ``` ### Step 3: Batch Processor ```typescript // lib/customerio-batch.ts import { TrackClient, RegionUS } from "customerio-node"; interface BatchItem { type: "identify" | "track"; userId: string; data: Record<string, any>; } export class CioBatchProcessor { private buffer: BatchItem[] = []; private timer: NodeJS.Timeout | null = null; private client: TrackClient; private processing = false; constructor( private readonly maxBatchSize = 100, private readonly flushIntervalMs = 3000, private readonly concurrency = 15 ) { this.client = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!, { region: RegionUS } ); this.startFlushTimer(); } add(item: BatchItem): void { this.buffer.push(item); if (this.buffer.length >= this.maxBatchSize) { this.flush(); } } async flush(): Promise<void> { if (this.processing || this.buffer.length === 0) return; this.processing = true; const batch = this.buffer.splice(0, this.maxBatchSize); const startMs = Date.now(); // Process in parallel chunks for (let i = 0; i < batch.length; i += this.concurrency) { const chunk = batch.slice(i, i + this.concurrency); const results = await Promise.allSettled( chunk.map((item) => item.type === "identify" ? this.client.identify(item.userId, item.data) : this.client.track(item.userId, item.data)
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-performance-tuning/)
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-performance-tuning/)
<a href="https://modelsatlas.com/skills/jeremylongshore/customerio-performance-tuning/"><img src="https://modelsatlas.com/skills/jeremylongshore/customerio-performance-tuning/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Customerio Performance Tuning
What does the Customerio Performance Tuning skill do?
Is Customerio Performance Tuning safe to install?
What can Customerio Performance Tuning access on my machine?
Which assistants does Customerio Performance Tuning 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 Performance Tuning skill do?
- Is Customerio Performance Tuning safe to install?
- What can Customerio Performance Tuning access on my machine?