Skip to content

galiprandi/job-seeker / .agents/skills/browser-automation

browser-automation

Verified

Control a dedicated browser via agent-browser (Vercel). Use when automating web apps, scraping authenticated sites, filling forms, or navigating SPAs. Do NOT use for desktop apps or API-only integrations.

FileKindSize
SETUP.mdmarkdown3.0 KB
SKILL.mdskill md39.4 KB
references/agent-browser.mdmarkdown4.6 KB
references/api-capture.mdmarkdown1.8 KB
references/ats-patterns.mdmarkdown4.5 KB
references/audio-transcription.mdmarkdown2.4 KB
references/custom-combobox.mdmarkdown5.0 KB
references/efficiency-patterns.mdmarkdown2.6 KB
references/golden-rules.mdmarkdown5.7 KB
references/key-patterns.mdmarkdown4.4 KB
references/network-console.mdmarkdown1.2 KB
references/parallel-agents.mdmarkdown6.2 KB
references/profile-management.mdmarkdown6.3 KB
references/token-extraction.mdmarkdown2.8 KB
scripts/README.mdmarkdown6.0 KB
scripts/agent-browser.template.jsonconfig333 B
scripts/browser-share.jsscript20.0 KB
scripts/browser.jsexecutablescript17.1 KB
scripts/teams.jsscript7.1 KB
scripts/test-find-guide.jsscript6.3 KB
scripts/transcribe-audio.jsscript3.6 KB
scripts/viewer.htmlother8.6 KB
sites/CONTRIBUTING.mdmarkdown11.0 KB
sites/LEARN.mdmarkdown5.4 KB
sites/afip_gob_ar/guide.mdmarkdown9.0 KB
sites/app_web3forms_com/guide.mdmarkdown7.1 KB
sites/buk_co/guide.mdmarkdown1.5 KB
sites/calendar_google_com/calendar-deeplink.mdmarkdown1.9 KB
sites/calendly_com/guide.mdmarkdown1001 B
sites/careers_epam_com/guide.mdmarkdown4.4 KB
sites/dash_cloudflare_com/guide.mdmarkdown7.7 KB
sites/discord_com/guide.mdmarkdown9.9 KB
sites/discord_com/login-flow.mdmarkdown3.2 KB
sites/docs_google_com/guide.mdmarkdown7.3 KB
sites/facebook_com/guide.mdmarkdown9.8 KB
sites/gmail_com/guide.mdmarkdown35.6 KB
sites/google_com/guide.mdmarkdown1.1 KB
sites/google_com/login-flow.mdmarkdown3.3 KB
sites/google_home_com/guide.mdmarkdown2.1 KB
sites/google_maps_com/guide.mdmarkdown8.4 KB
sites/groq_com/signup-apikey.mdmarkdown6.6 KB
sites/humand_co/guide.mdmarkdown6.9 KB
sites/jira_com/guide.mdmarkdown10.8 KB
sites/linkedin_com/guide.mdmarkdown27.4 KB
sites/linkedin_com/outreach-strategy.mdmarkdown1.2 KB
sites/linkedin_com/posting.mdmarkdown14.0 KB
sites/linkedin_com/voyager-api.mdmarkdown8.1 KB
sites/mercadolibre_com/guide.mdmarkdown4.5 KB
sites/onstrider_com/draftjs-editor-fill.mdmarkdown2.3 KB
sites/onstrider_com/guide.mdmarkdown11.3 KB
sites/onstrider_com/react-autocomplete-inputs.mdmarkdown4.0 KB
sites/outlook_office_com/calendar-deeplink.mdmarkdown2.2 KB
sites/outlook_office_com/guide.mdmarkdown14.0 KB
sites/property_directory/guide.mdmarkdown3.7 KB
sites/reddit_com/guide.mdmarkdown16.2 KB
sites/teams_com/guide.mdmarkdown10.3 KB
sites/teamtailor_com/guide.mdmarkdown6.5 KB
sites/vea_com_ar/guide.mdmarkdown8.8 KB
sites/whatsapp_com/guide.mdmarkdown21.3 KB
sites/whatsapp_com/login-flow.mdmarkdown3.0 KB
sites/whatsapp_com/message-extraction.mdmarkdown5.7 KB
sites/whatsapp_com/voice-notes.mdmarkdown7.1 KB
sites/workatastartup_com/guide.mdmarkdown1.5 KB

sites/linkedin_com/voyager-api.md

View on GitHub
# LinkedIn Voyager API Reference

*Validated Aug 2026. These are undocumented internal endpoints — they may change without notice.*

## CSRF token

Extract from `JSESSIONID` cookie:
```js
var csrf = document.cookie.split('; ').find(function(c){return c.indexOf('JSESSIONID=')===0});
csrf = csrf ? csrf.split('=')[1].replace(/"/g,'') : '';
```

The value typically starts with `ajax:` prefix.

## Self profile ID

```js
var selfId = (document.documentElement.outerHTML.match(/ACoAA[A-Za-z0-9_-]{5,}/g)||[])
  .sort(function(a,b){
    return document.documentElement.outerHTML.split(a).length - document.documentElement.outerHTML.split(b).length;
  }).pop();
```

Most frequent `ACoAA...` match in the page HTML is usually the logged-in user.

## Endpoints

### Bulk inbox fetch

```
GET /voyager/api/voyagerMessagingGraphQL/graphql?queryId=messengerConversations.<ID>&variables=(mailboxUrn:urn%3Ali%3Afsd_profile%3A<selfId>)
```

Headers: `accept: application/vnd.linkedin.normalized+json+2.1`, `x-restli-protocol-version: 2.0.0`, `csrf-token`

Query ID: `messengerConversations.0d5e6781bbee71c3e51c8843c6519f48` (valid Aug 2026, changes over time)

Returns normalized JSON with conversations containing: participants, unreadCount, lastActivityAt, lastMessage (text, deliveredAt, isFromSelf), threadId.

### Send text — new conversation (legacy)

```
POST /voyager/api/messaging/conversations?action=create
Content-Type: application/json
```

Body:
```json
{
  "keyVersion": "LEGACY_INBOX",
  "conversationCreate": {
    "eventCreate": {
      "value": {
        "com.linkedin.voyager.messaging.create.MessageCreate": {
          "attributedBody": {"text": "...", "attributes": []},
          "attachments": []
        }
      }
    },
    "recipients": ["<fsd_profile_id>"],
    "subtype": "MEMBER_TO_MEMBER"
  }
}
```

Returns: `{"data":{"value":{"createdAt":...,"conversationUrn":"urn:li:fs_conversation:2-...","backendConversationUrn":"urn:li:messagingThread:2-..."}}}`

### Send text — reply (legacy)

```
POST /voyager/api/messaging/conversations/{chatId}/events?action=create
Content-Type: application/json
```

`chatId` = the `2-XXXXX==` part of the threadId (URL-encoded)

Body:
```json
{
  "eventCreate": {
    "value": {
      "com.linkedin.voyager.messaging.create.MessageCreate": {
        "attributedBody": {"text": "...", "attributes": []},
        "attachments": []
      }
    }
  }
}
```

### Upload attachment — register

```
POST /voyager/api/voyagerVideoDashMediaUploadMetadata?action=upload
Content-Type: application/json
```

Body:
```json
{
  "mediaUploadType": "MESSAGING_FILE_ATTACHMENT",
  "fileSize": <bytes>,
  "filename": "<name>"
}
```

Returns:
```json
{
  "data": {
    "value": {
      "urn": "urn:li:digitalmediaAsset:...",
      "mediaArtifactUrn": "urn:li:digitalmediaMediaArtifact:(...)",
      "singleUploadUrl": "https://www.linkedin.com/dms-uploads/...",
      "pollingUrl": "https://www.linkedin.com/dms/processStatus/..."
    }
  }
}
```

### Upload attachment — binary

```
PUT <singleUploadUrl>
Content-Type: <mime type>
Body: <raw file bytes>
```

Returns HTTP 201 on success.

### Upload — poll status (optional)

```
GET <pollingUrl>
```

Returns:
```json
{
  "asset": "urn:li:digitalmediaAsset:...",
  "status": {
    "urn:li:digitalmediaRecipe:messaging-document": "NEW" | "AVAILABLE"
  },
  "assetStatus": "ALLOWED"
}
```

The asset does NOT need to be `AVAILABLE` before sending — the dash endpoint accepts it immediately after upload.

### Send message with attachment (dash endpoint)

```
POST /voyager/api/voyagerMessagingDashMessengerMessages?action=createMessage
Content-Type: text/plain;charset=UTF-8    ← NOT application/json
```

Body:
```json
{
  "message": {
    "body": {"attributes": [], "text": "..."},
    "renderContentUnions": [
      {
        "file": {
          "assetUrn": "urn:li:digitalmediaAsset:...",
          "byteSize": <bytes>,
          "mediaType": "application/pdf",
          "name": "filename.pdf",
          "url": "blob:https://www.linkedin.com/<uuid>"
        }
      }
    ],
    "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:<self_id>,<thread_id>)",
    "originToken": "<uuid-v4>"
  },
  "mailboxUrn": "urn:li:fsd_profile:<self_id>",
  "trackingId": "<16 binary bytes as string>",
  "dedupeByClientGeneratedToken": false
}
```

Returns:
```json
{
  "value": {
    "entityUrn": "urn:li:msg_message:...",
    "backendConversationUrn": "urn:li:messagingThread:...",
    "deliveredAt": 1234567890,
    "renderContentUnions": [{"file": {...}}]
  }
}
```

**Critical details:**
- `content-type` MUST be `text/plain;charset=UTF-8`, not `application/json`
- `trackingId` is 16 random bytes as a string (binary, NOT a UUID)
- `url` is a `blob:` URL from `URL.createObjectURL(fileBlob)` — required even though client-side
- `conversationUrn` format: `urn:li:msg_conversation:(urn:li:fsd_profile:<self_id>,<thread_id>)`
- Attachments go in `renderContentUnions`, NOT in `attachments` (silently dropped)

### Fetch messages from a specific thread

*Validated 2026-08-12 against live API.*

```
GET /voyager/api/messaging/conversations/{chatId}/events?start=0&count=20
```

Headers: `accept: application/vnd.linkedin.normalized+json+2.1`, `x-restli-protocol-version: 2.0.0`, `x-li-lang: en_US`, `csrf-token`

`chatId` = the `2-XXXXX==` thread ID (URL-encoded). Obtain it from the bulk inbox fetch above.

Returns normalized JSON with:
- `data['*elements']` — array of event URN strings
- `included` — flat map keyed by numeric index (`"0"`, `"1"`, `"2"`...), NOT by URN

Object types in `included`:
- `com.linkedin.voyager.messaging.Event` — has `eventContent`, `*from` (ref), `createdAt`
- `com.linkedin.voyager.identity.shared.MiniProfile` — has `firstName`, `lastName`
- `com.linkedin.voyager.messaging.MessagingMember` — links `*from` to a MiniProfile

**Important:** `*elements` contains URN strings, but `included` is keyed numerically. Do NOT look up `included[elementUrn]` — iterate `included` by `$type` instead.

**Message body extraction:** `eventContent.attributedBody.text` for text messages. Other event types (attachments, reactions) have different `eventContent` shapes.

**Sender resolution:** `*from` is a ref to a `MessagingMember` or `MiniProfile` object. Look it up in `included` and read `firstName` + `lastName`.

```js
// Extract all messages from a thread
var included = data.included || {};
var messages = [];
for (var key in included) {
  var evt = included[key];
  if (!evt || evt.$type !== 'com.linkedin.voyager.messaging.Event') continue;
  var fromRef = evt['*from'] || '';
  var senderObj = included[fromRef];
  var sender = '';
  if (senderObj) sender = (senderObj.firstName || '') + ' ' + (senderObj.lastName || '');
  var body = '';
  var ec = evt.eventContent;
  if (ec) {
    if (ec.attributedBody) body = ec.attributedBody.text || '';
    else if (ec.body) body = ec.body || '';
  }
  messages.push({ sender: sender.trim(), body: body, createdAt: evt.createdAt || 0 });
}
messages.sort(function(a,b){ return a.createdAt - b.createdAt; });
```

**Verification:** the response `data['*elements']` array length should match the number of `Event` objects found in `included`. If `included` has 0 `Event` objects, the thread ID may be wrong or the conversation may be empty.

## What does NOT work

- `POST /voyager/api/messaging/conversations?action=create` with `attachments` array → 500 (regardless of attachment structure)
- `POST /voyager/api/voyagerMessagingDashMessengerMessages?action=createMessage` with `content-type: application/json` → 400
- `POST /voyager/api/voyagerMessagingDashMessengerMessages?action=createMessage` with string `trackingId` → 400 (must be binary)
- `POST /voyager/api/voyagerMediaUploadMetadata?action=upload` → 400 (wrong endpoint, use `voyagerVideoDashMediaUploadMetadata`)

## Realtime (read-only)

LinkedIn uses long-polling HTTP (not WebSocket) for realtime updates:

- `GET /realtime/realtimeFrontendSubscriptions?ids=List(...)` — subscribe to presence/message topics
- `GET /realtime/realtimeFrontendClientConnectivityTracking?action=sendHeartbeat` — heartbeats

These are for receiving notifications, not for sending messages. Send uses the endpoints above.
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 323kUpdated Claude CodeCodexVerifiedInstall