api-enrichment

api-enrichment is a skill for Claude Code from LeadMagic/gtm-skills. It costs 54 tokens per session (1,475 once invoked), scanned A, original, MIT.

A method for using data-enrichment services through their APIs, which are interfaces that let software exchange data automatically.

In plain words
What is it for?
Building batch enrichment pipelines for leads, contacts, and accounts, including retries, webhooks, cost tracking, and CRM writes.
Why use it?
It removes manual data work while addressing duplicates, failed requests, rate limits, uncontrolled costs, and unreliable CRM updates.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

Part of the gtm-skills plugin — 196 skills shipped together

Good fit Building batch enrichment pipelines for leads, contacts, and accounts, including retries, webhooks…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leadmagic/gtm-skills/api-enrichment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeadMagic/gtm-skills --skill api-enrichment
Clone the repo
git clone --depth 1 https://github.com/LeadMagic/gtm-skills

Made for: Claude Code.

Or install gtm-skills, the plugin that ships this one along with the rest of its 196 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-enrichment

README.md
[![agentmods](https://agentmods.dev/badge/skills/leadmagic/gtm-skills/api-enrichment.svg)](https://agentmods.dev/skills/leadmagic/gtm-skills/api-enrichment)
Your own site
<a href="https://agentmods.dev/skills/leadmagic/gtm-skills/api-enrichment"><img src="https://agentmods.dev/badge/skills/leadmagic/gtm-skills/api-enrichment.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.01475
Opus 5 $0.00027 $0.00737
Sonnet 5 $0.00011 $0.00295
Haiku 4.5 $0.00005 $0.00147

Measured 2d ago against content hash 641a721f1a08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

api-enrichment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-output.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/automation/api-enrichment/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Enrichment

Overview

API enrichment fails when teams treat it like a simple loop over contacts. The hard parts are not the HTTP calls — they are data quality, deduplication, retry safety, rate limiting, cost controls, and knowing when not to enrich.

This skill builds a production-ready enrichment pipeline that can process leads, contacts, and accounts without silent failures or uncontrolled vendor spend.

When to Use

Use this skill when the user asks to: "build an enrichment API pipeline", "integrate enrichment directly into our app", "set up automated enrichment via API", "replace manual enrichment with API calls", "batch enrich contacts", "add enrichment to inbound routing", "push enriched data to CRM", or "handle enrichment retries and webhooks".

Do not use this for tool-specific no-code workflows. Use clay-automation or n8n-automation when the user wants a no-code platform.

Authoritative Foundations

REST API Best Practices — Idempotency and Retries

Any bulk enrichment job needs idempotent writes and retry-safe requests. A retry should never create duplicate contacts, duplicate CRM notes, or duplicate sequence enrollment.

DAMA-DMBOK — Data Quality Dimensions

Provider waterfalls improve coverage and cost control by trying the best-fit source first, then falling back only when needed. This avoids paying multiple providers for the same field.

Data Quality Management — Source Priority and Freshness

Fields need source attribution and timestamps. A title from two years ago should not override a title returned yesterday. Freshness and source priority are part of the data model.

Webhook Integration Patterns

Async jobs should call back when complete instead of forcing the client to poll. Webhooks need signature verification, retry handling, and event deduplication.

Prerequisites

  • Canonical record ID for every contact/account
  • Source-of-truth CRM fields
  • Provider API keys
  • Rate limits and pricing model for each provider
  • Field-level priority rules
  • Error logging destination
  • Webhook endpoint if processing async jobs

Read the full file on GitHub · 154 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed 641a721f1a08
  2. 7d ago First seen · 154 lines · 54 tokens per session scan A a045b10f18e5

Subscribe to this mod's changes

api-enrichment is a skill published in the GitHub repository LeadMagic/gtm-skills (48 stars, last pushed 4d ago), licensed MIT. It adds 54 tokens to every session and 1,475 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

outreachmagic

Your agent goes blind after send. Sync sequencer webhooks, research leads via Serper, and find/verify emails — all in one local SQLite DB your agent queries directly.

outreachmagic/outreachmagic · 40 tokens

cold-email

Expert cold email strategist for B2B outbound campaigns. Use when the user asks about cold email writing, email sequences, email deliverability, domain warmup, SPF/DKIM/DMARC setup, email personalization, cold email templates, email copywriting frameworks, email compliance (CAN-SPAM, GDPR), bounce management, inbox…

Frontal-so/outbound-skills · 177 tokens

list-building

Expert B2B list building orchestrator for outbound sales campaigns. Use when the user asks about building lead lists, Sales Navigator search, boolean filters, ICP definition, ICP scoring, lead sources, data validation, email verification, list segmentation, Apollo prospecting, Clay Find People, list hygiene…

Frontal-so/outbound-skills · 190 tokens

claygent

Use Clay's AI research agent (Claygent) for web research, custom data extraction, and information that does not exist in standard databases. Use when the user asks about Claygent, AI research in Clay, web browsing for data, custom data points, real-time company research, or scraping with AI. Triggers on "Claygent"…

Frontal-so/outbound-skills · 131 tokens

conditional-logic

Write Clayscript formulas, conditional runs, and credit-saving logic in Clay. Use when the user asks about Clayscript, Clay formulas, conditional runs, saving credits with logic, data manipulation, if/then logic, JavaScript formulas in Clay, or the AI formula generator. Triggers on "Clayscript", "formula"…

Frontal-so/outbound-skills · 128 tokens

people-enrichment

Find and enrich contacts at target companies in Clay. Use when the user asks about finding decision makers, people enrichment, LinkedIn enrichment, title or seniority filtering, buying committee mapping, contact discovery at companies, or Sales Navigator imports. Triggers on "find contacts", "find people", "people…

Frontal-so/outbound-skills · 110 tokens