/web:hubspot-prospectfrom web
Turn a company URL into a reviewed HubSpot Company + IT-decision-maker Contact. Given a domain (e.g. vr.is, lis.is), researches the company, finds whoever heads IT (upplýsingatæknistjóri, tæknistjóri, forstöðumaður upplýsingatæknisviðs, IT manager, CIO, CTO), walking a documented title ladder when no IT lead is published, presents an evidence-graded review table with source URLs, and writes to HubSpot only after explicit approval. Use WHENEVER the user pastes a company URL or domain and wants it added to HubSpot, asks to find a company's IT manager or head of IT, says 'add this company to HubSpot', 'find their IT guy', 'enrich this domain', 'prospect this company', 'búa til fyrirtæki í HubSpot', 'finna tengilið', or supplies a list of domains. Do NOT use for: reading or reporting existing HubSpot data (a plain API read), bulk CSV import of already-known contacts, or any request to email/market to a contact.
Ships in web. 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.
Read when SKILL.md points to them; scripts run unread.
You are given a company URL. You produce a HubSpot Company record and one associated Contact for whoever heads IT — after a human approves an evidence-graded table.
This skill never invents a person. Every field written to HubSpot traces to a
verbatim quote from a page fetched in this session, with its URL. A field with no
quote stays empty. NOT_FOUND is a correct, successful outcome — not a failure to
paper over.
Half of this is enforced in code; know exactly which half. scripts/hubspot.ts write
rejects the plan — before any HTTP call, with no override flag — if a property lacks a
source entry, or if --apply is used without an approval stamp.
But the script checks the shape of a source, not its truth. It cannot tell a real quote from a fabricated one, or a URL you fetched from a URL you imagined. A confidently-invented source object passes the gate.
So the gate raises the cost of fabricating and makes it auditable — it does not make it impossible. What actually closes the gap is Phase 4's verification pass and the human reading the quotes in Phase 6. Treat the gate as a tripwire, not a guarantee, and do not let its existence relax the discipline it was built to support.
This exists because the dominant failure mode is specific and documented: an agent told "find the IT head", handed a company that publishes no IT staff, will pattern-complete a plausible name, title and email rather than return a gap — because a specific person is a more pattern-typical completion than "not found". A fabricated contact is the single worst output this skill can produce. It looks perfect on every field, so nobody catches it.
industry, lifecyclestage, or hubspot_owner_id. Leave blank. A bad
enum value 400s the entire record create, and lifecycle stage is often one-directional.hs_marketable_status — see "Marketing contacts" below.references/icelandic.md.Run once per session. Cheap, and it fails fast before you spend budget researching a company you cannot write.
Where you run these matters. bun auto-loads .env from the current working
directory, and HUBSPOT_SERVICE_KEY lives in the project's .env — so run from the
project root and reference the script by absolute path. Running from the skill folder
silently loses the token.
cd /path/to/the/project # the directory containing .env
bun run ${CLAUDE_PLUGIN_ROOT}/skills/hubspot-prospect/scripts/hubspot.ts preflight
Every command below follows the same shape. If the token is exported in the environment instead, cwd stops mattering.
Reads HUBSPOT_SERVICE_KEY from the environment — never from chat, never echoed. Reports
portal ID, scopes, and the portal's live country / industry enum options. Requires
crm.objects.companies.read|write and crm.objects.contacts.read|write. If scopes are
missing it names them and stops. Do not proceed to research without a green preflight.
Before researching anything, establish the target is real and is who the user meant.
Collect: name, domain (bare root, lowercase, no scheme/www), website, phone
(E.164), address, zip, city, country.
Normalise via the helper rather than by hand — it encodes the Icelandic phone rule (7 digits, no trunk zero to strip; generic EU normalisers delete a real digit), validates a company kennitala, and refuses to over-read a postcode:
bun run ${CLAUDE_PLUGIN_ROOT}/skills/hubspot-prospect/scripts/icelandic.ts phone "564 4100"
bun run ${CLAUDE_PLUGIN_ROOT}/skills/hubspot-prospect/scripts/icelandic.ts kennitala 4710080280
Leave industry blank unless a portal enum option matches exactly. Leave
numberofemployees / annualrevenue blank unless stated verbatim.
Frame the task correctly, out loud, before starting: determine whether a named IT decision-maker is discoverable in public sources, and if so, who. Not "find the IT head." The second phrasing carries an implicit promise that such a person exists, and that pressure is what produces fabrication.
Load references/discovery.md in full before searching. It
holds the source waterfall, the staff-page probe list, the search-engine X-ray technique,
SPA/bot-wall detection, and the two-candidate tie-break.
Load references/icelandic.md in full before evaluating any
Icelandic title or name. Two traps make English pattern-matching
actively wrong: upplýsingafulltrúi looks like "information officer" but means PR
spokesperson, and tölvunarfræðingur looks senior but is a protected academic
credential held by individual contributors.
The empty-page rule, restated because it is where fabrication starts: WebFetch does not
execute JavaScript. A React-rendered staff page returns an empty shell that is
indistinguishable from a page listing nobody. An empty or near-empty fetch is
INCONCLUSIVE, never "no staff". Fall back to X-ray search; only if both come back
empty is "no staff directory" a defensible conclusion.
| Tier | Evidence | Requirement |
|---|---|---|
| 1 | Company's own site or an official document it authored | Verbatim quote with name and title in the same block, + URL |
| 2 | Two genuinely independent third-party sources | Two URLs, two quotes, different originating control |
| 3 | Exactly one third-party source | One URL + quote. Must be visually flagged as weaker |
| 4 | Inferred (email built from a discovered pattern; title from a reporting line) | State the inference rule. Never equal-confidence to a sourced fact |
| 5 | Role fallback — generic inbox, no named person | A contact type, not a person-confidence rating |
| — | NOT_FOUND | Correct terminal state |
Two sources that both trace to one press release, or two directories scraping one staff page, are one source. Independence means distinct originating control.
Email carries a second, separate axis. Never merge provenance with deliverability. A
Tier-1 sourced name with a pattern-guessed address is not "high confidence" — report
who: Tier 1, staff page and email: inferred pattern, MX valid, mailbox unverified
as two lines.
Before building the table, re-derive each field's supporting quote independently. If you
cannot reproduce the quote, drop the field to NOT_FOUND rather than keep it. Then
confirm explicitly: does a corroborating source name the same company — by domain,
address, or a company-specific detail — not merely a similar name? Record how.
This catches the hardest error: a real, correctly-enriched person attached to the wrong company. Nothing about that record looks wrong.
bun run ${CLAUDE_PLUGIN_ROOT}/skills/hubspot-prospect/scripts/hubspot.ts lookup --domain <bare-domain> --email <email>
Use the script; do not hand-roll a search. Domain matching in a .is market has a trap
that silently matches half the portal, and match confidence differs by which field hit —
both are specified in hubspot-write.md.
Read the result as three cases, not two: none · one (may pre-select) · more than one, which is legal because company domain is not unique-constrained and is its own reviewable case.
Present the table. Stop. Wait for explicit approval. Never write without it.
Every field row shows: current HubSpot value / proposed value / action (fill · kept · conflict) / evidence tier / the verbatim quote / source URL / captured-at.
The table must also state:
not set — assign manually, never blank.references/compliance.md in full before building this
table. It is needed here, not at the
write step — the checklist is a row in this table, the Article 14 clock already started
at scrape time, and captured_at must be in the plan before the script will accept it.Show the quote inline, not a score. A tidy, confident-looking summary suppresses scrutiny regardless of whether the confidence is earned — that is measured, and it is why the evidence goes in the table rather than a number.
If any field is Tier 3 or below, do not offer one blanket approval — require the weak fields to be acknowledged separately. In batch mode, never offer a single action that approves all rows.
Refuse to write when: the company's identity can't be confirmed against the input URL; the only candidate fails the two-source bar and has a common-name collision risk; or both person-confidence and company-match are weak simultaneously. Report the gap; do not average two weak signals into one record.
First write plan.json — the table you just showed is for humans; the plan is what the
script consumes, and the two must agree field for field. Schema and a worked example:
hubspot-write.md.
approved_by is the identity of the human who approved in Phase 6 — their email or name,
as given in this conversation. If you do not know who they are, ask; do not put your
own name, a placeholder, or the portal owner's. approved_at is the timestamp of that
approval, not of the scrape.
Then two steps. The first writes nothing — without --apply the script is a dry run.
# 1. preview the exact diff (no HTTP writes)
bun run ${CLAUDE_PLUGIN_ROOT}/skills/hubspot-prospect/scripts/hubspot.ts write --plan plan.json
# 2. only after the human approved the table, and plan.json carries approved_by/approved_at
bun run ${CLAUDE_PLUGIN_ROOT}/skills/hubspot-prospect/scripts/hubspot.ts write --plan plan.json --apply
The plan schema — including the mandatory sources block — is documented with a worked
example in references/hubspot-write.md.
The provenance gate is enforced in code, not by your good intentions. Before any HTTP
call, write rejects the plan if any property lacks sources.<field> with a URL, a
verbatim quote, a method, and a scrape-time captured_at — and --apply additionally
refuses without approved_by / approved_at. There is no override flag. If you find
yourself unable to fill in a source, that field must not be written; that is the gate
working, not an obstacle to route around.
Three separate, independently retryable calls: create company → create contact → associate. Not bundled — a partial failure needs a clean retry point, and the approval gate means both IDs are known before the write.
The script reads existing associations before writing one, because a v4 association PUT
replaces the label set on that edge and can silently strip an existing Primary
label. It catches 409 on contact create and PATCHes the existing record instead. It
writes a JSONL audit line per run: timestamp, record IDs, source URLs, approver.
After the write, re-read the record and report every field HubSpot populated that you did
not write. HubSpot auto-enriches company records on its own and is measurably wrong for
Icelandic ones — see
hubspot-write.md
for the observed values and why this quietly poisons fill-empty on later runs. Never write
state for an Icelandic company. Report what it filled; do not clean it without the user's
say-so — that would be an overwrite.
Rollback is asymmetric — say this plainly if a write goes wrong. Before the association is written, archiving is close to a clean undo. After it, HubSpot's 90-day recycle bin restores the record but is documented to lose some associated data. After any merge, there is no rollback at all — merges are permanently irreversible.
hs_marketable_status is read-only on every CRM endpoint (READ_ONLY_VALUE). The
per-connected-app "sync as marketing" toggle does not apply to private apps. Both
remaining workarounds — a maintained HubSpot form, or a Marketing-Hub-Pro workflow — are
out-of-band dependencies invisible to code review.
More importantly, the skill does not need it: non-marketing contacts fully support 1:1 sales email and sales sequences. Marketing status only gates Marketing Hub bulk sends. And the billing is asymmetric — marking bills immediately and an overage is irreversible until renewal, while un-marking waits a full billing cycle.
API-created contacts default to non-marketing, which is the correct state. If someone genuinely needs bulk-marketing rights later, that is a deliberate human decision made by selecting contacts in the HubSpot UI — not something this skill does to every record.
Single URL is the default. For a domain list, everything above still applies per row, plus:
pending → researching → awaiting_approval → approved → written → skipped_no_lead → failed. The write sub-states are three, not one:
company_written / contact_written / associated — a resumed run cannot otherwise
tell what is missing.WebSearch budget is finite and will stop the
run with no HubSpot-side error. Report batch paused: search budget exhausted, N of M processed rather than letting later rows silently degrade.| File | Load when | Do NOT load when | Holds |
|---|---|---|---|
discovery.md | Phase 3, before searching | Phase 1 already terminated (dead domain, parked, wrong entity) — there is nothing to search | Source waterfall, probe paths, X-ray, SPA detection, tie-break, refusal conditions |
icelandic.md | Phase 3, before judging any title or name | Phase 1 established a non-Icelandic entity; or the run is a pure duplicate check with no new person | Patronymics, the title ladder and its two false friends, kennitala, phone, addresses, registries |
compliance.md | Phase 6, before building the table | You are only reading/deduping and will write nothing this run | Article 14, bannskrá, LIA, provenance, retention, refusals |
hubspot-write.md | Phase 5 and 7, or on any 400/409 | Never skip if a write is intended | The plan.json schema, endpoint paths, verified property names, association type IDs, fill-empty algorithm, error taxonomy, rate limits, rollback |
You cannot write a valid plan without hubspot-write.md — the sources schema the script
enforces is specified there, and the script rejects a plan that gets it wrong.
Reply in whatever language the user is writing. The review table follows the same rule — this team works in Icelandic.
data/it-titles.csv (opens in a new tab)references/compliance.md (opens in a new tab)references/discovery.md (opens in a new tab)references/hubspot-write.md (opens in a new tab)references/icelandic.md (opens in a new tab)scripts/hubspot.ts (opens in a new tab)scripts/icelandic.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tomaspalsson/flow --plugin web7 skills in this plugin
/agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction./api-explorerReverse-engineer APIs and websites using Chrome DevTools MCP to produce detailed, agent-consumable specifications. Use when pointed at a URL to understand how an API or website works — discovering REST endpoints, GraphQL schemas, WebSocket protocols, auth flows, data models, and pagination patterns. Triggers on: "explore this API", "figure out how this site works", "reverse engineer", "create an API spec", "map this API", "discover endpoints", "understand this website's API", "reverse engineer this GraphQL API", "figure out this WebSocket protocol", "what endpoints does this site use". Produces structured three-tier specs other agents can use to build integrations./figma-to-strapiConvert Figma component designs into Strapi v5 component schemas AND matching React/Next.js components. Extracts editable properties (TEXT, BOOLEAN, INSTANCE_SWAP, variants) from Figma components, generates CMS field definitions, then produces a typed .tsx component with Tailwind styling. Use when: (1) user has a Figma component and wants a matching Strapi content model + React component, (2) setting up a CMS-driven website and needs to create components from designs, (3) syncing design system components to content types, (4) asking 'how do I make this Figma component editable in the CMS?'. Requires: Figma MCP authenticated + Strapi project (typically at cms/) + Next.js project (typically at website/). Keywords: figma, strapi, component, schema, cms, content model, design-to-cms, content type, react, tsx, /figma-to-strapi./google-adsUse when working with Google Ads data through the official Google Ads MCP server (googleads/google-ads-mcp), whose tools are `search_search`, `customers_list_accessible_customers`, and `metadata_get_resource_metadata`. Use for: building a GAQL query or a `search_search` call; pulling campaign, ad group, keyword, search-term or Performance Max performance; reading spend, conversion, or impression-share numbers; MCC/manager-account rollups; and diagnosing a CPA spike, conversion drop, ROAS decline, stalled serving, or budget underspend. Also use when a query returns nothing or an absurd-looking number, when totals don't reconcile between levels, or on any Google Ads API error. Trigger phrases: 'google ads', 'GAQL', 'google ads mcp', 'PMax', 'performance max', 'search terms report', 'impression share', 'customer id', 'adwords'. Requires Google Ads MCP tools to be connected; if none are present, this skill does not apply and cannot substitute for them./seo-auditWhen the user wants to audit, review, or diagnose SEO issues on their site, or wants to know why they are not visible in Google or in AI answers. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "why doesn't ChatGPT know about us," "AI Overviews," "AI search visibility," "AEO," "GEO," "LLM SEO," "answer engine optimization," "should I block AI crawlers," or "llms.txt." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. Covers classic search and AI/LLM answer engines together, because the technical foundations overlap and the failure modes differ./website-clonerUse WHENEVER the user wants to clone, copy, replicate, recreate, or mirror a website or landing page, "make our demo look like the customer's site", personalize/white-label a demo for a prospect, extract a site's design (styles, fonts, colors, design tokens, exact pixel sizing) from a URL, capture/screenshot a page faithfully with Playwright, or figure out what font/colors a site uses. Trigger phrases: "clone this site", "copy this website", "recreate this landing page", "rebuild their homepage", "extract the styles/fonts", "match this design", "demo on their own branding". Reproduces a site's hero / above-the-fold and reskins it with the prospect's brand.