x-helper
Installation
SKILL.md
X-Helper Skill
- Queries public Twitter data via free APIs (no API key needed)
- Pure function library in
scripts/x_helper.py, invoked viapython3 -c
When to use (mandatory)
Any time the user asks for live data about a Twitter/X user or tweet — follower count, profile description, tweet text, like/retweet count, whether one tweet quoted another — you MUST call the relevant x_helper.py function via python3 -c rather than answering from memory. Twitter data changes constantly; cached/training-data answers are stale and incorrect. Triggers: "how many followers does elonmusk have", "what does @vitalik's bio say", "did @alice quote tweet X", "show tweet 12345 text", "follower count".
Functions
x_helper.py
-
lookup(username)->{"username", "followers", "following", "tweets", "likes", "description"}username: Twitter username (without @)
-
get_tweet(tweet_id, username="i")->{"tweet_id", "username", "text", "likes", "retweets", "replies", "quote": {...} | None}
Related skills