Kiro X Hot Publisher
Plugin producer: kiroai.io
End-to-end X workflow for Kiro:
- Discover trending tweets from X API
- Enrich each candidate via FxTwitter (full text/article support)
- Score and rank (engagement + freshness)
- Summarize key signals
- Generate exactly one tweet draft
- Optionally publish via X API (OAuth 1.0a)
Files
scripts/x_hot_pipeline.pyexamples/cron_command.txt
Required env vars
Search:
X_BEARER_TOKEN(recommended)
Publish (optional, only when --post):
X_API_KEYX_API_SECRETX_ACCESS_TOKENX_ACCESS_TOKEN_SECRET
Quick start
python3 skills/kiro-x-hot-publisher/scripts/install_and_init.py
python3 skills/kiro-x-hot-publisher/scripts/x_hot_pipeline.py \
--queries "AI,OpenAI,DeepSeek,Claude,Gemini" \
--batch-size 10
Post directly:
python3 skills/kiro-x-hot-publisher/scripts/x_hot_pipeline.py \
--queries "AI,OpenAI,DeepSeek" \
--batch-size 10 \
--post
Output
Default output folder: ./outputs/x-hot/
Generated files:
latest.json: full structured resultlatest.txt: plain-text briefing + final tweet draft
Notes
- This workflow is designed for public tweets only.
- FxTwitter is a third-party dependency for enrichment; if unavailable, base X data is still used.
- Keep
--batch-sizesmall initially (recommended10).
Changelog
- 1.1.0: Security hardening for
scripts/setup_cron.sh(input validation and command construction safeguards).