Open Source

Sync LinkedIn to your CRM.

linkedin-crm-sync lets Claude capture the LinkedIn profile or conversation you have open and save it to HubSpot as a contact, a company and a clean activity history. It runs in the Claude sidebar in Chrome, checks for an existing record before it creates one, and can fill in missing details from your inbox or an enrichment tool like Apollo or Clay.

Free to download and change however you like.

Review SKILL.md
Before you start

What you need.

A paid Claude plan

The HubSpot connector works on Pro, Max, Team and Enterprise.

HubSpot on any tier

The free CRM works. Salesforce, Zoho and other CRMs with a connector work the same way.

Claude in Chrome

The sidebar is available on Max and Team today and rolling out to Pro.

Optional connectors

Gmail or Outlook to find email addresses you've already used, and Apollo or Clay for company details and phone numbers.

How to install

Set up once, use every day.

01

Turn on file creation

In Claude, go to Settings > Capabilities and turn on Create and edit files. Skills need it.

02

Upload the skill

Go to Customize > Skills, click +, choose Create skill, then Upload a skill, and upload the zip. Make sure the toggle is on.

03

Connect HubSpot

Add the HubSpot connector in Claude and approve access. Add Gmail, Outlook, Apollo or Clay too if you have them.

04

Open LinkedIn

Go to a profile or a conversation, open the Claude sidebar and type a shortcut.

User Guide

How to use linkedin-crm-sync.

What it's for

Use it when you're working in LinkedIn and want the person you're talking to captured in your CRM without copying and pasting.

  • Add a new lead and their company from their profile
  • Log a LinkedIn conversation on their record, and only the new messages the next time
  • Fill in an email address from your own inbox before paying for enrichment
  • Set a follow-up reminder while the conversation is fresh

Your skills and connectors carry over to the Chrome sidebar, so the work happens on the page you're already looking at.

Shortcuts

add lead
Creates or updates the person as a contact
add account
Creates or updates their company and links the two
sync messages
Logs the open conversation, adding only new messages
sync all
Does all of the above, plus enrichment if it's connected
remind me Friday
Adds a follow-up task, and works with any shortcut

You can combine them, like 'sync messages and remind me in 3 days', or just say what you want in plain words.

Common workflows

01

Add someone new

add lead and add account

Expected result: Claude reads the profile, checks HubSpot for an existing record, and shows a short table of what it will save before it saves anything.

02

Sync a conversation

sync messages

Expected result: The open thread is logged as a note on the contact, with each message's date and sender.

03

Sync it again later

sync messages

Expected result: Only messages newer than the last sync are added. If nothing is new, Claude tells you and stops.

04

Capture everything at once

sync all

Expected result: Contact, company, activity note and messages in one pass, with missing fields filled from your inbox first and then Apollo or Clay.

05

Set a follow-up

sync messages and remind me Friday

Expected result: The conversation is logged and a follow-up task is created on the contact for Friday.

06

Work faster on a busy day

skip confirmations

Expected result: For the rest of the session Claude saves directly and reports what changed in one line.

Ground rules

  • It reads only the page you have open, and never browses other profiles or runs searches
  • It handles one person at a time, on your request
  • It searches before it creates, so you don't end up with duplicates
  • It fills only empty fields and never overwrites data you entered
  • It tells you when an enrichment lookup will use paid credits

Using a different CRM

Connect your CRM's connector in place of HubSpot and use the same shortcuts. Claude maps the fields to your CRM's names, and if your CRM has no LinkedIn URL field, the link goes into the note.

The skill

Every line, nothing hidden.

~/skills/linkedin-crm-sync/SKILL.mdmarkdown
---
name: linkedin-crm-sync
description: Sync the LinkedIn profile or message thread the user has open into their CRM (HubSpot first; Salesforce, Zoho and other MCP CRMs work the same way). Use when the user says "add lead", "add account", "sync messages", "sync all", "sync this", or asks to capture a LinkedIn person or conversation in their CRM.
---

# LinkedIn to CRM Sync

The user is looking at one LinkedIn page they chose to open (a profile or a message thread) and wants it captured in their CRM. Work fast, ask little, and keep the chat short. This replaces a "sync to CRM" button.

## Shortcuts

| User says | Do this |
|---|---|
| `add lead` | Create or update the person as a contact (lifecycle stage Lead) from the open profile |
| `add account` | Create or update the person's current company and link the contact to it |
| `sync messages` | Log the open message thread to the contact, adding only messages not synced before |
| `sync all` | `add lead` + `add account` + `sync messages` (whichever pages are open) + enrichment |
| `remind me in X` | Create a follow-up task on the contact due in X (default 3 business days) |

Any of these can be combined, e.g. "add lead and remind me Friday".

## Ground rules (LinkedIn)

- Read only the page the user has open. Never browse to other profiles, run searches, scroll through lists of people, or visit pages on your own to collect data.
- One person per request. No bulk capture.
- If you can't see the page (not logged in, wrong tab, content hidden), say so in one line and stop. Do not try to work around it.

## Step 1: Read the page

From a **profile**, capture: full name, headline, current title, current company, location, profile URL, and the 2 or 3 most recent posts or activities (one line each, in your own words).

- Many headlines are a value statement, not a title. Use the title from the Experience section; if it isn't visible, use the best available signal and mark it `(inferred)` in the confirmation.
- "Company + N more" means several current roles. Use the first one listed unless the user says otherwise.

From a **message thread**, capture: each message's sender, date and text, in order.

## Step 2: Find before you create

Always search the CRM before creating anything, in this order: LinkedIn URL, email, full name + company. Do the same for the company (domain, then name).

- One match: update it.
- Several possible matches: list them in one line each and ask which one.
- No match: create.

Never create a duplicate to save a step.

## Step 3: Enrich (only with connectors that are available)

Fill **only empty fields**, and never overwrite a value the user already has. Note the source of each enriched field (e.g. "email (Gmail)", "phone (Apollo)").

1. **Check the user's own mail first.** If a mail connector is connected (Gmail, Outlook or similar), search by name and company and use the email address the person actually sent from. It costs nothing and it's an address that has already worked.
2. **Then use an enrichment tool.** If Apollo, Clay or a similar connector is connected, look up the person by LinkedIn URL plus name and company to fill what's still missing: work email, company domain, company size, industry, phone. If the lookup uses paid credits, say so in the confirmation.

If neither is connected, skip this step without comment.

Then ask once, in one line: **"Do you have a phone number for {first name}? (skip is fine)"**. Don't ask again for the same contact.

## Step 4: Confirm in one compact table

Show only fields that will change:

| Record | Field | Now | New |
|---|---|---|---|

Then: `Save? (yes / edit / no)`. If the user has said to skip confirmations for this session, save directly and just report.

## Step 5: Write

**Contact** (HubSpot property names in brackets):
- First / last name [`firstname`, `lastname`], title [`jobtitle`], company name [`company`], LinkedIn URL [`hs_linkedin_url`], city/state [`city`, `state`], email [`email`], phone [`phone`]
- Lifecycle stage Lead [`lifecyclestage` = `lead`] for `add lead`, unless the record already has a later stage. Never move a stage backwards.

**Company:** name, domain, city/state. Associate contact to company.

**Activity note** (on profile sync), attached to contact and company:
```
LinkedIn activity, {date}
Role: {title}, {company}
Recent: {2-3 one-line items}
Source: {profile URL}
```

**Message note** (on `sync messages`), attached to the contact:
```
LinkedIn messages synced through {date of newest message}
{date} {sender}: {message text}
{date} {sender}: {message text}
...
```
- Before writing, find the most recent note on the contact that starts with "LinkedIn messages synced through". Only include messages dated after that date. If nothing is new, say "No new messages since {date}" and stop.
- Keep message text as written. Don't summarize unless the user asks.

**Reminder** (on `remind me` or if the thread ends with an open question to the user): create a task on the contact, e.g. "Follow up with {first name} on LinkedIn", due on the requested date. If task access isn't available, say so in one line and continue.

## Step 6: Report in one or two lines

Example: `Saved Jordan Lee (updated) and Northwind Advisory (new). Logged 4 new messages. Reminder set for Fri.` Add record links if the CRM returns them. No recap of steps.

## Style

- Don't narrate what you're about to do. Read, confirm, write, report.
- One question at a time, only when needed.
- If something fails, say what failed in one line and what still got saved.

## Other CRMs

The steps are the same for any CRM with an MCP connector. Map the fields to that CRM's names (Salesforce: Lead or Contact + Account, LinkedIn URL is usually a custom field; Zoho: Leads or Contacts + Accounts). If the CRM has no LinkedIn URL field, put the URL in the note.

Built by S/2M2.

We ship tools like this for clients, covering product, process, and the systems in between. Want one of your own?