Monitor a curated list of AI/tech Twitter accounts, summarize the day's key posts using an LLM, and deliver a formatted digest to a Discord channel. Use when: (1) setting up a daily automated AI news briefing from Twitter/X, (2) scheduling or running a one-shot Twitter digest to Discord, (3) managing or updating the monitored account list, summarization prompt, or delivery format.
Fetches tweets from AI/tech influencers via the AISA API, summarizes in Chinese using any available LLM (Claude → OpenAI → Gemini, auto-detected), and delivers a two-part digest to Discord:
Message 1: Text summary with [原文链接] hyperlinks (no embed previews)
Message 2: Top 5 bare links rendered as Discord card previews
Setup
1. Run the setup wizard (required before first use)
bash
python3 scripts/setup.py
The wizard will:
Auto-detect API keys from your environment and OpenClaw config
Prompt for any missing keys (AISA, LLM, Discord channel)
Test connectivity to AISA and your chosen LLM provider
Write a .env file — no manual editing needed
If you prefer manual setup, create scripts/.env with the following content: