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.
npx skills add LeadMagic/gtm-skills --skill api-enrichmentgit clone --depth 1 https://github.com/LeadMagic/gtm-skillsWrote 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.
[](https://agentmods.dev/skills/leadmagic/gtm-skills/api-enrichment)<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>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.
| Model | Per session | Once 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 |
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.
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.
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
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.
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.
- 2d ago Changed 641a721f1a08
- 7d ago First seen · 154 lines · 54 tokens per session scan A a045b10f18e5
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.
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.
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…
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…
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"…
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"…
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…