Linkedin Outreach (1 skill)

*This workflow is only partly automated. Watch the full tutorial here.

Part 1: What You're Getting

This pack gives you 1 Claude Code skill that runs the full LinkedIn personalization pipeline.

LinkedIn Outreach

Takes a LinkedIn Sales Navigator search URL and runs the full pipeline automatically:

  1. Sends the URL to Vayne.io, which scrapes every profile from the search - names, titles, companies, emails, LinkedIn URLs
  2. Uses Apify to scrape each person's recent LinkedIn posts from the last 4 weeks
  3. Uses Claude to write a personalized connection note for each lead based on what they posted

The output is a CSV file with all lead data plus a connection_note column. You upload that CSV into LinkedIn Helper to run the campaign.

You need:

  • VAYNE_API_KEY - from vayne.io. This is the tool that scrapes LinkedIn Sales Navigator. Pricing starts at $29/month for 10,000 leads.
  • APIFY_API_TOKEN - from apify.com. Used for scraping each lead's recent posts. ~$2 per 1,000 posts.
  • ANTHROPIC_API_KEY - from console.anthropic.com. Used for generating connection notes with Claude Haiku. ~$0.0003 per note.
  • A LinkedIn Sales Navigator account - needed to get the search URL in the first place. $120/month, 1 month free trial available.
  • LinkedIn Helper - Chrome extension that runs the actual outreach campaign using your LinkedIn account. Pro tier at $45/month.

You also need to connect your LinkedIn account to Vayne.io by pasting your LinkedIn Sales Navigator cookie into their dashboard. They have a video guide showing exactly how to do this.

Part 2: Copy-Paste This Into Claude Code

Copy everything below and paste it into Claude Code.

I want you to install and set up the LinkedIn Outreach skill. Here's what to do:

Step 1 - Install the skill:

Run these commands:

git clone https://github.com/bohdan-aif/cc-linkedin-outreach.git /tmp/cc-linkedin-outreach

cd /tmp/cc-linkedin-outreach && chmod +x install.sh && ./install.sh --all

Step 2 - Check my API keys:

Check if I have these environment variables set and help me add any missing ones to my ~/.zshrc:

VAYNE_API_KEY (from vayne.io - for scraping LinkedIn Sales Navigator)

APIFY_API_TOKEN (from apify.com - for scraping LinkedIn posts)

ANTHROPIC_API_KEY (from console.anthropic.com - for generating connection notes)

Step 3 - Install Python dependencies:

Run: pip install httpx anthropic apify-client python-dotenv

Confirm all packages are installed.

Step 4 - Verify the Vayne connection:

Run: python3 ~/.claude/skills/linkedin-outreach/scripts/vayne_client.py credits

If it returns a credit balance, the API key is working. If it fails, help me troubleshoot.

Step 5 - Walk me through the Vayne LinkedIn cookie setup:

Ask me if I've already connected my LinkedIn account to Vayne.io. If not, explain that I need to:

  1. Go to my LinkedIn Sales Navigator page in Chrome
  2. Open DevTools (right-click > Inspect)
  3. Go to Application > Cookies > linkedin.com
  4. Find the cookie named "li_at" and copy its value
  5. Paste it in the Vayne.io dashboard under account settings

This is required before Vayne can scrape anything. Ask me to confirm when it's done.

Step 6 - Test with a small batch:

Ask me to paste a LinkedIn Sales Navigator search URL. Then run the full pipeline with --limit 5 to test with just 5 leads:

python3 ~/.claude/skills/linkedin-outreach/scripts/linkedin_scrape_leads.py --url "" --name "test" --limit 5

Then scrape posts and generate notes for those 5 leads. Show me the output CSV so I can review the connection notes.

After the test, confirm the skill is ready and explain how to use it:

/linkedin-outreach "" --limit 100

And remind me that the output CSV gets uploaded to LinkedIn Helper to run the campaign.