Skip to content

feat(linkedin): read profile analytics and services#1722

Closed
gauravsaxena1997 wants to merge 1 commit into
jackwener:mainfrom
gauravsaxena1997:codex/linkedin-profile-services
Closed

feat(linkedin): read profile analytics and services#1722
gauravsaxena1997 wants to merge 1 commit into
jackwener:mainfrom
gauravsaxena1997:codex/linkedin-profile-services

Conversation

@gauravsaxena1997
Copy link
Copy Markdown
Contributor

@gauravsaxena1997 gauravsaxena1997 commented May 22, 2026

What and why

LinkedIn currently has messaging and search-oriented adapters, but no read-only way to inspect the career profile surfaces that are visible in an authenticated browser session. For job-search and career workflow agents, this leaves profile state opaque: headline, About text, profile dashboard counters, and Services page details have to be checked manually.

This PR adds focused read adapters for those profile surfaces without performing any LinkedIn write actions.

What this PR does

Adds three Strategy.COOKIE LinkedIn browser adapters:

opencli linkedin profile-read -f json
opencli linkedin profile-analytics -f json
opencli linkedin services-read -f json

Implementation details:

  • Adds shared LinkedIn helpers for auth-wall checks, safe URL validation, limit parsing, text normalization, and evaluate-result unwrapping
  • profile-read extracts visible profile identity, headline, location, About text, About character count, About skills, experience, education, services, and featured text
  • profile-analytics extracts visible dashboard counters such as profile views, post impressions, search appearances, followers, and connections when present
  • services-read discovers or accepts a Services page URL and extracts overview, availability, work locations, pricing, provided services, media metadata, message/review visibility, and raw page text
  • All commands are read-only and require an authenticated LinkedIn browser session

Live verification

Verified against a logged-in LinkedIn profile session:

  • profile-read returned the current headline, About text, About skill chips, education, experience, and services summary
  • profile-analytics returned profile dashboard counters including profile views, post impressions, search appearances, and followers
  • services-read returned the Services overview, 10 provided services, remote/in-person availability, pricing, and 4 media entries with titles/descriptions

Checklist

  • npm run build
  • npx vitest run --project adapter clis/linkedin/profile-read.test.js clis/linkedin/profile-analytics.test.js clis/linkedin/services-read.test.js
  • npm run typecheck
  • node scripts/check-typed-error-lint.mjs
  • node scripts/check-silent-column-drop.mjs

@gauravsaxena1997 gauravsaxena1997 changed the title feat(linkedin): add profile and services readers feat(linkedin): read profile, analytics, and services May 22, 2026
@gauravsaxena1997 gauravsaxena1997 force-pushed the codex/linkedin-profile-services branch from a8f6427 to d4d7d18 Compare May 22, 2026 20:41
@gauravsaxena1997 gauravsaxena1997 changed the title feat(linkedin): read profile, analytics, and services feat(linkedin): read profile analytics and services May 22, 2026
jackwener added a commit that referenced this pull request May 23, 2026
Consolidates PRs #1722, #1723, #1724, #1725, #1726, and #1727 after B-group lead+aux review.\n\nReviewed-by: codex-mini1\nReviewed-by: First-principles-1
@jackwener
Copy link
Copy Markdown
Owner

Closed as superseded by consolidated PR #1731, merged as b6965a5.

@jackwener
Copy link
Copy Markdown
Owner

Superseded by consolidated PR #1731 (merged as b6965a5).

@jackwener jackwener closed this May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants