X Timeline Reporter
Collect posts from X (Twitter) timeline, analyze trends, save reports to Obsidian vault, and notify via Slack.
Prerequisites
- •OpenClaw managed browser with X login session
- •Obsidian vault with
x-reportsfolder - •Slack channel configured in OpenClaw
Workflow
1. Open X Timeline
Use managed browser (no manual Chrome attachment needed):
browser action=open profile=openclaw targetUrl="https://x.com/home"
2. Collect Timeline Data
Take snapshot after page loads:
browser action=snapshot profile=openclaw targetId=<id>
Extract from the snapshot:
- •Post content (text)
- •Author (@handle, display name)
- •Engagement metrics (likes, reposts, replies, views)
- •Post URLs (from status link)
- •Timestamp
3. Scroll for More Posts
To collect more posts:
browser action=act profile=openclaw targetId=<id> request={"kind":"press","key":"End"}
Then snapshot again. Repeat until target post count reached (default: 10-15).
4. Close Browser
Close the tab and stop the browser completely:
browser action=close profile=openclaw targetId=<id> browser action=stop profile=openclaw
This ensures Chrome is fully terminated after the task.
5. Analyze Trends
Analyze collected posts for:
- •Key Topics: Main themes being discussed
- •Tech Trends: Technology-related topics
- •Notable Posts: High-engagement or interesting posts
- •Sentiment: Overall mood
- •Emerging Discussions: New or growing topics
6. Format Report (Markdown for Obsidian)
Structure:
# X Timeline Report - YYYY-MM-DD HH:MM **収集時刻**: YYYY-MM-DD HH:MM JST **投稿数**: N件 --- ## 📝 投稿サマリー(全件) ### 1. Author Name (@handle) - 時間 > Post content summary - 💬 replies | 🔁 reposts | ❤️ likes | 👁️ views - 🔗 https://x.com/handle/status/id [Repeat for all posts] --- ## 📈 トレンド分析 ### 🔥 主要トピック - Topic 1: Description - Topic 2: Description ### 🛠️ 技術トレンド - Trend 1: Details - Trend 2: Details ### 📊 エンゲージメント分析 - Top by Views: ... - Top by Engagement Rate: ... ### 💭 センチメント - Category 1: Trend - Category 2: Trend ### 🎯 アクションアイテム - Suggestion 1 - Suggestion 2 --- *Generated by Molty 🫠*
7. Save to Obsidian Vault
Get the vault path:
exec command="obsidian-cli print-default --path-only"
Save the report as a markdown file:
write path="<vault-path>/x-reports/YYYY-MM-DD_HHMM.md" content="[formatted report]"
Filename format: YYYY-MM-DD_HHMM.md (e.g., 2026-02-12_1130.md)
8. Notify via Slack
Send a brief notification to Slack (NOT the full report):
message action=send channel=slack channelId=<channel_id> message="[notification]"
Notification format:
📊 X Timeline Report 完了 **収集時刻**: YYYY-MM-DD HH:MM JST **投稿数**: N件 **保存先**: x-reports/YYYY-MM-DD_HHMM.md 主要トピック: Topic1、Topic2、Topic3
Keep the notification concise — full details are in the Obsidian note.
Parameters
| Parameter | Default | Description |
|---|---|---|
| count | 10 | Number of posts to collect (max: 30) |
| lang | ja | Report language (ja/en) |
| dry-run | false | Preview without saving/notifying |
Example Triggers
- •"Xのタイムラインをチェックしてレポートして"
- •"X Timeline Report を作成して"
- •"Twitterのトレンドを分析して"
- •"Check my X timeline and report"
Notes
- •Managed browser session persists login state
- •No need to keep Chrome open manually
- •Can be scheduled via cron for periodic reports
- •Reports are saved as plain Markdown — searchable in Obsidian
- •Slack notification is just a heads-up; open Obsidian for full analysis