/import-leads:checkfrom import-leads
Say whether an import would work before anyone is mid-import, and what it would do. Use when the user asks "are we set up to import", "would this list import cleanly", "check this list", before the first import ever, after the org's rules change, or before a big list where finding out mid-run would be expensive. Reads config, the alias map, the Process artifacts and the CRM, and a list only when handed one. Writes nothing, and never runs a paid step.
Ships in import-leads. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Whether an import would work, and what it would do, before anyone is mid-import.
This skill writes nothing at all, anywhere, and never runs a paid step. The one exception in the whole plugin is the first-run config write both skills share, which happens only on an explicit yes.
The same command layer as run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/import-leads.js" <command> <args>
Requests are sent the way run sends them: on HubSpot with the Service Key
as a bearer read from the file config names, never printed and never
pasted; on Salesforce through the sf CLI, whose keychain holds the
credential under the alias the specs carry. Every request this
skill sends is a read.
First, when config already names salesforce, run sf --version, and on
a first run do the same the moment salesforce is chosen (the Config bullet
below says where), because every
Salesforce request in this half goes through that CLI, the mailing-fields
probe on a first run included. When the command is not found, the org
cannot be reached from this machine at all, which is a different finding
from a wrong alias: report it under Not ready at all, hand over the two
commands that fix it, npm install -g @salesforce/cli and then
sf org login web --alias <the alias config names>, and mark only the
Salesforce-dependent checks as not checked (the org display, the probe, the
Marketing User flag, and the mailing-fields probe on a first run). The rest
of this half does not need the CLI and still runs. The plugin does not run
the install itself; installing a command-line tool is the person's call on
their own machine. HubSpot needs no tool installed: the Service Key file is
the whole credential.
Then run check-standing. It reports, in one pass:
config-draft, show the whole draft, and
config-write only on an explicit yes. On salesforce, run sf --version
the moment salesforce is chosen and before any other sf command, with
the missing-CLI finding above if it is not there, then
mailing-fields-probe <orgAlias> and mailing-fields-judge, two
read-only queries with one measured verdict per code field, and pass the
judged pair as the draft's mailingFields, which it refuses to assemble
without (a picklist org refuses the plain fields' values; a plain org
lacks the code fields; measured 2026-08-26).org-judge on the saved response.clay,
lusha, apollo and zoominfo so they appear in its Connectors tab.
This skill calls none of them, so it reads the answer from the tools the
session exposes, without calling any, and says which of the four, or
which other enrichment tool, is there. When that cannot be told from the
session, ask the person. None connected is a fact to report, not a
failure: run still works with its gaps named.probe-judge on
the saved response. A connection is alive when the store answered with the
measured envelope, and nothing more is claimed: a credential working for
reads says nothing about writes, which only the live run proves.flag-query and
flag-judge (whoami first, the flag read second) and call it out when it
is off, because campaign creation is refused until it is on. Naming it is
the whole of this skill's job; the measured one-call fix travels in
run's plan as its own named line.Then the artifacts: read the required-fields rule and the member-status grid
from the Process library, and run validate-rules on what was read, with the
personas artifact when it exists. A missing required artifact is named, not
worked around: say which artifact is missing and that process:new is
where it gets written. This skill never fixes what it finds, and a dead
connection is reported, not repaired.
If the foundation is not installed at all, the standing half still runs everything above except the artifact reads, and says so: config, key, alias map and probe are this plugin's own, and the artifacts are reported as unreachable rather than missing, because those are different answers.
Never go looking for a list. When one is named:
ingest (or ingest-notion), with the mapping confirmed the same way
run confirms it.aliases, then gate with the required-fields rule: which rows fail the
floor or the org's rule, with the failing field named per row.dedupe-queries and dedupe: how many rows would be new, how many match
existing records, and which are ambiguous.personas, only when the artifact exists: which titles come back flagged
for review. Skip the step without complaint when there is no artifact,
and then do not promise persona findings the report never computed.Report the kinds of not-ready separately, because collapsing them into one number would make the preview useless:
sf CLI.run and stops.Telling the kinds of not-ready apart. A row that can never import, a row that needs a person's answer, and a setup that is not ready at all are three different findings, reported separately, the same distinction the foundation's audit makes between empty and unknown.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub sarahcallmesmadds/gtm-operator --plugin import-leads