seandong

X Timeline Digest

数据分析v1.0.2
作者:seandong更新于 2026-05-11共 3 个版本 · 最新版本发布于 2026-02-23x-timeline-digest@clawhub_seandong/x-timeline-digest
数据清洗数据洞察网页抓取#Twitter

据 AlphaMoat 统计,截至 2026-09,X Timeline Digest 累计下载 3,451 次、获 11 个星标,在全部 5,078 个 AI 技能中排名第 3,222 位,在「数据分析」分类(399 个)中排名第 244 位。

累计安装
157
累计下载
3,451
星标
11
全站排名
#3,222
全站前 64% · 「数据分析」前 62%
平台累计安装累计下载星标评论
ClawHub ↗1103,2769-
SkillHub ↗1573,45111—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

使用已认证的 bird CLI 获取帖子,过滤重复内容并生成结构化摘要;本技能只生成供上游处理的内容,不负责 Telegram 或邮件等通知。访问需要现有登录状态并保存本地去重状态;推文及生成摘要应作为不可信内容审阅,不应自动发布或据此执行操作。 需要 Node、PATH 中的 bird 和现有 cookie 认证。原始脚本输出过滤数据,分类简中摘要另需模板/LLM 阶段,应批准该模型处理时间线文本。抓取限额和排序可能遗漏帖子;成功运行按文档保留政策更新本地 ID,部署前移除陈旧或用户特定样例。

资料发布于 2026-10-27

可以用来做什么

  • 整理 X 时间线中的近期帖子
  • 生成供审核的中文主题摘要

什么时候用

  • 已批准访问该 X 账号,并对本地状态文件设置了保护时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

概述此摘要技能会读取哪些时间线和保存哪些状态。
为输出增加人工审核步骤,不要自动转发或发布。

月度数据趋势

累计下载3,451
2,2522,8963,5402026-03 · 累计下载 2,3412026-05 · 累计下载 2,7842026-06 · 累计下载 2,9262026-07 · 累计下载 3,1312026-08 · 累计下载 3,2082026-09 · 累计下载 3,45126-0326-09
星标11
910112026-03 · 星标 92026-05 · 星标 92026-06 · 星标 92026-07 · 星标 112026-08 · 星标 112026-09 · 星标 1126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,451—11
2026-083,208+2.5%11
2026-073,131+7.0%11
2026-062,926+5.1%9
2026-052,784—9
2026-032,341—9

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.5 KB · ClawHub v1.0.2
---
name: x-timeline-digest
version: 1.0.2
description: Build a deduplicated digest from X (Twitter) For You and Following timelines using bird. Outputs a payload for upstream delivery.
homepage: https://github.com/seandong
metadata: {"openclaw":{"emoji":"🐦","requires":{"bins":["bird"]}}}
---
# x-timeline-digest
## Overview
This skill uses bird to read X/Twitter timelines and build a high-signal digest.
展开全部(共 118 行)
Sources:
- For You timeline
- Following timeline
What it does:
1. Fetch recent tweets
2. Filter incrementally (avoid reprocessing)
3. Deduplicate (ID + near-duplicate text)
4. Rank and trim
5. Generate a Chinese digest
6. 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
| Name | Type | Default | Description |
|----|----|----|----|
| intervalHours | number | 6 | Interval window in hours |
| fetchLimitForYou | number | 100 | Tweets fetched from For You |
| fetchLimitFollowing | number | 60 | Tweets fetched from Following |
| maxItemsPerDigest | number | 25 | Max tweets in one digest |
| similarityThreshold | number | 0.9 | Near-duplicate similarity threshold |
| statePath | string | ~/.openclaw/state/x-timeline-digest.json | State file path |
---
## Dependencies
- bird must be installed and available in PATH
- bird must already be authenticated (cookie login)
- Read-only usage

## Usage

### 1. Basic (Raw JSON)
Run the digest generator to get a clean, deduplicated JSON payload:
```bash
node skills/x-timeline-digest/digest.js
```

### 2. Intelligent Digest (Recommended)
To generate the "Smart Brief" (Categorized, Summarized, Denoised):
1. Run the script: `node skills/x-timeline-digest/digest.js > digest.json`
2. Read the prompt template: `read skills/x-timeline-digest/PROMPT.md`
3. 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.*

## Bird Commands Used
For You timeline:
bird home -n <N> --json
Following timeline:
bird home --following -n <N> --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
1. Fetch from For You and Following
2. Incremental filter using lastRunAt
3. Hard deduplication by tweet id
4. Near-duplicate merge using text similarity
5. Rank and trim to maxItemsPerDigest
6. **Generate a Categorized Chinese Digest** (via PROMPT.md + LLM)
   - Categories: 🤖 AI & Tech, 💰 Crypto & Markets, 💡 Insights, 🗞️ Other
   - Language: Simplified Chinese
   - Format: [Author](URL): 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"]
}
]
}

「数据分析」分类下的热门技能

AdMapix数据分析

AdMapix 的取数层:把广告与应用相关的查询转成接口调用,只回原始 JSON。

↓ 36.6万★ 304fly0pants
Tavily Search数据分析

走 Tavily 检索公开网页,返回带链接与摘要的结构化结果。

↓ 12.2万★ 286Xiaoran Li
Data Analysis数据分析

把数据库、表格与导出的原始数据变成可决策结论的数据分析技能。

↓ 10.1万★ 244Iván
Stock Analysis数据分析

用 Yahoo Finance 数据做股票与加密货币分析、组合跟踪的技能。

↓ 7.5万★ 299udiedrichsen
Stock Watcher数据分析

管理本地自选股清单,并按代码汇总同花顺行情与近期表现的技能。

↓ 6.5万★ 122Robin797860
全国招标中标查询及分析【知了标讯】数据分析

全网招中标数据查询与分析助手。当用户涉及以下任何场景时,必须使用此SKILL:查询招标/中标公告、搜索标讯、查找临期/即将到期项目、商机预测、推荐潜在投标供应商、分析公司主营业务/历史中标、查询公司上下游合作客户与供应商、分析竞争对手/竞对企业、查询Top采购单位/Top中标单位/Top中标品牌、招中标数据统计分析(按月/季/年/省份/品牌等维度)、查询品牌型号历史中标单价/价格趋势、市场分析/行业分析/采购寻源/渠道拓展等采购与投标相关场景。即使用户没有提到「知了标讯」,只要涉及招投标、采购、中标、供应商、竞争对手等关键词,都应使用本SKILL。

↓ 5.6万★ 13user_98035bfb
Blogwatcher数据分析

用命令行监控博客与 RSS/Atom 源的更新。

↓ 5.4万★ 75Peter Steinberger
Model Usage数据分析

汇总 Codex 或 Claude 按模型计费的使用成本。

↓ 5.0万★ 114Peter Steinberger

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。