linkedinLinkedin is an Agent Skill for apps & automation published in the LeoYeAI/openclaw-master-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
LinkedIn automation via browser relay or cookies for messaging, profile viewing, and network actions.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/LeoYeAI/openclaw-master-skills/blob/HEAD/skills/linkedin/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/linkedin, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Use browser automation to interact with LinkedIn - check messages, view profiles, search, and send connection requests.
Connection Methods
Option 1: Chrome Extension Relay (Recommended)
- Open LinkedIn in Chrome and log in
- Click the Clawdbot Browser Relay toolbar icon to attach the tab
- Use
browsertool withprofile="chrome"
Option 2: Isolated Browser
- Use
browsertool withprofile="clawd" - Navigate to linkedin.com
- Log in manually (one-time setup)
- Session persists for future use
Common Operations
Check Connection Status
browser action=snapshot profile=chrome targetUrl="https://www.linkedin.com/feed/"
View Notifications/Messages
browser action=navigate profile=chrome targetUrl="https://www.linkedin.com/messaging/"
browser action=snapshot profile=chrome
Search People
browser action=navigate profile=chrome targetUrl="https://www.linkedin.com/search/results/people/?keywords=QUERY"
browser action=snapshot profile=chrome
View Profile
browser action=navigate profile=chrome targetUrl="https://www.linkedin.com/in/USERNAME/"
browser action=snapshot profile=chrome
Send Message (confirm with user first!)
- Navigate to messaging or profile
- Use
browser action=actwith click/type actions - Always confirm message content before sending
Safety Rules
- Never send messages without explicit user approval
- Never accept/send connection requests without confirmation
- Avoid rapid automated actions - LinkedIn is aggressive about detecting automation
- Rate limit: ~30 actions per hour max recommended
Session Cookie Method (Advanced)
If browser relay isn't available, extract the li_at cookie from browser:
- Open LinkedIn in browser, log in
- DevTools → Application → Cookies → linkedin.com
- Copy
li_atvalue - Store securely for API requests
Troubleshooting
- If logged out: Re-authenticate in browser
- If rate limited: Wait 24 hours, reduce action frequency
- If CAPTCHA: Complete manually in browser, then resume