Agent skill · Audited from source
Clay 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 Clay credit spending with provider key management, waterfall
Cite
Cite this page
ModelsAtlas. “Clay Cost Tuning (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/clay-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/clay-pack/skills/clay-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 Clay credit spending with provider key management, waterfall
--- name: clay-cost-tuning description: 'Optimize Clay credit spending with provider key management, waterfall tuning, and budget controls. Use when analyzing Clay costs, reducing credit consumption, or implementing spending alerts and caps. Trigger with phrases like "clay cost", "clay billing", "reduce clay costs", "clay pricing", "clay expensive", "clay budget", "clay credits". ' allowed-tools: Read, Write, Edit, Grep version: 1.14.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - clay - api - monitoring - cost-optimization compatibility: Designed for Claude Code --- # Clay Cost Tuning ## Overview Reduce Clay data enrichment spending by connecting your own API keys (70-80% savings), optimizing waterfall depth, improving input data quality, and implementing budget controls. Clay's March 2026 pricing split credits into Data Credits and Actions, changing the optimization calculus. ## Prerequisites - Clay account with visibility into credit consumption - Understanding of which enrichment columns are in your tables - Access to Clay Settings > Plans & Billing ## Instructions ### Step 1: Connect Your Own Provider API Keys (Biggest Savings) This is the single most impactful cost reduction. Clay charges 0 Data Credits when you use your own API keys: | Provider | Clay-Managed Cost | Own Key Cost | Annual Savings (10K rows/mo) | |----------|-------------------|-------------|------------------------------| | Apollo | 2 credits/lookup | 0 credits | ~240K credits/year | | Clearbit | 2-5 credits | 0 credits | ~360K credits/year | | Hunter.io | 2 credits | 0 credits | ~240K credits/year | | Prospeo | 2 credits | 0 credits | ~240K credits/year | | People Data Labs | 3 credits | 0 credits | ~360K credits/year | | ZoomInfo | 5-13 credits | 0 credits | ~1M+ credits/year | **Setup:** Go to **Settings > Connections** in Clay, click **Add Connection**, and paste your provider API key. All enrichments using that provider will consume 0 Clay credits (1 Action is still consumed per enrichment). ### Step 2: Optimize Waterfall Enrichment Depth Each waterfall step costs credits (if using Clay-managed keys) and time: ```yaml # Expensive waterfall (5 providers, 10-15 credits/row): expensive: - apollo: 2 credits - hunter: 2 credits - prospeo: 2 credits - dropcontact: 3 credits - findymail: 3 credits total_max: 12 credits/row coverage: ~92% # Optimized waterfall (2 providers, 4 credits/row): optimized: - apollo: 2 credits # Highest coverage provider first - hunter: 2 credits # Strong backup total_max: 4 credits/row coverage: ~83% savings: "67% credit reduction, ~9% coverage loss" ``` **March 2026 change:** Failed lookups no longer cost Data Credits. This makes wider waterfalls less expensive than before, since you only pay when data is actually found. ### Step 3: Pre-Filter Input Data Credits wasted on unenrichable rows are the most common cost leak: ```typescript // src/clay/cost-filter.ts function estimateCreditCost(rows: any[], creditsPerRow: number): { filteredRows: any[]; estimatedCredits: number; savings: number; } { const personalDomains = new Set([ 'gmail.com', 'yahoo.com', 'hotmail.com', 'outlook.com', 'icloud.com', ]); const filtered = rows.filter(row => { if (!row.domain?.includes('.')) return false; if (personalDomains.has(row.domain)) return false; if (!row.first_name || !row.last_name) return false; return true; }); // Deduplicate const seen = new Set<string>(); const deduped = filtered.filter(row => { const key = `${row.domain}:${row.first_name}:${row.last_name}`.toLowerCase(); if (seen.has(key)) return false; seen.add(key); return true; }); return { filteredRows: deduped, estimatedCredits: deduped.length * creditsPerRow, savings: (rows.length - deduped.length) * creditsPerRow, }; } // Usage const { filteredRows, estimatedCredits, savings } = estimateCreditCost(rawLeads, 6); console.log(`Will process ${filteredRows.length} rows (${estimatedCredits} credits)`); console.log(`Saved ${savings} credits by pre-filtering`); ``` ### Step 4: Use Sampling Before Full Runs Test enrichment quality on a small sample before committing credits to the full list: ```typescript // src/clay/sampler.ts function sampleForTest(rows: any[], sampleSize = 100): { sample: any[]; remaining: any[]; estimatedTotalCredits: number; } { // Random sample for representative results const shuffled = [...rows].sort(() => Math.random() - 0.5); const sample = shuffled.slice(0, sampleSize); const remaining = shuffled.slice(sampleSize); return { sample, remaining, estimatedTotalCredits: rows.length * 6, // Estimate 6 credits/row average }; } // Workflow: // 1. Send sample (100 rows) to Clay test table // 2. Check hit rate after enrichment completes // 3. If hit rate > 60%, proceed with full list // 4. If hit rate < 40%, clean input data first ``` ### Step 5: Implement Credit Budget Alerts ```typescript // src/clay/budget-monitor.ts interface CreditBudget { monthlyLimit: number; // From your plan dailyThreshold: number; // Alert if exceeded perTableMax: number; // Cap per table } const PLAN_BUDGETS: Record<string, CreditBudget> = { launch: { monthlyLimit: 2_500, dailyThreshold: 125, perTableMax: 500 }, growth: { monthlyLimit: 6_000, dailyThreshold: 300, perTableMax: 1_500 }, enterprise: { monthlyLimit: 50_000, dailyThreshold: 2_500, perTableMax: 10_000 }, }; class BudgetMonitor { private dailyUsage = 0; private monthlyUsage = 0; private tableUsage = new Map<string, number>(); constructor(private budget: CreditBudget) {} recordUsage(tableId: string, credits: number) { this.dailyUsage += credits; this.monthlyUsage += credits; this.tableUsage.set(tableId, (this.tableUsage.get(tableId) || 0) + credits); // Check thresholds if (this.dailyUsage > this.
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/clay-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/clay-cost-tuning/)
<a href="https://modelsatlas.com/skills/jeremylongshore/clay-cost-tuning/"><img src="https://modelsatlas.com/skills/jeremylongshore/clay-cost-tuning/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Clay Cost Tuning
What does the Clay Cost Tuning skill do?
Is Clay Cost Tuning safe to install?
What can Clay Cost Tuning access on my machine?
Which assistants does Clay 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 Clay Cost Tuning skill do?
- Is Clay Cost Tuning safe to install?
- What can Clay Cost Tuning access on my machine?