leadmagic-cli

leadmagic-cli is a skill for Claude Code, Codex from LeadMagic/gtm-skills. It costs 99 tokens per session (1,465 once invoked), scanned A, original, MIT.

A command-line workflow for LeadMagic, letting scripts and terminal commands find and validate work emails, enrich company data, process CSV lists, and send contacts to outreach platforms.

In plain words
What is it for?
Use it to find decision-makers by role, validate contact lists, batch-process CSV files, and push verified contacts to Smartlead or Instantly.
Why use it?
It removes repetitive manual work from contact research and makes enrichment steps usable in shell scripts and automated workflows.

Skill for Claude CodeCodex

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

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.

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

Made for: Claude Code, Codex.

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 leadmagic-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/leadmagic/gtm-skills/leadmagic-cli.svg)](https://agentmods.dev/skills/leadmagic/gtm-skills/leadmagic-cli)
Your own site
<a href="https://agentmods.dev/skills/leadmagic/gtm-skills/leadmagic-cli"><img src="https://agentmods.dev/badge/skills/leadmagic/gtm-skills/leadmagic-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00099 $0.01465
Opus 5 $0.00049 $0.00732
Sonnet 5 $0.00020 $0.00293
Haiku 4.5 $0.00010 $0.00146

Measured yesterday against content hash e9a2af53b91e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

leadmagic-cli 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 yesterday.

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/leadmagic/leadmagic-cli/SKILL.md · 165 lines

How it starts

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

LeadMagic CLI

Overview

The LeadMagic CLI provides terminal access to email finding, validation, company enrichment, and outbound platform integration. Use it to automate enrichment workflows, batch-process CSV files, and push verified contacts to sending platforms — all without leaving the terminal.

Authoritative Foundations

  • CLI Design Patterns — Shapes deliverables for this skill — The LeadMagic CLI provides terminal access to email finding, validation, company enrichment, and outbound platform integ.
  • Enrichment Workflow Automation — Shapes deliverables for this skill — The LeadMagic CLI provides terminal access to email finding, validation, company enrichment, and outbound platform integ.
  • LeadMagic Public Documentation — B2B Data Enrichment — B2B Data Enrichment

When to Use

  • "Use the LeadMagic CLI to find emails"
  • "Validate a CSV of contacts from the command line"
  • "Push enriched contacts to Smartlead via CLI"
  • "Automate enrichment in a shell script"
  • "Batch process contacts with LeadMagic"
  • "Find specific roles at companies via CLI"

Key Commands

Email Finding

lm find email -f Jane -l Smith -d company.com

Returns a verified work email for the given name and domain. Pay-per-result pricing — only charged when a valid email is found.

Email Validation

lm validate -f contacts.csv -c email

Validates all emails in the specified CSV column. Returns valid/invalid/risky/ unknown status per email. Process 4 validations per credit.

Bulk CSV Enrichment

lm enrich -i contacts.csv --batch-size 25

Enriches a CSV with auto-detected columns. Processes in configurable batches for reliability. Adds columns for found emails, verification status, and enrichment metadata.

Role Finding

lm find role -c "Acme Corp" -t "VP Sales"

Finds people with specific titles at a company. Returns name, title, and verified email where available.

Company Enrichment

lm find profile-search -p linkedin.com/in/janesmith

Fetch full professional profiles from profile URLs. Includes work history, education, and skills data.

Read the full file on GitHub · 165 lines

Files

What ships with it

4 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. yesterday First seen · 165 lines · 99 tokens per session scan A e9a2af53b91e

Subscribe to this mod's changes

leadmagic-cli is a skill published in the GitHub repository LeadMagic/gtm-skills (48 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 1,465 once invoked, about $0.0005 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-09-03.

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

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

deduplicate

Deduplicate prospect lists, merge data from multiple sources, and ensure data quality across columns. Use when user asks about "deduplicate", "duplicates", "remove duplicates", "merge sources", "merge columns", "multiple data sources", "data quality", "clean up list", "duplicate contacts", "Clay auto-dedupe". Do NOT…

Frontal-so/outbound-skills · 92 tokens

competitor-signals

Competitor engagement signal tracking for B2B outbound. Use when the user asks about competitor signals, bad review targeting, G2/Capterra scraping, LinkedIn follower scraping from competitors, battle cards, competitor customer targeting, or churned competitor customers. Do NOT use for tech stack changes broadly (use…

Frontal-so/outbound-skills · 82 tokens