Harmix/open-stanley / open-stanley/skills/scout
scout
VerifiedScan the user's LinkedIn and X feeds (through their own logged-in browser, or any social MCP they have) for posts worth commenting on, and draft paste-ready comments in their comment voice. Use when the user asks "anything worth commenting on", "find posts to engage with", "who should I reply to", "what's trending in my niche today", or as the scheduled 10am/10pm scan. Also handles "draft a comment for this link".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.1 KB |
| references/linkedin-permalinks.md | markdown | 2.2 KB |
references/linkedin-permalinks.md
View on GitHub# Getting the real link of a LinkedIn post
Since autumn 2026 the LinkedIn feed, search results and activity pages carry no post URNs and no post links in the page: `urn:li:activity` appears only inside comment ids, and the first URN after a post's text can belong to the next post. Guessing from those gave wrong links twice. Never build or guess a post URL. Read it from LinkedIn's own "Copy link to post" action.
What works (tested 8 Nov 2026 on the home feed and on an activity page): replace the clipboard write with a recorder, then press "Copy link to post" in each post's menu. Run this with the javascript tool on the page you are reading, after it has loaded (scroll first if you want more posts):
```js
window.__copied = [];
navigator.clipboard.writeText = (t) => { window.__copied.push(String(t)); return Promise.resolve(); };
const sleep = (ms) => new Promise(r => setTimeout(r, ms));
const out = [];
for (const b of document.querySelectorAll('button[aria-label^="Open control menu for post by"]')) {
const before = window.__copied.length;
b.click(); await sleep(900);
const item = [...document.querySelectorAll('[role=menuitem],[role=button],button,div,span')]
.filter(e => /^Copy link to post$/i.test((e.innerText || '').trim())).pop();
if (item) { item.click(); await sleep(700); }
document.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true }));
await sleep(300);
out.push({ author: b.getAttribute('aria-label').replace('Open control menu for post by ', ''),
url: window.__copied.length > before ? window.__copied.at(-1).split('?')[0] : null });
}
JSON.stringify(out);
```
- Strip the query string before returning it (`split('?')[0]`); the tool refuses output with tracking parameters.
- The list is in page order, so match each row to the post text you read with `get_page_text` by author and order.
- `url: null` means the menu had no copy item (some ads and suggested posts). Skip that candidate or open it and repeat.
- Do not read the system clipboard (`navigator.clipboard.readText`); it waits for a permission prompt and hangs the run.
- A target without a link from this method is not delivered as a profile link with a guess. Say "no permalink" and give the author and the first line, or drop it.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |