Identify and avoid the top Clay anti-patterns, gotchas, and integration mistakes.

MITAuto-check passedDevelopment

Install Clay Known Pitfalls

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill clay-known-pitfalls -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace clay-known-pitfalls --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/clay-known-pitfalls .claude/skills/clay-known-pitfalls && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clay-known-pitfalls
GitHub stars
2.8k
Token cost
~2.3k tokens
SKILL.md length
1,028 words
Files
3 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Identify and avoid the top Clay anti-patterns, gotchas, and integration mistakes.

  • Reviewing Clay integrations for issues
  • SKILL.md covers Overview, Prerequisites, Instructions and Quick Reference Anti-Pattern…, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Onboarding new team members

What it does

Clay Known Pitfalls is an agent skill from jeremylongshore/tons-of-skills-marketplace. Identify and avoid the top Clay anti-patterns, gotchas, and integration mistakes. Use when reviewing Clay integrations for issues, onboarding new team members, or auditing existing Clay table configurations. Trigger with phrases like "clay mistakes", "clay anti-patterns", "clay pitfalls", "clay what not to do", "clay gotchas", "clay code review".

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/implementation-guide.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Development, covering Webhooks. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Reviewing Clay integrations for issues
  • Onboarding new team members
  • Auditing existing Clay table configurations
  • With phrases like clay mistakes

Example prompts

  • “clay mistakes”
  • “clay anti-patterns”
  • “clay pitfalls”
  • “/clay-known-pitfalls”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Grep

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • university.clay.com
    • community.clay.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Clay Known Pitfalls loads about 2.3k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 92 tokens; SKILL.md has 1,028 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 1,028 words, ~2,323 tokens.

Download SKILL.mdSave it as .claude/skills/clay-known-pitfalls/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
clay-known-pitfalls
description
Identify and avoid the top Clay anti-patterns, gotchas, and integration mistakes. Use when reviewing Clay integrations for issues, onboarding new team members, or auditing existing Clay table configurations. Trigger with phrases like "clay mistakes", "clay anti-patterns", "clay pitfalls", "clay what not to do", "clay gotchas", "clay code review".
allowed-tools
Read, Grep
compatibility
Designed for Claude Code
version
1.14.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, clay, audit

Clay Known Pitfalls

Overview

Real gotchas when using Clay's data enrichment platform. These are the mistakes that cost credits, waste time, or break integrations -- learned from production experience. Each pitfall includes the exact symptom, root cause, and fix.

Prerequisites

  • Active Clay account with tables configured
  • Understanding of Clay's credit and enrichment model
  • Experience with at least one Clay enrichment workflow

Instructions

Pitfall 1: Webhook 50K Limit Surprise

Symptom: Webhook silently stops accepting new data. No error, no notification. New rows simply don't appear.

Root cause: Each Clay webhook has a hard 50,000 submission lifetime limit. This limit persists even after deleting rows from the table.

Fix:

  • Monitor webhook submission count in your application
  • Create a new webhook on the same table when approaching 45K
  • Use the WebhookRotator pattern from clay-load-scale
  • Set up an alert at 40K submissions

Pitfall 2: Waterfall Burns Credits Without "Stop on First Result"

Symptom: Credits consumed at 3-5x the expected rate on waterfall enrichment columns.

Root cause: By default, waterfall enrichment may query ALL providers even after the first one finds data. You must explicitly enable "stop on first result."

Fix: In each waterfall column's settings, ensure the stop condition is configured. Without it, a 5-provider email waterfall costs 10-15 credits per row instead of 2-3.


Pitfall 3: Personal Email Domains Waste Credits

Symptom: Company enrichment returns empty for 30-50% of rows.

Root cause: Rows contain gmail.com, yahoo.com, hotmail.com domains. Clay's company enrichment can't match personal email domains to companies.

Fix:

typescript
const PERSONAL_DOMAINS = new Set([
  'gmail.com', 'yahoo.com', 'hotmail.com', 'outlook.com',
  'icloud.com', 'aol.com', 'protonmail.com', 'mail.com',
]);

function filterBeforeEnrichment(rows: any[]) {
  return rows.filter(r => {
    const domain = r.domain?.toLowerCase();
    if (PERSONAL_DOMAINS.has(domain)) {
      console.log(`Filtered: ${domain} (personal email domain)`);
      return false;
    }
    return true;
  });
}
// Apply BEFORE sending to Clay. Typical savings: 20-40% of credits.

Pitfall 4: Auto-Update Re-Enriches Entire Table

Symptom: Thousands of credits consumed overnight. Enrichment columns re-ran on rows that were already enriched.

Root cause: Table-level auto-update was ON, and a column edit or provider reconnection triggered re-enrichment of all existing rows.

Fix:

  • Turn off table-level auto-update before editing column configuration
  • Use conditional run rules: ISEMPTY(Work Email) to skip already-enriched rows
  • Only enable auto-update for tables with active webhook inflow

Pitfall 5: CSV Header Case Sensitivity

Symptom: Imported CSV data appears in wrong columns or creates new columns instead of mapping to existing ones.

Root cause: Clay maps CSV columns by exact header name. "Company Name" does not match "company_name" or "company name."

Fix:

typescript
// Normalize CSV headers before import
function normalizeCSVHeaders(headers: string[]): string[] {
  return headers.map(h => h.trim()); // Only trim whitespace
  // Do NOT lowercase or change case — match the exact Clay column name
}

// Better: rename your Clay columns to match your CSV format
// Or: use Clay's column mapping UI during CSV import to manually map

Pitfall 6: Reading Data Immediately After Webhook Write

Symptom: Checking the table via API or UI shows the row but enrichment columns are empty.

Root cause: Enrichment runs asynchronously after the row is created. Depending on provider speed and table queue, enrichment can take 5-60 seconds.

Fix: Use HTTP API columns to push enriched data back to your application rather than polling. If you must poll, wait at least 30 seconds and check for populated enrichment columns before reading.


Pitfall 7: Claygent Prompts That Are Too Vague

Symptom: Claygent returns "Could not find information" or generic/wrong data.

Root cause: Prompt says "Research this company" instead of specific, directed questions.

Bad prompt: "Research {{Company Name}}" Good prompt: "Go to {{domain}}/about and find the CEO's name. Then check {{domain}}/pricing for the starting price. Return: CEO Name, Starting Price."

Fix:

  • Be specific about what page to check
  • Ask for specific data points, not general research
  • Add fallback instructions: "If not on website, check LinkedIn"
  • Use Navigator mode for JavaScript-heavy sites

Pitfall 8: Not Connecting Your Own API Keys

Symptom: Monthly Clay bill much higher than expected. Credits consumed at 2-13 per enrichment.

Root cause: Using Clay's managed provider accounts instead of your own API keys. Every provider lookup costs Clay credits when using managed accounts.

Fix: Go to Settings > Connections and add your own API keys for Apollo, Clearbit, Hunter, etc. Result: 0 Clay data credits consumed per enrichment (only 1 Action consumed).

Savings comparison for 10K enrichments/month:

SetupCredits UsedApproximate Cost Impact
All managed~60K creditsFull credit consumption
Own API keys0 data credits + 10K actions70-80% savings

Show full SKILL.md (403 more words)Show less
Pitfall 9: No Conditional Run on Expensive Columns

Symptom: Claygent and AI columns run on every row including low-quality leads, burning expensive credits.

Root cause: Claygent and AI columns are set to auto-run on all new rows without qualification criteria.

Fix: Add "Only run if" conditions:

  • Claygent: ICP Score >= 60 AND ISNOTEMPTY(Company Name)
  • AI personalization: ICP Score >= 70 AND ISNOTEMPTY(Work Email)
  • Phone lookup: ICP Score >= 80 AND ISNOTEMPTY(Work Email)

This ensures expensive operations only run on qualified prospects.


Pitfall 10: Formula Column References Break on Rename

Symptom: Formula column shows #ERROR or #REF after renaming another column.

Root cause: Clay formulas reference columns by display name (case-sensitive). Renaming a referenced column breaks the formula.

Fix: After renaming any column, review all formula columns and update their references. Consider establishing a column naming convention and documenting it so names don't change unexpectedly.

Quick Reference Anti-Pattern Checklist

Anti-PatternCost ImpactFix Difficulty
No "stop on first result"3-5x credit wasteEasy (toggle)
Personal domains not filtered20-40% credit wasteEasy (pre-filter)
No own API keys70-80% higher costEasy (paste keys)
Auto-update re-enrichmentThousands of creditsMedium (conditions)
Vague Claygent promptsLow hit rate, wasted creditsMedium (rewrite)
No conditional run rulesExpensive columns run on allEasy (add conditions)
Webhook 50K limit hitData lossMedium (rotation)

Error Handling

ConditionResponse
A documented anti-pattern is present in productionContain the automation, record scope and impact, then correct it through reviewed change control.
Credit or data-quality impact cannot be measuredPause expansion and establish a baseline before modifying the table.
A fix requires broader data or permissionsObtain data-owner/security approval; do not bypass existing controls.
A change causes downstream CRM errorsRestore the last verified configuration and reconcile affected records.

Output

Create a remediation decision for each found anti-pattern with table scope, baseline evidence, expected cost/quality effect, owner, approved change, verification metric, and rollback trigger. Guidance is not a blanket authorization to re-enrich data or expand CRM sync.

Examples

For a table without conditional runs, first quantify affected rows and credit use, then add a qualification rule in staging and compare hit rate and CRM outcomes. Promote only after the owner accepts the result; if the rule excludes needed leads or triggers duplicates, restore the prior configuration and review the decision.

Resources

Next Steps

For comprehensive debugging when things go wrong, see clay-advanced-troubleshooting.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/.curated/clay-known-pitfalls of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/implementation-guide.md
  • references/implementation.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Clay Known Pitfalls next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clay Known Pitfalls compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clay Known Pitfalls this skilljeremylongshore/tons-of-skills-marketplace2.8k—~2.3kAutomated safety check: PassMIT
Bktavivsinai/bitbucket-cli2341 repos~1kAutomated safety check: PassMIT
Dt AlertingDynatrace/dynatrace-for-ai163—~3.3kAutomated safety check: PassApache-2.0
Codebase Onboardingericrisco/rsc-harness180—~2.4kAutomated safety check: PassMIT
Shopify DebuggingMicrock/ordinary-claude-skills404—~3.8kAutomated safety check: PassCustom licence
PR Review Provideryansongda/pay5.4k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Bkt

    avivsinai/bitbucket-cli

    Operate Bitbucket Cloud or Data Center repositories, pull requests, branches, issues, pipelines, permissions, and webhooks with bkt.

    234 GitHub starsUsed in 1 repo~1k tokens
    DevelopmentAuto-check passed
  • Dt Alerting

    Dynatrace/dynatrace-for-ai

    End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline, seasonal baseline), alert event storage in Grail, problem grouping and…

    163 GitHub stars~3.3k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Codebase Onboarding

    ericrisco/rsc-harness

    A skill your agent uses when you land in an unfamiliar or inherited codebase and must get productive fast: a breadth-first map of entry points, request flow, module ownership, hidden side effects…

    180 GitHub stars~2.4k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Shopify Debugging

    Microck/ordinary-claude-skills

    Complete debugging and troubleshooting guide for Shopify including Liquid errors, theme preview debugging, API error handling, JavaScript console debugging, network request inspection, cart issues…

    404 GitHub stars~3.8k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • PR Review Provider

    yansongda/pay

    A skill your agent uses when reviewing PRs that add or modify a payment Provider in yansongda/pay - covers plugin pipeline, multi-tenant safety, signature verification, docs, and naming conventions.

    5.4k GitHub stars~2.4k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Steward

    bomzheg/Shvatka

    How an agent watches a pull request in this repository — webhooks only, no scheduled check-ins.

    144 GitHub stars~574 tokensUpdated 3 days ago
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Clay Known Pitfalls

What does Clay Known Pitfalls do?

Identify and avoid the top Clay anti-patterns, gotchas, and integration mistakes. Clay Known Pitfalls is an agent skill from jeremylongshore/tons-of-skills-marketplace. Identify and avoid the top Clay anti-patterns, gotchas, and integration mistakes.

When should I use Clay Known Pitfalls?

Clay Known Pitfalls fits situations like: reviewing Clay integrations for issues; onboarding new team members; auditing existing Clay table configurations; with phrases like clay mistakes.

How do I install Clay Known Pitfalls in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clay-known-pitfalls -a claude-code`. Or copy the skill folder (skills/.curated/clay-known-pitfalls in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/clay-known-pitfalls in your project. Claude Code loads it when a task matches its description.

How do I install Clay Known Pitfalls in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clay-known-pitfalls -a codex`. Or copy the skill folder (skills/.curated/clay-known-pitfalls in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/clay-known-pitfalls in your project. Codex loads it when a task matches its description.

Can I use Clay Known Pitfalls in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clay-known-pitfalls -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clay-known-pitfalls, .gemini/skills/clay-known-pitfalls, .github/skills/clay-known-pitfalls and .opencode/skills/clay-known-pitfalls in your project.

What does Clay Known Pitfalls need to run?

SKILL.md names no scripts, command-line tools or credentials: Clay Known Pitfalls is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Clay Known Pitfalls access the network?

SKILL.md names 2 domains. As links in the text: university.clay.com and community.clay.com. This is read from the text; nothing was executed.

Is Clay Known Pitfalls safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Clay Known Pitfalls use?

Clay Known Pitfalls is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clay Known Pitfalls use?

About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Clay Known Pitfalls?

Skills that share tags, products or a category with Clay Known Pitfalls: Bkt (avivsinai/bitbucket-cli, 234 stars), Dt Alerting (Dynatrace/dynatrace-for-ai, 163 stars), Codebase Onboarding (ericrisco/rsc-harness, 180 stars) and Shopify Debugging (Microck/ordinary-claude-skills, 404 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clay Known Pitfalls?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.