kiro-x-publisher
by vmining
CommunicationBrief
Discover hot topics on X, enrich tweets one-by-one, score and summarize signals, generate one tweet draft.
Description
What This Skill Does
Pulls trending tweets from X using the API, enriches each candidate via FxTwitter for full text and article data, scores and ranks by engagement and freshness, then generates exactly one tweet draft. Publishing to X via OAuth 1.0a is optional and triggered with a flag.
Combines trending discovery, enrichment, scoring, and publishing into one pipeline instead of requiring separate tools for each step.
When to Use It
- Drafting tweets based on real-time trending AI topics
- Auto-posting trend-aware content on a cron schedule
- Summarizing daily X signals into a plain-text briefing
- Monitoring trending competitor or keyword mentions in bulk
- Building a content pipeline from top-performing public tweets
Example Workflow
User asks: find trending AI tweets and draft a post
- 1
Search X for tweets matching queries such as 'AI,OpenAI,Claude' with a batch size of 10
- 2
Enrich each candidate via FxTwitter to retrieve full text and linked article content
- 3
Score and rank all candidates by engagement metrics and recency
- 4
Summarize key signals from the top-ranked tweets
- 5
Generate one tweet draft and write structured output to ./outputs/x-hot/
latest.txt containing a plain-text briefing and a single ready-to-post tweet draft; latest.json with the full structured result
Requirements
- X_BEARER_TOKEN environment variable (from X Developer Portal, required for search)
- X_API_KEY environment variable (from X Developer Portal, required for posting)
- X_API_SECRET environment variable (from X Developer Portal, required for posting)
- X_ACCESS_TOKEN environment variable (from X Developer Portal, required for posting)
- X_ACCESS_TOKEN_SECRET environment variable (from X Developer Portal, required for posting)
- X Developer account with Elevated or higher API access
Installation
clawhub install vmining/kiro-x-publisherRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.