Bereach
Automate LinkedIn outreach via BeReach (berea.ch). Use when: prospecting, engaging posts, scraping engagement, searching LinkedIn, managing inbox, running campaigns, managing invitations. Requires BEREACH_API_KEY.From its SKILL.md
npx -y skills add berea-ch/bereach-claude-plugin --skill bereachAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.6 KB, as published. Nobody here has run it
BeReach — LinkedIn Outreach Automation
Automate LinkedIn prospection and engagement via BeReach.
Sub-skills
At install: fetch and read ALL sub-skills.
After install: re-load on-demand only when needed.
| Sub-skill | Keywords | URL | lastUpdatedAt |
|---|---|---|---|
| Lead Magnet | lead magnet, comment to DM, resource delivery, post giveaway, auto-accept invitations, cron, recap, campaign stats, pause | sub/lead-magnet.md | 1772619338 |
| SDK Reference | sdk, method, parameter, signature, reference, api, script | sdk-reference.md | 1772619338 |
Installation
Tools (interactive use)
Tools are already configured by the plugin — no manual setup needed.
SDK (script generation)
The TypeScript SDK provides typed methods for all BeReach operations. Use it when generating scripts (cron jobs, batch automations).
npm add bereach
import { Bereach } from "bereach";
const token = process.env.BEREACH_API_KEY;
if (!token) {
console.error("BEREACH_API_KEY environment variable is required");
process.exit(1);
}
const client = new Bereach({ token });
The SDK auto-reads BEREACH_API_KEY from the environment. NEVER hardcode tokens in scripts.
Onboarding
- Token — read
BEREACH_API_KEYfrom environment with no default/fallback value. If not set, stop immediately. - Read all sub-skills — fetch every sub-skill listed above.
- Profile + language — call
getLinkedInProfile(tool orclient.profile.getLinkedInProfile()). Profile inputs: URL (e.g.https://linkedin.com/in/username) or URN (urn:li:fsd_profile:ACoAA...). Detect user's language from profile (location, headline, posts). This becomes the default language for all generated content. Per prospect, adapt if their profile clearly indicates a different language. - Welcome — personalized welcome using profile data. Suggest a first action based on their profile.
Rules
Interactive mode (tools)
- Use available tools exclusively. If a tool doesn't exist, the operation doesn't exist.
- NEVER use raw HTTP calls (fetch, axios, curl).
Script mode (SDK)
- Import from the
bereachSDK exclusively. If a method doesn't exist, the operation doesn't exist. - Scripts MUST be TypeScript (
.ts). Run withnpx tsx script.ts. - Run
npx tsc --noEmitbefore executing to catch type errors. - Load the SDK Reference sub-skill for method signatures.
Always
- NEVER hardcode tokens. Read from
process.env.BEREACH_API_KEY. If not set, exit immediately. - NEVER invent a tool/method name. Check the resources table below or tool schemas.
- If unsure about a method: check the SDK Reference sub-skill.
SDK resources and methods
| Resource | Methods |
|---|---|
client.linkedinScrapers | collectLikes, collectComments, collectCommentReplies, collectPosts, visitProfile, visitCompany |
client.linkedinActions | connectProfile, listInvitations, acceptInvitation, sendMessage, replyToComment, likeComment, publishPost |
client.linkedinChat | listConversations, searchConversations, findConversation, getMessages |
client.linkedinSearch | unifiedSearch, searchPosts, searchPeople, searchCompanies, searchJobs, searchByUrl, resolveParameters |
client.profile | getLinkedInProfile, refresh, getPosts, getFollowers, getLimits, getCredits |
client.campaigns | getStatus, syncActions, getStats |
Tone
Adapt to user's tone from their posts and messages. Comment replies: 3-5 words, no personalization needed. DMs: 1-2 sentences, personalize from visit data (headline, company, position, recent posts) and conversation history when available.
Constraints
These are technical constraints BeReach requires. Everything else, adapt as needed.
- Dedup — pass
campaignSlugon every action. BeReach deduplicates by target automatically. Duplicates returnduplicate: trueand cost nothing. Pre-check: useclient.campaigns.getStatus()or thegetStatustool. - Pacing — after every SDK/tool call, sleep a random delay. Write actions (DM, reply, like, connect, accept, sync):
random delay 8-12s. Read actions (visit, scrape, find, count-0 checks):random delay 2-6s. On 429: wait the number of seconds from the error response, retry (max 3). If daily/weekly cap hit, switch action type. - Save incrementally — persist tracking after each action, not at the end.
- Limits check — call
getLimitsonce per day at session start. - Visit before connecting — looks natural to LinkedIn.
- Credits — check with
getCredits→{credits: {current, limit, remaining, percentage}}. - Connection requests are scarce — only 30/day. Before sending one, check
pendingConnectionfrom the visit response:"pending"= already sent, skip."failed"= failed today, skip."none"= safe to send. - Error handling — wrap every SDK call in a shared helper. The wrapper must check the error type to branch:
429: waiterror.retryAfterseconds, retry (max 3). All retries fail → skip profile, move on.400/409/410: log, skip item, continue.401: stop (auth broken).404/405: stop — method/tool doesn't exist. Re-read the SDK resources table or tool list.500: log, skip item, continue (transient).- Parse the response body inside a try/catch — malformed JSON must not crash the script.
- Never treat a failed call as "success with empty result".
- Never
process.exit()on transient errors — skip and continue.
Workflows
Each workflow is detailed in its sub-skill. Load the relevant sub-skill when needed.
- Lead Magnet — deliver a resource to everyone who engages with a post (comments, likes, invitations). → Lead Magnet sub-skill
More workflows coming soon. You can build your own using the SDK methods and tools listed above.