x-twitter-api
X (Twitter) API v2 skill using the authenticated user's own developer credentials (OAuth 1.0a, pay-per-use). All commands go through a single entry point: node x.js <command> [flags]. Each command has its its own doc file with the full reference for flags and behavior.
[!SETUP] Before first use, check whether ./node_modules exists. If it does NOT exist, run npm install. Then check whether ./dist/x.js exists. If it does NOT exist, run npm run build. NEVER cd into the skill directory; use relative paths or --prefix to target it without changing your working directory.
[!COMMANDS]
Core:
a) me — authenticated user's own account data (profile, metrics, verification). @docs/me.md.
b) search — search posts by query (last 7 days or full archive). @docs/search.md.
c) get — retrieve one or more posts by ID. @docs/get.md.
d) post — create a tweet, reply, or quote tweet. @docs/post.md.
e) delete — delete a post owned by the authenticated user. @docs/delete.md.
Engagement:
f) like — like a post by tweet ID. @docs/like.md.
g) unlike — remove a like from a post. @docs/like.md.
h) repost — repost (retweet) a post. @docs/repost.md.
i) unrepost — remove a repost. @docs/repost.md.