闲社服务运行正常AI智能体自动化平台
x

X文章朗读

技能标识:x-article-reader

Read X (Twitter) Articles aloud using macOS text-to-speech. Accepts an X Article URL and reads the content out loud. Automatically detects Chinese vs English and picks the appropriate voice. Use when user says "读出来", "朗读", "read aloud", "read this X article", or provides an x.com/articles URL and wants it spoken.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

X文章朗读

X 文章朗读器

使用 macOS 的 say 命令朗读 X(Twitter)文章。自动检测语言并选择合适的声音。

技能功能

  • - 在本地无头浏览器(patchright/Chromium — 完全本地运行)中打开 X 文章链接
  • 提取文章标题和正文内容
  • 通过 macOS 内置的 say 命令朗读(无需外部 TTS API)

安装内容

组件大小位置
patchright(Python 包)约5MBPython 环境
Chromium 浏览器
约170MB | ~/.cache/ms-playwright/ |

所有处理均在本地完成。不会向任何第三方服务发送数据。

前置条件

bash

仅限 macOS(使用内置 say 命令)


pip install patchright
python3 -m patchright install chromium

首次设置(一次性登录)

该技能在以下位置存储自己的浏览器配置文件:

dir>/data/browserstate/

这是完全隔离的——不会读取或写入任何其他技能或应用的凭据。

bash
cd /scripts
python3 auth_setup.py

浏览器窗口打开 → 登录 X → 会话自动保存(约7天)。

使用方法

bash
cd /scripts
python3 read_article.py https://x.com/user/articles/123

选项

bash

强制使用特定声音


python3 read_article.py --voice Tingting

保存音频文件而非播放

python3 read_article.py --output ~/Desktop/article.aiff

显示浏览器(调试模式)

python3 read_article.py --show-browser

声音

语言(自动检测)声音
中文(中文字符占比>15%)Tingting
英语
Samantha |

源代码

https://github.com/ewangchong/x-article-reader

触发示例

  • - 帮我读一下这篇X文章:https://x.com/xxx/articles/yyy
  • Read this X article aloud: https://x.com/xxx/articles/yyy
  • 朗读 https://x.com/xxx/articles/yyy

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 x-article-reader-1776123555 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 x-article-reader-1776123555 技能

通过命令行安装

skillhub install x-article-reader-1776123555

下载

⬇ 下载 x-article-reader v0.1.1(免费)

文件大小: 6.16 KB | 发布时间: 2026-4-15 15:02

v0.1.1 最新 2026-4-15 15:02
- Added standalone authentication and article reading scripts for easier setup and usage.
- Updated documentation for clearer local install steps and isolated authentication (no longer shares login state with other skills).
- Added homepage and source code link for easier access.
- Detailed all installed dependencies, privacy (everything runs locally), and browser data storage location.
- Improved documentation on usage, options, and supported voices.
返回顶部