bereach-openclaw 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/skills/bereach/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bereach
|
|
3
3
|
description: "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."
|
|
4
|
-
lastUpdatedAt:
|
|
4
|
+
lastUpdatedAt: 1772721672
|
|
5
5
|
metadata: { "openclaw": { "requires": { "env": ["BEREACH_API_KEY"] }, "primaryEnv": "BEREACH_API_KEY" } }
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ Automate LinkedIn prospection and engagement via BeReach.
|
|
|
17
17
|
|
|
18
18
|
| Sub-skill | Keywords | URL | lastUpdatedAt |
|
|
19
19
|
| --------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------- |
|
|
20
|
-
| Lead Magnet | lead magnet, comment to DM, resource delivery, post giveaway, auto-accept invitations, scheduled run, recap, campaign stats, pause | sub/lead-magnet.md |
|
|
20
|
+
| Lead Magnet | lead magnet, comment to DM, resource delivery, post giveaway, auto-accept invitations, scheduled run, recap, campaign stats, pause | sub/lead-magnet.md | 1772721672 |
|
|
21
21
|
| OpenClaw Optimization | openclaw, model, opus, sonnet, haiku, config, SOUL.md, heartbeat, prompt caching, AI cost reduction, /model | openclaw-optimization.md | 1772619338 |
|
|
22
22
|
| SDK Reference | sdk, method, parameter, signature, reference, api, script | sdk-reference.md | 1772672714 |
|
|
23
23
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bereach-lead-magnet
|
|
3
3
|
description: "Lead magnet workflow — deliver a resource to everyone who engages with a LinkedIn post."
|
|
4
|
-
lastUpdatedAt:
|
|
4
|
+
lastUpdatedAt: 1772721672
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# BeReach Lead Magnet Skill
|
|
@@ -24,20 +24,9 @@ All lead magnet scripts MUST be TypeScript using the `bereach` SDK (see main ski
|
|
|
24
24
|
2. **Step 2** — `npx tsx <script-name>.ts`. Fix runtime errors (e.g. undefined method, wrong resource). If config missing, run with minimal env to reach first SDK call.
|
|
25
25
|
3. **Both must succeed** — tsx passing alone is NOT sufficient. Only save or paste the script when BOTH succeed.
|
|
26
26
|
|
|
27
|
-
## Helpers
|
|
27
|
+
## Helpers (reference patterns — do NOT import)
|
|
28
28
|
|
|
29
|
-
`
|
|
30
|
-
|
|
31
|
-
```typescript
|
|
32
|
-
import {
|
|
33
|
-
collectAllComments,
|
|
34
|
-
listAllInvitations,
|
|
35
|
-
visitProfileIfNeeded,
|
|
36
|
-
findConversationForDmGuard,
|
|
37
|
-
} from "bereach-openclaw/lead-magnet";
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Your spec should list which helpers you plan to use.
|
|
29
|
+
Before writing any lead-magnet script, read `plugins/openclaw/src/lead-magnet/helpers.ts` as context. It contains battle-tested implementations for the patterns most likely to go wrong: pagination, SDK path selection, error handling, and DM guard logic. **Do not import this file** — it is not an npm package. Instead, replicate the relevant patterns inline in your script using the raw `bereach` SDK.
|
|
41
30
|
|
|
42
31
|
### collectAllComments(client, postUrl, campaignSlug, opts?)
|
|
43
32
|
|