Rechercher

PythonReactSEOPDF
OpenClaw

ai-twitter-digest

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.

fredhjc0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install fredhjc/ai-twitter-digest

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

AI Twitter Digest

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)
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:

AISA_API_KEY=your_aisa_key_here
DELIVERY_CHANNEL=discord
DELIVERY_TARGET=channel:your_channel_id_here
SUMMARY_LANGUAGE=Chinese
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GEMINI_API_KEY=
# STATE_FILE=~/.ai-twitter-sent.json
# MAX_STORED_IDS=500
# CARD_PREVIEWS=true

Required config:

Variable Description
AISA_API_KEY Twitter data — aisa.one
DELIVERY_CHANNEL discord / whatsapp / telegram / slack / signal
DELIVERY_TARGET Channel-specific target (see table below)
One of: ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY LLM for summarization
SUMMARY_LANGUAGE Digest language — Chinese (default), English, Japanese, Korean, Spanish, French, German, or any language name

Delivery target format:

Channel Target format Example
discord channel:<id> channel:1234567890
whatsapp E.164 phone or group:<id> +1234567890
telegram @username or chat_id @mychannel
slack #channel-name #ai-digest
signal E.164 phone number +1234567890

Card link preview...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/fredhjc/ai-twitter-digest
Version
—
Commit
4422b702deadd63e79cf25fd00bd8ad36ea83984
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# AI Twitter Digest

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:
>
> ```env
> AISA_API_KEY=your_aisa_key_here
> DELIVERY_CHANNEL=discord
> DELIVERY_TARGET=channel:your_channel_id_here
> SUMMARY_LANGUAGE=Chinese
> ANTHROPIC_API_KEY=
> OPENAI_API_KEY=
> GEMINI_API_KEY=
> # STATE_FILE=~/.ai-twitter-sent.json
> # MAX_STORED_IDS=500
> # CARD_PREVIEWS=true
> ```

**Required config:**

| Variable | Description |
|----------|-------------|
| `AISA_API_KEY` | Twitter data — [aisa.one](https://aisa.one) |
| `DELIVERY_CHANNEL` | `discord` / `whatsapp` / `telegram` / `slack` / `signal` |
| `DELIVERY_TARGET` | Channel-specific target (see table below) |
| One of: `ANTHROPIC_API_KEY` / `OPENAI_API_KEY` / `GEMINI_API_KEY` | LLM for summarization |
| `SUMMARY_LANGUAGE` | Digest language — `Chinese` (default), `English`, `Japanese`, `Korean`, `Spanish`, `French`, `German`, or any language name |

**Delivery target format:**

| Channel | Target format | Example |
|---------|--------------|---------|
| discord | `channel:<id>` | `channel:1234567890` |
| whatsapp | E.164 phone or `group:<id>` | `+1234567890` |
| telegram | `@username` or chat_id | `@mychannel` |
| slack | `#channel-name` | `#ai-digest` |
| signal | E.164 phone number | `+1234567890` |

> Card link preview...

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.