Przejdź do treści
Biblioteka skilli
Sprzedaż i obsługa klienta · Automatyzacja

leadmagic-cli

/leadmagic-cli

Obsługuje enrichment przez CLI LeadMagic: znajduje i waliduje emaile, wzbogaca pliki CSV partiami, szuka decydentów według roli i wysyła kontakty do Smartlead lub Instantly.

Repozytorium
gtm-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
14.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
8
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/check-output.py

Co robi i kiedy

Obsługuje enrichment przez CLI LeadMagic: znajduje i waliduje emaile, wzbogaca pliki CSV partiami, szuka decydentów według roli i wysyła kontakty do Smartlead lub Instantly.

Wyzwalacze z opisu

LeadMagic CLIlm findlm validatelm enrichLeadMagic command line
Oryginalny opis (EN)

Use the LeadMagic CLI for enrichment automation — find emails, validate contacts, enrich CSVs in batch, find decision-makers by role, and push to outbound platforms (Smartlead, Instantly). Use when automating enrichment from the command line, batch-processing contacts, or integrating LeadMagic into scripts. Triggers on: "LeadMagic CLI", "lm find", "lm validate", "lm enrich", "LeadMagic command line", or any request about CLI-based enrichment.

Jak działa

  1. Overview
  2. Authoritative Foundations
  3. When to Use
  4. Authentication and current documentation
  5. Key Commands
  6. Workflow Pattern
  7. Scripting Integration
  8. Output Format
  9. Quality Check
  10. Common Pitfalls
Sekcje z nagłówków SKILL.md, w oryginale · 141 linii, 808 słów
Podgląd SKILL.md
---
name: leadmagic-cli
description: >-
  Use the LeadMagic CLI for enrichment automation — find emails, validate contacts,
  enrich CSVs in batch, find decision-makers by role, and push to outbound platforms
  (Smartlead, Instantly). Use when automating enrichment from the command line,
  batch-processing contacts, or integrating LeadMagic into scripts. Triggers on:
  "LeadMagic CLI", "lm find", "lm validate", "lm enrich", "LeadMagic command line",
  or any request about CLI-based enrichment.
license: MIT
compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
metadata:
  version: "1.1.1"
  author: LeadMagic
  category: leadmagic
  tags: [leadmagic, cli, automation, enrichment, batch-processing]
  frameworks:
    - "LeadMagic docs — CLI installation and commands"
    - "LeadMagic docs — Credits"
    - "Command Line Interface Guidelines (clig.dev)"
  related_skills: [leadmagic-waterfall, leadmagic-integrations, api-enrichment]
---

# 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
- **LeadMagic docs — CLI installation and commands** — Install lm-tui, authenticate with `lm login` (browser OAuth), and check `lm --help` rather than pasting API keys into config.
- **LeadMagic docs — Credits** — Check the credit balance and estimate cost before bulk runs; failed lookups and credit rules are documented per endpoint.
- **Command Line Interface Guidelines (clig.dev)** — Prefer machine-readable output, meaningful exit codes, and non-interactive flags when scripting the CLI in pipelines.

## 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"

## Authentication and current documentation

Install [lm-tui](https://leadmagic.io/docs/cli/installation), then use `lm login` for browser OAuth. Never paste a REST API key into normal CLI configuration. Check `lm --help` and the [command reference](https://leadmagic.io/docs/cli/commands) for the installed version before writing automation.

## Key Commands

### Email Finding
```bash
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
```bash
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
```bash
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
```bash
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.

### Profile Enrichment
```bash
lm find profile-search -p linkedin.com/in/janesmith
```
Fetch full professional profiles from profile URLs. Includes work history,
education, and skills data.

### Outbound Platform Push
```bash
lm integrations smartlead connect
lm integrations smartlead campaigns
lm integrations smartlead push --campaign <id>
```
Connect to Smartlead, Instantly, or EmailBison. List campaigns, push enriched
contacts, view stats. All from terminal.

## Workflow Pattern

1. **Find contacts:** `lm find role` or `lm find email` for individual lookups
2. **Bulk enrich:** `lm enrich -i input.csv` for batch processing
3. **Validate external addresses:** use `lm validate -f external.csv -c email` for emails sourced outside LeadMagic
4. **Push:** `lm integrations smartlead push` to outbound platform

Email Finder returns validated work emails; do not immediately run them through validation again. Review consent, suppression status, and the final audience before any sequencer push.

## Scripting Integration

```bash
# Shell script: enrich and push weekly
#!/bin/bash
lm enrich -i weekly_leads.csv --batch-size 25 -o enriched_$(date +%Y%m%d).csv
# Finder-returned emails are already validated; validate external lists separately.
lm integrations smartlead push --campaign main_campaign
```

## Output Format

Commands produce structured JSON or CSV output. All results include source
attribution and confidence indicators. Pipe into other tools or import into
spreadsheets.


## Quality Check

Before delivering, verify:
- [ ] All required sections are complete
- [ ] Output matches the user's stated need
- [ ] Named frameworks are cited for key recommendations
- [ ] No vague claims — every recommendation has a specific action
- [ ] Deliverable is ready for operational use, not just conceptual

## Common Pitfalls

1. **Paying twice for verification.** Finder-returned work emails are already validated. Use validation for externally sourced or stale CRM lists.

2. **Batch size too large.** Stick to 25-50 per batch for reliability. Larger
   batches risk timeouts.

3. **Treating all email sources alike.** Keep finder results separate from external email lists so only the latter need a validation pass.

4. **Wrong CSV column mapping.** Check detected columns with `lm enrich -i input.csv --dry-run` before running paid batches.

## Execution Artifacts

- `references/framework-notes.md` — CLI patterns, source-aware email verification, Eric scale ops
- `templates/output-template.md` — command sequence + verify gate deliverable
- `scripts/check-output.py` — local checklist validator for required sections
This skill includes lightweight artifacts the agent can load on demand:
- `references/cli-workflow-patterns.md` — source-aware enrichment pipelines (Patterns A–E)
- `references/waterfall-column-spec.md` — Clay alternative for recurring
- the `smartlead-workflows` skill (clay-enrollment-handoff.md) — post-CLI sequencer handoff
- `references/pat-spielmann-outbound-copy.md` — verify-before-send (Pat Spielmann)
- `references/gtm-experts-outbound-index.md` — expert router
Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.

## Related Skills

- **leadmagic-waterfall**: Clay waterfall with LeadMagic primary
- **leadmagic-integrations**: Platform-specific integration guides
- **leadmagic-bulk-enrichment**: API-based bulk processing
- **leadmagic-job-change**: Job change monitoring via CLI
Pliki w paczce (8)
  • SKILL.md 7 KB
  • references/cli-workflow-patterns.md 2 KB
  • references/framework-notes.md 1 KB
  • references/gtm-experts-outbound-index.md 7 KB
  • references/pat-spielmann-outbound-copy.md 14 KB
  • references/waterfall-column-spec.md 2 KB
  • scripts/check-output.py 1 KB
  • templates/output-template.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie leadmagic-cli.

Migawka bazy z 13.11.2026 · wersja paczki 7e209189f4aa (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100leadmagic-integrations
    Integruje LeadMagic z platformami GTM, takimi jak Clay, Apollo, Smartlead, Salesforce, HubSpot, Zapier i Make, w tym przepływy danych w dwie strony i webhooki.
  • 100leadmagic-bulk-enrichment
    Przetwarza pliki CSV w LeadMagic hurtowo: czyści dane wejściowe, dobiera wielkość partii, obsługuje statusy walidacji i webhooki oraz eksportuje wyniki do CRM.
  • 100push-to-sequencer
    Weryfikuje listę prospektów, dzieli ją na segmenty i ładuje bezpieczne do Instantly lub Smartlead albo przygotowuje pliki CSV do importu.
  • 100full-csv
    Wzbogaca kontakty z wgranego pliku CSV (adresy LinkedIn, imiona i firmy) o zweryfikowane e-maile i telefony przez FullEnrich i pokazuje wyniki w tabeli z opcją pobrania.
  • 90bulk-enrichment
    Wzbogaca plik CSV z danymi osób, do 50 tys. wierszy, kluczami takimi jak e-mail, profil, nick lub imię z domeną firmy.
  • 100apify-lead-scoring-enrichment
    Ocenia plik CSV z domenami według reguł dopasowania zapisanych zwykłym językiem, a kwalifikowane firmy wzbogaca o kontakty i haczyk do rozmowy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.