About retweet
A managed skill for reposting posts on X and undoing reposts through Shift. It is intended for requests to create or remove a repost and requires X to be connected in Shift.
Key features
- 01Create a repost on X
- 02Undo a repost
- 03Invoke through Shift’s skill router
Use cases
- 01Repost a specified X post
- 02Remove an existing repost
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ tryshift-sh/ skills-store --skill retweetAfter installing, type/retweetin Claude Code to confirm it loaded.
Bundled filesskill-router.json
Details
From the project READMEX 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.
Comments
Markdown supported