x-recap

TotalClaw 作者 totalclaw

使用 actionbook-rs 屏幕截图监控并回顾官方 X (Twitter) 更新。当用户要求跟踪/回顾 X 帖子(尤其是@AnthropicAI/@claudeai 等官方帐户)、设置或修复基于 cron 的 X 监控、解决 X 登录/旋转器空白时间线问题或标准化“获取 → 屏幕截图 → 回顾”工作流程时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~jack4world-x-recap
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~jack4world-x-recap/file -o jack4world-x-recap.md
# X Recap (actionbook-rs)

Use **actionbook-rs** (`/Users/daboluo/.openclaw/workspace/bin/actionbook`) with `--profile x` to open X pages and save screenshots, then read screenshots to produce a recap.

## Canonical workflow (keep cron + scripts consistent)

### 0) Ensure X login (profile=x)
If timeline screenshots are blank/spinner-only, re-login:

```bash
cd /Users/daboluo/.openclaw/workspace
./bin/actionbook --profile x browser open https://x.com/home
```

### 1) Fetch (single source of truth)
- **Breaking (full-page)**: run `skills/x-recap/scripts/fetch_official_breaking.sh`
- **Daily (lightweight)**: run `skills/x-recap/scripts/fetch_official_daily.sh`

Do not re-implement fetch logic inside cron payloads; cron should only call these scripts.

### 2) Recap from screenshots
Output rules (suggested):
- If “major update”: emit 【快报】 + <=5 bullets + impacted **software stock categories** (no tickers) + 1–2 trading-framework ideas.
- If not major: either one-liner “无重大官方更新” or stay silent (depending on user preference).

## Resources
- Runbook (login + common failure modes): `references/runbook.md`