360 Secure SkillHub
360 安全技能中心

x-recap

核心功能:借助actionbook-rs截图X页面生成官方更新摘要,重大更新按指定格式输出含影响品类与交易思路,日常无重大更新可简洁告知。典型场景:跟踪官方账号动态、设置定时监控、排查X登录/空白时间线故障,规范“抓取→截图→汇总”工作流,输入为脚本执行指令,输出文字摘要。

jack4world
jack4world
热度 72.40
最近更新 2026-05-11 17:27:04
分类:自动化依赖:代码执行 / 读写文件 / 联网浏览搜索应用场景:自动化脚本 / 摘要总结 / 社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add x-recap
Metadata
name
x-recap
description
Monitor and recap official X (Twitter) updates using actionbook-rs screenshots. Use when the user asks to track/recap X posts (especially official accounts like @AnthropicAI/@claudeai), set up or fix cron-based X monitoring, troubleshoot X login/spinner blank timelines, or standardize the “fetch → screenshot → recap” workflow.

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:

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