微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

X News Crawler

X News Crawler · v0.1.0
安全 unknown 级 作者 leeguooooo 公开目录收录
1.2k 下载 0 安装 4.9k 收藏 1 浏览

简介

X News Crawler

原始描述

Crawl X (Twitter) search results through a local CLI that wraps `abs` (agent-browser). Use when the user asks to scrape X posts by keyword, collect Top/Lates...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/x-news-crawler/
其它 Agent解压到它自己的 skills 目录,目录名用 x-news-crawler

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: x-news-crawler description: Crawl X (Twitter) search results through a local CLI that wraps abs (agent-browser). Use when the user asks to scrape X posts by keyword, collect Top/Latest news, extract structured fields (author/time/text/link), or produce a deduplicated "top-first then latest" feed.

X News Crawler

Use this skill to run one command and get structured X news JSON.

Prerequisites (Required)

Before any crawl command, run:

pnpm add -g agent-browser-stealth
pnpm approve-builds -g

Workflow

  1. Run the CLI, not raw abs commands.
  2. Use --mode hybrid by default: fetch top first, then latest, then sort by time and dedupe.
  3. Read JSON output and summarize signal/noise for the user.

Commands

From repository root, run:

./bin/x-news-crawler --query "openclaw" --mode hybrid --since-hours 72 --limit 30 --output .tmp/openclaw-news.json

Quick probes:

./bin/x-news-crawler --query "openclaw" --mode top --limit 10
./bin/x-news-crawler --query "openclaw" --mode latest --since-hours 24 --limit 20

Output Contract

The CLI returns JSON with:

  • fetched_at
  • query
  • mode
  • count
  • warnings[]
  • failed_sources[]
  • rows[] with: source, datetime, status_url, user, text, replies, reposts, likes

Guardrails

  • Prefer hybrid unless the user explicitly asks only top or latest.
  • Keep since-hours small (24-168) to avoid stale content.
  • Treat unverified rumor posts as low confidence even with high engagement.

Reference

See cli.md for full flags.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill