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

Twitter/X 智能监控与高质量内容筛选

x-monitor · vv1.0.0
专业技能 安全 A 级 作者 vmathur 公开目录收录
1.2k 下载 317 安装 4.4k 收藏 39.4k 浏览

简介

基于 X API 的自动化监控工具,智能筛选技术趋势与高质量内容,助您高效追踪行业动态,排除政治噪音干扰。

原始描述

Monitor specific X/Twitter accounts and surface noteworthy tweets on a configurable schedule. Filters for high-value content about technology and trends, excluding political rage bait. Use when user wants to manage their X account list, run a manual check, or update filtering criteria.

通过你的 Agent 添加

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

或者手动安装

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

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

中文使用说明 来自收录源

核心用法

x-monitor 是一款自动化 Twitter/X 监控工具,专为信息筛选设计。用户配置目标账号列表后,skill 按设定时间表(默认每日4次)抓取推文,通过可自定义的过滤标准识别"值得关注"的内容,生成结构化报告。

配置流程:

  1. 将 X API Bearer Token 存入本地凭证文件
  2. 在 handles.json 中设置 10-20 个监控账号(推荐技术、创业领域 KOL)
  3. 通过 schedule.json 自定义时区和检查时间点
  4. 编辑 noteworthy-criteria.md 调整过滤规则

交互命令: 支持增删监控账号、手动触发检查、查看/修改时间表、更新过滤标准等全生命周期管理。


显著优点

  • 智能内容过滤:默认排除政治 rage bait、鸡汤语录、纯流量 farming,聚焦技术趋势、AI、加密、产品设计等高质量洞见
  • 灵活调度:支持 IANA 时区与任意时间点组合,从每日1次到4次自由配置
  • 零依赖设计:仅使用 Python 标准库,无第三方依赖,供应链攻击面极小
  • 本地优先:凭证与数据全部本地存储,符合 GDPR 数据最小化原则
  • 官方 API 调用:直连 X API v2 官方端点,HTTPS 加密传输

潜在缺点与局限性

  • API 配额约束:每账号每检查限 10 条推文,高频监控易触发速率限制
  • T3 来源可信度:维护者为个人开发者 vmathur,非知名组织,长期维护承诺存疑
  • 内容判断依赖启发式规则:"值得关注"标准为基于关键词和模式的启发式过滤,非 AI 语义理解,可能漏判或误判
  • X 平台政策风险:API 条款变更可能导致功能受限或额外成本
  • 无社交功能:不支持点赞、转发、回复等交互,纯阅读工具

适合人群

  • 技术从业者、创业者、投资人:需要跟踪行业 KOL 动态但不愿被噪音淹没
  • 信息策展者:希望自动化初筛流程,人工复核高价值内容
  • 研究人员:监控特定领域账号的公开观点与数据发布

不适合: 需要实时推送(延迟取决于检查频率)、政治新闻跟踪、或深度社交互动的用户。


常规风险

  • 凭证泄露风险:Bearer Token 以明文存储于本地 JSON,需确保文件权限正确(建议 chmod 600)
  • API 密钥失效:X API 政策收紧或密钥泄露需重新配置
  • 误过滤风险:严格过滤规则可能遗漏边缘但有价值的内容
  • 维护中断风险:个人项目可能停更,需关注社区 fork 或替代方案

技能正文


name: x-monitor description: Monitor specific X/Twitter accounts and surface noteworthy tweets on a configurable schedule. Filters for high-value content about technology and trends, excluding political rage bait. Use when user wants to manage their X account list, run a manual check, or update filtering criteria.

X Monitor

Automated Twitter/X monitoring with intelligent filtering for high-value content.

Setup

1. X API Credentials

Save your X API credentials to ~/.openclaw/workspace/x-monitor/credentials.json:

{
  "bearer_token": "YOUR_BEARER_TOKEN_HERE"
}

2. Handles to Monitor

Configure accounts in ~/.openclaw/workspace/x-monitor/handles.json:

{
  "handles": [
    "naval",
    "paul_graham",
    "balajis",
    "vitalikbuterin"
  ]
}

Limit: 10-20 handles recommended for API quota management.

3. Schedule Configuration

Configure check frequency in ~/.openclaw/workspace/skills/x-monitor/config/schedule.json:

{
  "timezone": "America/Los_Angeles",
  "check_times": ["08:00", "12:00", "16:00", "20:00"],
  "enabled": true
}

Options:

  • timezone: IANA timezone string (e.g., "America/New_York", "Europe/London", "Asia/Tokyo")
  • check_times: Array of 24-hour times for daily checks (e.g., ["09:00", "18:00"] for twice daily)
  • enabled: Set to false to pause scheduled checks

Common schedules:

  • 4x daily (default): ["08:00", "12:00", "16:00", "20:00"]
  • 3x daily: ["09:00", "14:00", "20:00"]
  • 2x daily: ["09:00", "18:00"]
  • 1x daily: ["09:00"]

4. Setup Cron Jobs

After configuring your schedule, ask the agent to set up the cron jobs:

  • "set up x monitor cron jobs" — creates cron jobs based on your schedule.json
  • "update x monitor schedule" — updates cron jobs after changing schedule.json

5. Noteworthy Criteria

Edit ~/.openclaw/workspace/x-monitor/noteworthy-criteria.md to customize what gets surfaced.

Scheduled Reports

Reports run at the times specified in config/schedule.json. Each report includes:

  1. Executive summary — high-level overview of noteworthy items
  2. Filtered tweets — chronological list with author, content, metrics

Commands

Manage handles:

  • "add @username to x monitor" — add a new handle
  • "remove @username from x monitor" — remove a handle
  • "show x monitor handles" — list current handles

Manual check:

  • "check x now" — run immediate report

Schedule management:

  • "show x monitor schedule" — display current schedule config
  • "set x monitor to check at 9am and 6pm" — update check times
  • "set x monitor timezone to America/New_York" — update timezone
  • "set up x monitor cron jobs" — create/update cron jobs from schedule.json

Update criteria:

  • "show noteworthy criteria" — display current filter rules
  • "update noteworthy criteria" — help edit the criteria

What Counts as Noteworthy (Default)

Include:

  • Insights on technology trends, AI, crypto, product design
  • First-person experiences building/shipping
  • Novel frameworks, metaphors, or mental models
  • Data-driven observations with concrete examples
  • Contrarian but well-argued takes

Exclude:

  • Political rage bait or partisan content
  • Generic motivational quotes
  • Pure engagement farming

API Details

Uses X API v2 tweets/search/recent endpoint:

  • Max results: 10 per handle per check
  • Fields: created_at, public_metrics, author_id, lang
  • Expansions: author_id for full user info
  • Query pattern: from:{handle}

Storage

  • Credentials: ~/.openclaw/workspace/x-monitor/credentials.json
  • Handles: ~/.openclaw/workspace/x-monitor/handles.json
  • Schedule: ~/.openclaw/workspace/skills/x-monitor/config/schedule.json
  • Criteria: ~/.openclaw/workspace/x-monitor/noteworthy-criteria.md
  • Last check: ~/.openclaw/workspace/x-monitor/last-check.json (timestamp tracking)

Cron Job Setup

When setting up cron jobs, the agent will:

  1. Read config/schedule.json for timezone and times
  2. Create isolated cron jobs using agentTurn payloads
  3. Each job runs: fetch tweets → filter for noteworthy → deliver summary

Example cron expression for 8am in America/Los_Angeles:

{
  "schedule": { "kind": "cron", "expr": "0 8 * * *", "tz": "America/Los_Angeles" },
  "payload": { "kind": "agentTurn", "message": "Run x-monitor check and report noteworthy tweets" }
}

Error Handling

  • Rate limits: Backs off and logs warning
  • Invalid handles: Skips and reports
  • API errors: Logs and continues with remaining handles

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

标签

content-mediaautomationproductivityapi

同类 Skill