{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ai-twitter-digest",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-twitter-digest",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/monitor.py",
      "scripts/setup.py",
      "references/accounts.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ai-twitter-digest",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AI Twitter Digest",
        "body": "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:\n\nMessage 1: Text summary with [原文链接] hyperlinks (no embed previews)\nMessage 2: Top 5 bare links rendered as Discord card previews"
      },
      {
        "title": "1. Run the setup wizard (required before first use)",
        "body": "python3 scripts/setup.py\n\nThe wizard will:\n\nAuto-detect API keys from your environment and OpenClaw config\nPrompt for any missing keys (AISA, LLM, Discord channel)\nTest connectivity to AISA and your chosen LLM provider\nWrite a .env file — no manual editing needed\n\nIf you prefer manual setup, create scripts/.env with the following content:\nAISA_API_KEY=your_aisa_key_here\nDELIVERY_CHANNEL=discord\nDELIVERY_TARGET=channel:your_channel_id_here\nSUMMARY_LANGUAGE=Chinese\nANTHROPIC_API_KEY=\nOPENAI_API_KEY=\nGEMINI_API_KEY=\n# STATE_FILE=~/.ai-twitter-sent.json\n# MAX_STORED_IDS=500\n# CARD_PREVIEWS=true\n\nRequired config:\n\nVariableDescriptionAISA_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\n\nDelivery target format:\n\nChannelTarget formatExamplediscordchannel:<id>channel:1234567890whatsappE.164 phone or group:<id>+1234567890telegram@username or chat_id@mychannelslack#channel-name#ai-digestsignalE.164 phone number+1234567890\n\nCard link previews (CARD_PREVIEWS) are Discord-only and auto-disabled on other channels."
      },
      {
        "title": "2. Run manually",
        "body": "python3 scripts/monitor.py"
      },
      {
        "title": "3. Schedule with OpenClaw cron",
        "body": "# Daily at 3:30 PM Eastern\nopenclaw cron add \"AI Twitter Digest\" \"30 15 * * *\" \\\n  \"python3 /path/to/ai-twitter-digest/scripts/monitor.py\" \\\n  --timezone \"America/New_York\""
      },
      {
        "title": "Customizing Accounts",
        "body": "Edit the ACCOUNTS list in scripts/monitor.py. See references/accounts.md for the default list and suggested additions."
      },
      {
        "title": "Output Format",
        "body": "Message 1 — Summary:\n\n📊 **AI 每日简报** — 2026年02月26日\n\n- Karpathy 发布了神经网络教程 | [原文链接](...)\n\n- Sam Altman 表示 GPT-5 今年发布 | [原文链接](...)\n\nMessage 2 — Card previews:\n\n🔗 **今日精选链接**\n\nhttps://x.com/karpathy/status/...\nhttps://x.com/sama/status/..."
      },
      {
        "title": "How It Works",
        "body": "Fetches up to 20 tweets/account (AI-keyword filtered, with all-tweets fallback)\nDeduplicates against STATE_FILE (capped at MAX_STORED_IDS)\nSummarizes with first available LLM provider\nPosts two Discord messages: text digest + card preview links\nUpdates dedup state file"
      }
    ],
    "body": "AI Twitter Digest\n\nFetches 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:\n\nMessage 1: Text summary with [原文链接] hyperlinks (no embed previews)\nMessage 2: Top 5 bare links rendered as Discord card previews\nSetup\n1. Run the setup wizard (required before first use)\npython3 scripts/setup.py\n\n\nThe wizard will:\n\nAuto-detect API keys from your environment and OpenClaw config\nPrompt for any missing keys (AISA, LLM, Discord channel)\nTest connectivity to AISA and your chosen LLM provider\nWrite a .env file — no manual editing needed\n\nIf you prefer manual setup, create scripts/.env with the following content:\n\nAISA_API_KEY=your_aisa_key_here\nDELIVERY_CHANNEL=discord\nDELIVERY_TARGET=channel:your_channel_id_here\nSUMMARY_LANGUAGE=Chinese\nANTHROPIC_API_KEY=\nOPENAI_API_KEY=\nGEMINI_API_KEY=\n# STATE_FILE=~/.ai-twitter-sent.json\n# MAX_STORED_IDS=500\n# CARD_PREVIEWS=true\n\n\nRequired config:\n\nVariable\tDescription\nAISA_API_KEY\tTwitter data — aisa.one\nDELIVERY_CHANNEL\tdiscord / whatsapp / telegram / slack / signal\nDELIVERY_TARGET\tChannel-specific target (see table below)\nOne of: ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY\tLLM for summarization\nSUMMARY_LANGUAGE\tDigest language — Chinese (default), English, Japanese, Korean, Spanish, French, German, or any language name\n\nDelivery target format:\n\nChannel\tTarget format\tExample\ndiscord\tchannel:<id>\tchannel:1234567890\nwhatsapp\tE.164 phone or group:<id>\t+1234567890\ntelegram\t@username or chat_id\t@mychannel\nslack\t#channel-name\t#ai-digest\nsignal\tE.164 phone number\t+1234567890\n\nCard link previews (CARD_PREVIEWS) are Discord-only and auto-disabled on other channels.\n\n2. Run manually\npython3 scripts/monitor.py\n\n3. Schedule with OpenClaw cron\n# Daily at 3:30 PM Eastern\nopenclaw cron add \"AI Twitter Digest\" \"30 15 * * *\" \\\n  \"python3 /path/to/ai-twitter-digest/scripts/monitor.py\" \\\n  --timezone \"America/New_York\"\n\nCustomizing Accounts\n\nEdit the ACCOUNTS list in scripts/monitor.py. See references/accounts.md for the default list and suggested additions.\n\nOutput Format\n\nMessage 1 — Summary:\n\n📊 **AI 每日简报** — 2026年02月26日\n\n- Karpathy 发布了神经网络教程 | [原文链接](...)\n\n- Sam Altman 表示 GPT-5 今年发布 | [原文链接](...)\n\n\nMessage 2 — Card previews:\n\n🔗 **今日精选链接**\n\nhttps://x.com/karpathy/status/...\nhttps://x.com/sama/status/...\n\nHow It Works\nFetches up to 20 tweets/account (AI-keyword filtered, with all-tweets fallback)\nDeduplicates against STATE_FILE (capped at MAX_STORED_IDS)\nSummarizes with first available LLM provider\nPosts two Discord messages: text digest + card preview links\nUpdates dedup state file"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/FredHJC/ai-twitter-digest",
    "publisherUrl": "https://clawhub.ai/FredHJC/ai-twitter-digest",
    "owner": "FredHJC",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}