Agent skill

Clay Core Workflow A

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Build a complete lead enrichment pipeline using Clay tables, webhooks, and waterfall enrichment.

MITAuto-check passedBackend & APIs

Install Clay Core Workflow A

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

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace clay-core-workflow-a --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-core-workflow-a .claude/skills/clay-core-workflow-a && 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-core-workflow-a
GitHub stars
2.8k
Token cost
~1.7k tokens
SKILL.md length
507 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Build a complete lead enrichment pipeline using Clay tables, webhooks, and waterfall enrichment.

  • Works in 6 steps: Design Your Clay Table Schema → Set Up Waterfall Email Enrichment → Push Leads into Clay via Webhook → …
  • Building lead generation features
  • SKILL.md covers Overview, Prerequisites, Instructions and Error Handling, plus 4 more sections
  • Reaches api.hubapi.com

What it does

Clay Core Workflow A is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a complete lead enrichment pipeline using Clay tables, webhooks, and waterfall enrichment. Use when building lead generation features, enriching prospect lists, or creating automated data enrichment workflows. Trigger with phrases like "clay lead enrichment", "clay main workflow", "enrich contacts in clay", "clay prospect list", "clay enrichment pipeline".

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code

It sits in Backend & APIs, covering Lead generation and 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

  • Building lead generation features
  • Enriching prospect lists
  • Creating automated data enrichment workflows
  • With phrases like clay lead enrichment

Example prompts

  • “clay lead enrichment”
  • “clay main workflow”
  • “enrich contacts in clay”
  • “/clay-core-workflow-a”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(curl:*), Bash(npm:*), Bash(node:*), Grep

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Design Your Clay Table Schema
  2. Set Up Waterfall Email Enrichment
  3. Push Leads into Clay via Webhook
  4. Add ICP Scoring Formula
  5. Configure CRM Export
  6. Monitor Enrichment Results

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
    • Write
    • Edit
    • Bash(curl:*)
    • Bash(npm:*)
    • Bash(node:*)
    • 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, json and bash).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.hubapi.com

    Also links to:

    • university.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 Core Workflow A loads about 1.7k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 507 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

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). 507 words, ~1,709 tokens.

Download SKILL.mdSave it as .claude/skills/clay-core-workflow-a/SKILL.md (or your agent's skills folder).
name
clay-core-workflow-a
description
Build a complete lead enrichment pipeline using Clay tables, webhooks, and waterfall enrichment. Use when building lead generation features, enriching prospect lists, or creating automated data enrichment workflows. Trigger with phrases like "clay lead enrichment", "clay main workflow", "enrich contacts in clay", "clay prospect list", "clay enrichment pipeline".
allowed-tools
Read, Write, Edit, Bash(curl:*), Bash(npm:*), Bash(node:*), Grep
compatibility
Designed for Claude Code
version
1.14.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, clay, workflow

Clay Core Workflow A: Lead Enrichment Pipeline

Overview

Primary workflow for Clay: take a list of companies or contacts, push them into a Clay table via webhook, let Clay's enrichment columns fill in missing data (emails, titles, company info, tech stack), and export the enriched results to your CRM or outreach tool. This is the core use case for 90%+ of Clay users.

Prerequisites

  • Completed clay-install-auth setup
  • Clay table with webhook source configured
  • At least one enrichment provider connected (Apollo, Clearbit, Hunter, etc.)
  • Destination CRM or outreach tool (HubSpot, Salesforce, Instantly, etc.)

Instructions

Step 1: Design Your Clay Table Schema

In the Clay web UI, create a table with these column types:

ColumnTypePurpose
domainInput (webhook)Company domain to enrich
first_nameInput (webhook)Contact first name
last_nameInput (webhook)Contact last name
Company NameEnrichment (Clearbit/Apollo)Auto-filled from domain
Employee CountEnrichment (Clearbit)Company headcount
IndustryEnrichment (Clearbit)Industry classification
Work EmailEnrichment (Waterfall)Verified work email
Job TitleEnrichment (Apollo/PDL)Current title
LinkedIn URLEnrichment (Apollo)Profile link
ICP ScoreFormulaComputed fit score
Step 2: Set Up Waterfall Email Enrichment

In Clay UI, add a waterfall enrichment column:

  1. Click + Add Column > Find Work Email (Waterfall)
  2. Configure provider order (cheapest first):
    • Apollo (2 credits) -- highest coverage
    • Hunter.io (2 credits) -- strong for smaller companies
    • Prospeo (2 credits) -- European coverage
  3. Map input: first_name, last_name, domain
  4. Enable Stop on first result to save credits
  5. Enable Auto-run on new rows
Step 3: Push Leads into Clay via Webhook
typescript
// src/workflows/enrich-leads.ts
import { getClayClient } from '../clay/instance';

interface LeadInput {
  domain: string;
  first_name: string;
  last_name: string;
  source?: string;
}

async function enrichLeadList(leads: LeadInput[]): Promise<void> {
  const clay = getClayClient();

  // Validate and deduplicate before sending
  const cleaned = leads
    .filter(l => l.domain?.includes('.') && l.first_name && l.last_name)
    .filter((l, i, arr) =>
      arr.findIndex(x => x.domain === l.domain && x.first_name === l.first_name) === i
    );

  console.log(`Sending ${cleaned.length} leads to Clay (filtered ${leads.length - cleaned.length} invalid/dupes)`);

  const result = await clay.sendBatch(cleaned, 200);
  console.log(`Sent: ${result.sent}, Failed: ${result.failed}`);

  if (result.errors.length > 0) {
    console.error('Failed rows:', result.errors);
  }
}
Step 4: Add ICP Scoring Formula

In Clay, add a Formula column named ICP Score:

// Clay formula syntax (similar to spreadsheet formulas)
// Score 0-100 based on company fit

LET(
  size_score, IF(Employee Count > 500, 30, IF(Employee Count > 100, 20, IF(Employee Count > 20, 10, 0))),
  industry_score, IF(OR(Industry = "Software", Industry = "Technology", Industry = "SaaS"), 30, IF(Industry = "Financial Services", 20, 10)),
  title_score, IF(OR(CONTAINS(Job Title, "VP"), CONTAINS(Job Title, "Director"), CONTAINS(Job Title, "Head")), 25, IF(CONTAINS(Job Title, "Manager"), 15, 5)),
  email_score, IF(ISNOTEMPTY(Work Email), 15, 0),
  size_score + industry_score + title_score + email_score
)
Step 5: Configure CRM Export

Add an HTTP API column to push high-scoring leads to your CRM:

  1. Click + Add Column > HTTP API
  2. Set conditional run: ICP Score >= 70 AND ISNOTEMPTY(Work Email)
  3. Configure the API call to your CRM:
json
{
  "method": "POST",
  "url": "https://api.hubapi.com/crm/v3/objects/contacts",
  "headers": {
    "Authorization": "Bearer {{HubSpot API Key}}",
    "Content-Type": "application/json"
  },
  "body": {
    "properties": {
      "email": "{{Work Email}}",
      "firstname": "{{first_name}}",
      "lastname": "{{last_name}}",
      "company": "{{Company Name}}",
      "jobtitle": "{{Job Title}}"
    }
  }
}
Show full SKILL.md (199 more words)Show less
Step 6: Monitor Enrichment Results
bash
# Check your table's enrichment progress in the Clay UI
# Key metrics to watch:
# - Email find rate: target >60%
# - Company enrichment rate: target >85%
# - Average credits per row: target <10
# - ICP score distribution: should have clear A/B/C tiers

Error Handling

ErrorCauseSolution
Low email find rate (<40%)Bad input dataClean domains, remove personal email domains
Credits burning fastWaterfall hitting all providersEnable "stop on first result"
Duplicate rows in tableSame lead sent twiceDeduplicate before webhook submission
CRM push failingInvalid field mappingTest HTTP API column on single row first
Enrichment not runningAuto-run disabledEnable auto-run in column settings

Output

Produce a controlled enrichment manifest with source consent/purpose, table scope, provider waterfall, qualification conditions, deduplication key, credit budget, CRM action decision, and quality review. The output should not be treated as automatically accurate or permission to contact a lead; verify the data and applicable outreach/CRM policy before use.

Examples

Import a small staging list with synthetic or approved records, enable a two-provider waterfall only after a qualifying condition, and verify that a repeat submission updates rather than duplicates the CRM record. If quality, consent, or budget checks fail, stop the CRM action and retain the prior table configuration while the owner resolves the issue.

Resources

Next Steps

For AI-powered personalization and CRM sync, see clay-core-workflow-b.

© 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

Just SKILL.md in skills/.curated/clay-core-workflow-a of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Clay Core Workflow A 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 Core Workflow A compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clay Core Workflow A this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.7kAutomated safety check: PassMIT
Workflows Inbound Lead Routingclay-run/agent-plugins132—~1.8kAutomated safety check: PassNone
Apollo OutreachOpenClaudia/openclaudia-skills713—~1.4kAutomated safety check: NotesMIT
Klaviyo Developerthatrebeccarae/claude-marketing161—~4.9kAutomated safety check: NotesMIT
Novu Design Workflownovuhq/novu40k—~2.6kAutomated safety check: PassCustom licence
Golivemikehasa/golive-skill1.3k—~13kAutomated safety check: NotesMIT

Similar skills

  • Workflows Inbound Lead Routing

    clay-run/agent-plugins

    Guide customers through building an inbound lead-routing workflow in Clay Workflows.

    132 GitHub stars~1.8k tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed
  • Apollo Outreach

    OpenClaudia/openclaudia-skills

    Research and enrich B2B leads using the Apollo.io API. An agent skill from OpenClaudia/openclaudia-skills.

    713 GitHub stars~1.4k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Klaviyo Developer

    thatrebeccarae/claude-marketing

    Klaviyo API and developer integration expertise. An agent skill from thatrebeccarae/claude-marketing.

    161 GitHub stars~4.9k tokensUpdated 4 mo ago
    Backend & APIsAuto-check: notes
  • Design notification workflows the Novu way — choose channels, set severity, decide when a workflow is critical, configure digests, and route based on subscriber state.

    40k GitHub stars~2.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Golive

    mikehasa/golive-skill

    Take an agent-written app from repo to live production on the user's OWN accounts, with providers they choose (hosting, database, auth, payments, email, domain/DNS).

    1.3k GitHub stars~13k tokensUpdated 7 days ago
    Backend & APIsAuto-check: notes
  • Stripe Apps

    fossasia/eventyay

    A skill your agent uses when building, modifying, or reviewing a Stripe App — or when the user describes something that implies one (e.g.

    1.7k GitHub starsUsed in 1 repo~3.6k tokens
    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 Core Workflow A

What does Clay Core Workflow A do?

Build a complete lead enrichment pipeline using Clay tables, webhooks, and waterfall enrichment. Clay Core Workflow A is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a complete lead enrichment pipeline using Clay tables, webhooks, and waterfall enrichment.

When should I use Clay Core Workflow A?

Clay Core Workflow A fits situations like: building lead generation features; enriching prospect lists; creating automated data enrichment workflows; with phrases like clay lead enrichment.

How do I install Clay Core Workflow A in Claude Code?

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

How do I install Clay Core Workflow A in Codex?

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

Can I use Clay Core Workflow A 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-core-workflow-a -a cursor` (or -a -a, -a or -a for the others). To copy it by hand, put the folder in .cursor/skills/clay-core-workflow-a, .gemini/skills/clay-core-workflow-a, .github/skills/clay-core-workflow-a and .opencode/skills/clay-core-workflow-a in your project.

What does Clay Core Workflow A need to run?

SKILL.md names no scripts, command-line tools or credentials: Clay Core Workflow A is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(curl:*), Bash(npm:*), Bash(node:*), Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Clay Core Workflow A access the network?

SKILL.md names 2 domains. In commands or code: api.hubapi.com; the agent is likely to contact it when it follows the instructions. As links in the text: university.clay.com. This is read from the text; nothing was executed.

Is Clay Core Workflow A 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 Core Workflow A use?

Clay Core Workflow A 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 Core Workflow A use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Clay Core Workflow A?

Skills that share tags, products or a category with Clay Core Workflow A: Workflows Inbound Lead Routing (clay-run/agent-plugins, 132 stars), Apollo Outreach (OpenClaudia/openclaudia-skills, 713 stars), Klaviyo Developer (thatrebeccarae/claude-marketing, 161 stars) and Novu Design Workflow (novuhq/novu, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clay Core Workflow A?

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.