# Send X Timeline 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": "x-timeline-digest",
    "name": "X Timeline Digest",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/seandong/x-timeline-digest",
    "canonicalUrl": "https://clawhub.ai/seandong/x-timeline-digest",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/x-timeline-digest",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-timeline-digest",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "PROMPT.md",
      "SKILL.md",
      "digest.js",
      "last_digest.txt",
      "latest_digest.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "x-timeline-digest",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T05:39:42.766Z",
      "expiresAt": "2026-05-18T05:39:42.766Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-timeline-digest",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x-timeline-digest",
        "contentDisposition": "attachment; filename=\"x-timeline-digest-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "x-timeline-digest"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/x-timeline-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/x-timeline-digest",
    "downloadUrl": "https://openagent3.xyz/downloads/x-timeline-digest",
    "agentUrl": "https://openagent3.xyz/skills/x-timeline-digest/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x-timeline-digest/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x-timeline-digest/agent.md"
  }
}
```
## Documentation

### Overview

This skill uses bird to read X/Twitter timelines and build a high-signal digest.
Sources:

For You timeline
Following timeline
What it does:

Fetch recent tweets
Filter incrementally (avoid reprocessing)
Deduplicate (ID + near-duplicate text)
Rank and trim
Generate a Chinese digest
Output a structured payload

Delivery (Telegram, email, etc.) is NOT handled here.
Upstream OpenClaw workflows decide how to notify users.

### Configuration

All config is read from: skills.entries["x-timeline-digest"].config

### Config fields

NameTypeDefaultDescriptionintervalHoursnumber6Interval window in hoursfetchLimitForYounumber100Tweets fetched from For YoufetchLimitFollowingnumber60Tweets fetched from FollowingmaxItemsPerDigestnumber25Max tweets in one digestsimilarityThresholdnumber0.9Near-duplicate similarity thresholdstatePathstring~/.openclaw/state/x-timeline-digest.jsonState file path

### Dependencies

bird must be installed and available in PATH
bird must already be authenticated (cookie login)
Read-only usage

### 1. Basic (Raw JSON)

Run the digest generator to get a clean, deduplicated JSON payload:

node skills/x-timeline-digest/digest.js

### 2. Intelligent Digest (Recommended)

To generate the "Smart Brief" (Categorized, Summarized, Denoised):

Run the script: node skills/x-timeline-digest/digest.js > digest.json
Read the prompt template: read skills/x-timeline-digest/PROMPT.md
Send the prompt to your LLM, injecting the content of digest.json where {{JSON_DATA}} is.

Note: The script automatically applies heuristic filtering (removes "gm", ads, short spam) before outputting JSON.

### State Management

State is persisted to statePath.

### State structure

{
"lastRunAt": "2026-02-01T00:00:00+08:00",
"sentTweetIds": {
"123456789": "2026-02-01T00:00:00+08:00"
}
}

### Rules

Tweets already in sentTweetIds must not be included again
After a successful run:
Update lastRunAt
Add pushed tweet IDs to sentTweetIds
Keep IDs for at least 30 days

### Processing Pipeline

Fetch from For You and Following
Incremental filter using lastRunAt
Hard deduplication by tweet id
Near-duplicate merge using text similarity
Rank and trim to maxItemsPerDigest
Generate a Categorized Chinese Digest (via PROMPT.md + LLM)

Categories: 🤖 AI & Tech, 💰 Crypto & Markets, 💡 Insights, 🗞️ Other
Language: Simplified Chinese
Format: Author: Summary
Denoising: Remove ads and low-value content

### Output

The skill returns one JSON object:
{
"window": {
"start": "2026-02-01T00:00:00+08:00",
"end": "2026-02-01T06:00:00+08:00",
"intervalHours": 6
},
"counts": {
"forYouFetched": 100,
"followingFetched": 60,
"afterIncremental": 34,
"afterDedup": 26,
"final": 20
},
"digestText": "中文摘要内容",
"items": [
{
"id": "123456",
"author": "@handle",
"createdAt": "2026-02-01T02:15:00+08:00",
"text": "tweet text",
"url": "https://x.com/handle/status/123456",
"sources": ["following"]
}
]
}
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: seandong
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T05:39:42.766Z
- Expires at: 2026-05-18T05:39:42.766Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/x-timeline-digest)
- [Send to Agent page](https://openagent3.xyz/skills/x-timeline-digest/agent)
- [JSON manifest](https://openagent3.xyz/skills/x-timeline-digest/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/x-timeline-digest/agent.md)
- [Download page](https://openagent3.xyz/downloads/x-timeline-digest)