Agent skill
Tweet Digest
Aggregate and summarize tweets from tracked accounts
Install this agent skill to your Project
npx add-skill https://github.com/aaronjmars/aeon/tree/main/skills/tweet-digest
SKILL.md
${var} — Account or topic to filter by. If empty, checks all tracked accounts.
If ${var} is set, filter tweets by that account or topic.
Read memory/MEMORY.md for context and tracked Twitter/X accounts. Read the last 2 days of memory/logs/ to avoid repeating items.
Steps:
-
For each account listed under "Tracked X Accounts" in MEMORY.md, fetch recent tweets:
bashcurl -s -X POST "https://api.x.ai/v1/responses" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $XAI_API_KEY" \ -d '{ "model": "grok-4-1-fast", "input": [{"role": "user", "content": "Search X for the latest tweets from:USERNAME in the last 3 days. Return the 5 most interesting or substantive tweets. For each: full text, date, direct link (https://x.com/USERNAME/status/ID). Skip retweets of others."}], "tools": [{"type": "x_search"}] }'If
XAI_API_KEYis not set, skip and log that the skill requires it. -
Group tweets by theme or topic, not by account.
-
Write a 1-sentence take on each notable tweet.
-
Format and send via
./notify(under 4000 chars):*Tweet Digest — ${today}* *Theme: topic* @handle: summary — [link](url) @handle: summary — [link](url) -
Log the digest to memory/logs/${today}.md. If no notable tweets found, log "TWEET_DIGEST_OK" and end.
Environment Variables Required
XAI_API_KEY— X.AI API key for Grok x_search
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Polymarket
Trending and top markets on Polymarket — volume, new markets, biggest movers
Daily Article
Research trending topics and write a publication-ready article
DeFi Monitor
Check pool health, positions, and yield rates for tracked protocols
Skill Evals
Evaluate skill output quality against assertion manifests — detects regressions before users notice
Monitor Polymarket
Monitor specific prediction markets for 24h price moves, volume changes, and fresh comments
Self Review
Weekly audit of what Aeon did, what failed, and what to improve
Didn't find tool you were looking for?