Retweet

Repost and undo reposts on X through Shift's Skill Router.

tryshift-sh 9e794d8 2 files · 1.8 KB Updated

File contents

X Repost

Use this managed skill for reposting and undoing reposts on X through Shift.

When to use

  • The user wants to repost a post
  • The user wants to undo a repost

How to invoke

Send a POST request to ${SHIFT_LOCAL_GATEWAY}/skill-router/invoke with:

{
  "skillProvider": "x",
  "skill": "retweet",
  "action": "create",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}

To undo a repost, use:

{
  "skillProvider": "x",
  "skill": "retweet",
  "action": "delete",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}

Notes

  • This skill requires X to be connected in Shift.
  • Do not ask the user to paste raw credentials into chat.

tryshift-sh/skills-store/tree/main/providers/x/retweet commit 9e794d8f0a

Frequently asked questions

npx skillmds@latest add tryshift-sh/retweet