Agent skill · Audited from source
Customerio Cost 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 costs and usage efficiency.
Cite
Cite this page
ModelsAtlas. “Customerio Cost Tuning (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/customerio-cost-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 | 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-cost-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 costs and usage efficiency.
--- name: customerio-cost-tuning description: 'Optimize Customer.io costs and usage efficiency. Use when reducing profile count, cleaning inactive users, deduplicating events, or right-sizing your plan. Trigger: "customer.io cost", "reduce customer.io spend", "customer.io billing", "customer.io pricing", "customer.io cleanup". ' 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 - cost-optimization - billing compatibility: Designed for Claude Code --- # Customer.io Cost Tuning ## Prerequisites - An approved cost owner, billing/usage baseline, message/event retention policy, and delivery SLO. - Aggregate reporting that does not require exporting customer payloads or individual message content. ## Output - A measured cost optimization with owner, delivery/consent guardrails, and rollback threshold. - An aggregate usage receipt supporting the decision without exposing recipient data. ## Error Handling | Condition | Safe response | |---|---| | Spend rises unexpectedly | Verify configuration, rate, and authorized campaigns; pause unsafe scale changes and investigate aggregate signals. | | Optimization risks delivery or consent | Do not apply it until the service/data owner approves a safe test. | | Data is missing or misallocated | Repair attribution before making a budget decision. | ## Examples Compare aggregate event volume and message spend for a development/staging campaign, reduce unnecessary duplicate events through an idempotency fix, and observe the agreed window. Revert if delivery errors, latency, or consent checks regress; do not suppress customer messages solely to make a dashboard look cheaper. ## Overview Optimize Customer.io costs by managing profile count (the primary billing driver), suppressing/deleting inactive users, deduplicating events, reducing unnecessary API calls, and monitoring usage trends. ## How Customer.io Pricing Works Customer.io bills based on **profile count** (number of identified people in your workspace) and **email/SMS volume**. Key cost drivers: | Factor | Impact | Optimization Strategy | |--------|--------|----------------------| | Total profiles | Primary cost driver | Delete inactive profiles | | Email sends | Per-email cost above tier | Suppress unengaged users | | SMS sends | Per-SMS cost | Only send to opt-in users | | Overidentification | Creates unnecessary profiles | Don't identify users who'll never receive messages | | Event volume | Can increase processing costs | Deduplicate and sample | ## Instructions ### Step 1: Profile Audit ```typescript // scripts/cio-profile-audit.ts // Audit your Customer.io integration for cost optimization opportunities import { TrackClient, RegionUS } from "customerio-node"; const cio = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!, { region: RegionUS } ); // Check: Are you identifying users who'll never receive messages? const AUDIT_RULES = { // Users without email can't receive email campaigns noEmail: "Don't identify users without email unless using push/SMS", // Test users should be cleaned up testUsers: "Suppress and delete test-*, ci-*, dev-* prefixed users", // Anonymous users that never convert inflate profile count staleAnonymous: "Delete anonymous profiles older than 90 days without conversion", // Inactive users who haven't opened email in 6+ months unengaged: "Suppress users with no email opens in 180+ days", }; console.log("=== Customer.io Cost Audit Rules ===\n"); for (const [rule, action] of Object.entries(AUDIT_RULES)) { console.log(`${rule}: ${action}`); } console.log("\nRun these checks in Customer.io dashboard:"); console.log("1. People > Segments > Create 'Inactive 90 days' segment"); console.log("2. People > Segments > Create 'No email attribute' segment"); console.log("3. People > Filter by created_at < 90 days ago AND email_opened = 0"); ``` ### Step 2: Suppress and Delete Inactive Users ```typescript // scripts/cio-cleanup-inactive.ts import { TrackClient, RegionUS } from "customerio-node"; const cio = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!, { region: RegionUS } ); interface CleanupTarget { userId: string; reason: string; } async function cleanupInactiveUsers( targets: CleanupTarget[], dryRun: boolean = true ): Promise<void> { let suppressed = 0; let deleted = 0; let errors = 0; for (const target of targets) { if (dryRun) { console.log(`[DRY RUN] Would suppress+delete: ${target.userId} (${target.reason})`); continue; } try { // Step 1: Suppress — stops all messaging immediately await cio.suppress(target.userId); suppressed++; // Step 2: Destroy — removes from billing await cio.destroy(target.userId); deleted++; // Rate limit to 50/sec for bulk operations await new Promise((r) => setTimeout(r, 20)); } catch (err: any) { errors++; console.error(`Failed ${target.userId}: ${err.message}`); } if ((suppressed + errors) % 100 === 0) { console.log(`Progress: ${suppressed} deleted, ${errors} errors`); } } console.log(`\nResult: ${suppressed} suppressed, ${deleted} deleted, ${errors} errors`); } // Usage: Build target list from your database // const inactiveUsers = await db.query(` // SELECT id FROM users // WHERE last_login_at < NOW() - INTERVAL '180 days' // AND email_verified = false // `); ``` ### Step 3: Event Deduplication ```typescript // lib/customerio-dedup-events.ts // Prevent sending duplicate events that inflate volume import { createHash } from "crypto"; import { TrackClient, RegionUS } from "customerio-node"; const cio = new TrackClient( process.env.CUSTOMERIO_SITE_ID!, process.env.CUSTOMERIO_TRACK_API_KEY!, { region: RegionUS } ); // Simple LRU ded
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-cost-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-cost-tuning/)
<a href="https://modelsatlas.com/skills/jeremylongshore/customerio-cost-tuning/"><img src="https://modelsatlas.com/skills/jeremylongshore/customerio-cost-tuning/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Customerio Cost Tuning
What does the Customerio Cost Tuning skill do?
Is Customerio Cost Tuning safe to install?
What can Customerio Cost Tuning access on my machine?
Which assistants does Customerio Cost 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 Cost Tuning skill do?
- Is Customerio Cost Tuning safe to install?
- What can Customerio Cost Tuning access on my machine?