LinkedIn

repost

linkedin.com
InstallationInstalls just this skill for your agent
Side effectwrite
Authsession
Needsnavigate · wait · click
Summary

Repost (share instantly, without adding a comment) a third-party post to the logged-in account's feed, given the post's URN.

Params
{"urn":"string (urn:li:activity:...)"}
Returns
{"shared":"bool"}
SKILL.md17 lines

Intent

Repost (share instantly, without adding a comment) a third-party post to the logged-in account's feed, given the post's URN.

Preconditions

  • Logged-in session in the browser you drive (Logged-in LinkedIn session (www.linkedin.com cookies)).
  • If not logged in: navigate to https://linkedin.com and let the user log in, then retry.

Execute

Drive the rendered page with your browser (selectors are CSS; {{var}} = a param):

  1. navigate → https://www.linkedin.com/feed/update/{{urn}}/
  2. wait for main button[aria-label*="epost" i] <!-- TODO verify selector on English locale -->
  3. click main button[aria-label*="epost" i] <!-- TODO verify selector on English locale -->
  4. click div[role="menu"] button[aria-label*="epost" i] <!-- TODO verify selector on English locale -->

Success assertion

Response text contains "Reposted,reposted,Repost successful,shared".