# Send ai-twitter-digest to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-twitter-digest",
    "name": "ai-twitter-digest",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/FredHJC/ai-twitter-digest",
    "canonicalUrl": "https://clawhub.ai/FredHJC/ai-twitter-digest",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ai-twitter-digest",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-twitter-digest",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/monitor.py",
      "scripts/setup.py",
      "references/accounts.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-twitter-digest"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-twitter-digest",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-twitter-digest",
    "agentUrl": "https://openagent3.xyz/skills/ai-twitter-digest/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-twitter-digest/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-twitter-digest/agent.md"
  }
}
```
## Documentation

### 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

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

VariableDescriptionAISA_API_KEYTwitter data — aisa.oneDELIVERY_CHANNELdiscord / whatsapp / telegram / slack / signalDELIVERY_TARGETChannel-specific target (see table below)One of: ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEYLLM for summarizationSUMMARY_LANGUAGEDigest language — Chinese (default), English, Japanese, Korean, Spanish, French, German, or any language name

Delivery target format:

ChannelTarget formatExamplediscordchannel:<id>channel:1234567890whatsappE.164 phone or group:<id>+1234567890telegram@username or chat_id@mychannelslack#channel-name#ai-digestsignalE.164 phone number+1234567890

Card link previews (CARD_PREVIEWS) are Discord-only and auto-disabled on other channels.

### 2. Run manually

python3 scripts/monitor.py

### 3. Schedule with OpenClaw cron

# Daily at 3:30 PM Eastern
openclaw cron add "AI Twitter Digest" "30 15 * * *" \\
  "python3 /path/to/ai-twitter-digest/scripts/monitor.py" \\
  --timezone "America/New_York"

### Customizing Accounts

Edit the ACCOUNTS list in scripts/monitor.py. See references/accounts.md for the default list and suggested additions.

### Output Format

Message 1 — Summary:

📊 **AI 每日简报** — 2026年02月26日

- Karpathy 发布了神经网络教程 | [原文链接](...)

- Sam Altman 表示 GPT-5 今年发布 | [原文链接](...)

Message 2 — Card previews:

🔗 **今日精选链接**

https://x.com/karpathy/status/...
https://x.com/sama/status/...

### How It Works

Fetches up to 20 tweets/account (AI-keyword filtered, with all-tweets fallback)
Deduplicates against STATE_FILE (capped at MAX_STORED_IDS)
Summarizes with first available LLM provider
Posts two Discord messages: text digest + card preview links
Updates dedup state file
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: FredHJC
- Version: 1.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ai-twitter-digest)
- [Send to Agent page](https://openagent3.xyz/skills/ai-twitter-digest/agent)
- [JSON manifest](https://openagent3.xyz/skills/ai-twitter-digest/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ai-twitter-digest/agent.md)
- [Download page](https://openagent3.xyz/downloads/ai-twitter-digest)