X Actionbook Recap
by @jack4world
Collect, scroll, extract, and summarize recent X (Twitter) posts for any handle (optionally filtered by keyword search) using the Actionbook Rust CLI (actionbook-rs) workflow (open → snapshot/accessibility tree → extract `article` text). Use when asked to analyze a handle over a time window (e.g., last 7 days), produce Chinese working notes, and publish a neutral English recap (single post or thread) from a specified account.
clawhub install x-actionbook-recap📖 About This Skill
name: x-actionbook-recap description: Collect, scroll, extract, and summarize recent X (Twitter) posts for any handle (optionally filtered by keyword search) using the Actionbook Rust CLI (actionbook-rs) workflow (open → snapshot/accessibility tree → extract
article text). Use when asked to analyze a handle over a time window (e.g., last 7 days), produce Chinese working notes, and publish a neutral English recap (single post or thread) from a specified account.
X recap via actionbook-rs
What this skill is for
Produce a repeatable “collect → extract → summarize → publish” workflow for any X handle (optionally with a keyword) using the actionbook-rs approach:
1) actionbook browser open the profile/search page
2) actionbook browser snapshot to get the accessibility tree (incl. article nodes)
3) (optional) actionbook browser eval to scroll
4) extract post text from article blocks
5) analyze + draft output (Chinese internal notes; English publish)
6) publish on X (neutral tone; optionally attach an image)
Guardrails
Workflow
1) Collect posts (Actionbook)
Pick one entry point:
https://x.com/https://x.com/search?q=from%3A%20&src=typed_query&f=live Commands (example):
# open (profile)
actionbook browser open "https://x.com/"snapshot (repeat after each scroll)
actionbook browser snapshot --refs aria --depth 18 --max-chars 12000scroll a bit
actionbook browser eval "window.scrollBy(0, 2200)"
Extraction heuristic:
article nodes that contain the post text.Stop condition:
2) Summarize (Chinese notes)
Write a compact Chinese working summary:
3) Draft publish copy (English, neutral)
Choose output type:
Use neutral framing:
Use templates in references/templates.md.
4) Image (optional but recommended)
Preferred options (no Python required):
references/image-card.md)5) Publish on X
If using OpenClaw browser automation:
Confirm before posting:
Bundled references
references/templates.md — recap + thread templates (English)references/checklist.md — extraction checklist + caveatsreferences/image-card.md — HTML/SVG card approach (no Pillow)