agentsclimarketplace

Leadgenius cli

Skill thierryteisseire/leadgenius-cli

Manage B2B leads, enrichment, AI scoring, and sales automation via the LeadGenius Pro platform. Use when the user asks to find leads, enrich contacts, score prospects, manage campaigns, import CSV leads, provision users, run FSD pipelines, check EpsimoAI credits, manage territory companies, or interact with the LeadGenius API. Also use when the user mentions "lgp", "LeadGenius", "lead enrichment", "lead scoring", "ICP", "FSD pipeline", "territory companies", or "EpsimoAI".From its SKILL.md

Install
npx -y skills add thierryteisseire/leadgenius-cli

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as See LICENSE file in repository root. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

5.9 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

LeadGenius CLI Skill

Operate the LeadGenius Pro B2B platform from the command line. This skill provides the lgp CLI for lead management, enrichment, AI scoring, pipeline automation, user provisioning, and more.

Setup

Install the CLI globally:

npm install -g leadgenius-cli

Set the API key (persists across sessions):

lgp config set api-key lgp_YOUR_KEY_HERE
lgp auth test

Credentials are saved to ~/.leadgenius-cli/session.json and auto-loaded on subsequent runs.

Core Workflows

Search and list leads

# Smart search — auto-detects email, name, or URL, case-insensitive
lgp leads search -q "Jane Doe"
lgp leads search -q "[email protected]"

# List leads for a client (shows interactive client picker if -c omitted)
lgp leads list
lgp leads list -c <client-id> --limit 20

Import leads from CSV

lgp leads import --file leads.csv

CSV headers map directly to API fields: firstName, lastName, email, companyName, title, linkedinUrl, etc. The CLI prompts for client selection.

Enrich, score, and generate AI content

lgp tasks enrich --lead <id>
lgp tasks score --lead <id>
lgp tasks copyright --lead <id>

Run FSD pipeline (full automation)

lgp fsd run -c <client> --icp <id> --enrich --score
lgp fsd status <pipelineId>
lgp fsd campaigns

Provision a new user for UI login at last.leadgenius.app

# Creates Cognito user + CompanyUser + optional API key
lgp users provision -e [email protected] -p "SecurePass123!" --company-id <id> --role admin --group admin

# Set UI access (requires admin key)
lgp cognito set-attributes -e [email protected] --attributes '{"custom:allowed_views":"role:companyAdmin|*"}'

Manage territory companies

lgp companies list -c <client>
lgp companies leads <companyId>
lgp companies content-analysis <companyId>
lgp companies aggregate -c <client>
lgp companies events radar

EpsimoAI credits and threads

In TUI mode (lgp with no args), EpsimoAI authenticates automatically via Cognito token exchange. In CLI mode:

lgp epsimo activate --cognito-token <jwt>
lgp epsimo info -t <token>
lgp epsimo credits -t <token>
lgp epsimo threads -t <token>

Report bugs and request features

lgp maintenance bugs report --desc "Description of the issue" --email [email protected]
lgp maintenance enhancements request --desc "Feature idea" --email [email protected]
lgp maintenance bugs list

All Command Groups

GroupDescriptionKey Commands
authTest connectionauth test
leadsLead CRUD, search, import, deduplist, search -q, import --file, dedup
tasksBackground jobsenrich, score, copyright
fsdFull-Stack Demand pipelinerun, campaigns, status
companiesTerritory intelligencelist, leads, aggregate, events
usersUser managementlist, create, provision, menu-config
orgCompany managementlist, create, rename, add-user
cognitoCognito user pool (admin)list, get, create, set-attributes
epsimoEpsimoAI integrationactivate, info, credits, threads
tablesGeneric CRUD for any tablelist <Table>, create, update, delete
generateLead generationfrom-icp, direct, schedule
campaignsABM campaignslist, create
clientsClient managementlist, create
sharesShared linkscreate, extend, revoke
webhooksInbound eventslist, get, reprocess
maintenanceBugs & enhancementsbugs list/report, enhancements list/request
pipelineAnalytics--start --end
account-analysisAccount intelligencelist, analyze, export
adminBackups, PITR, systembackup, pitr, org-tree, views
configSession managementshow, set, get, reset

Output Format

By default, the CLI shows smart-formatted output with tables, colors, and progress bars. Use --format json for raw JSON (useful for piping to jq or scripts):

lgp leads list -c <id> --format json | jq '.data[].email'

Interactive TUI

Launch with no arguments for a menu-driven interface:

lgp

The TUI provides client picker dropdowns, auto-authentication for EpsimoAI, and all commands accessible via menus.

API Base URL

https://api.leadgenius.app/api/automation/

Environment Variables

VariableDescription
LGP_API_KEYAPI key (lgp_ prefix)
LGP_URLBase URL (default: https://api.leadgenius.app)
LGP_ADMIN_KEYAdmin key for cognito/admin commands

Reference Docs

What ships with it: 51 files

528.8 KB alongside SKILL.md, 37 of them executable

references/

11 more files not listed here. See all 51 in the repository.

Keep looking

Skills are one crate of 326,422. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.