🤖
Kiro X 发布器
发现 X 上的热门话题,逐个丰富推文,对信号进行评分和总结,生成一个推文草稿,并可选择按计划发布。
安全通过
⚙️脚本
技能说明
name: kiro-x-hot-publisher version: 1.1.0 description: Discover hot topics on X, enrich tweets one-by-one, score and summarize signals, generate one tweet draft, and optionally publish on schedule. homepage: https://x.com metadata: { "openclaw": { "emoji": "🐦", "primaryEnv": "X_BEARER_TOKEN", "requires": { "bins": ["python3"], "env": [ "X_BEARER_TOKEN", "X_API_KEY", "X_API_SECRET", "X_ACCESS_TOKEN", "X_ACCESS_TOKEN_SECRET", ], }, }, }
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).
如何使用「Kiro X 发布器」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Kiro X 发布器」技能完成任务
- 结果即时呈现,支持继续对话优化