Summary
读取乔木阅读(rss.qiaomu.ai)的数据:最新文章列表、订阅源列表、单篇文章正文、中文翻译和乔木改写版。当用户想查看乔木/QMReader 上有什么新文章、想读某篇文章内容、想让 AI 总结或翻译乔木上的文章,或在 qmreader-ios 项目中调试涉及…
hexbee/hello-skills
读取乔木?
npx skills add hexbee/hello-skills --skill qm-reader-data
读取乔木阅读(rss.qiaomu.ai)的数据:最新文章列表、订阅源列表、单篇文章正文、中文翻译和乔木改写版。当用户想查看乔木/QMReader 上有什么新文章、想读某篇文章内容、想让 AI 总结或翻译乔木上的文章,或在 qmreader-ios 项目中调试涉及…
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Build full-paper Chinese-English side-by-side, figure/table/equation-aware, source-grounded Mar…
79 installsTest web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validat…
30 installsApply when reviewing or shaping code that's hard to trace. Count layers between question and an…
63 installsApply when reviewing or shaping code that's hard to trace. Count layers between question and an…
337 installsFetch Twitter/X post content including long-form Articles with full images and metadata.
3.2K installsRead Twitter/X for financial research using opencli (read-only). Use this skill whenever the us…
9 installsOther skills from hexbee/hello-skills · top by installs.
npx skills add hexbee/hello-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
3,901 B
SUMMARY.md
542 B
通过项目自带的命令行脚本读取 https://rss.qiaomu.ai 的数据。脚本位于本 skill 目录下的 scripts/qm_reader.py,只依赖 Python 标准库,无需安装任何东西。
所有命令都支持 --json 输出原始 JSON(需要完整结构化数据时使用)。
SCRIPT="<skill目录>/scripts/qm_reader.py"
python3 "$SCRIPT" entries --limit 20 # 最新文章列表(默认 60 篇)
python3 "$SCRIPT" sources # 订阅源列表(含 id、分类、文章数;禁用源带 ✗ 标记)
python3 "$SCRIPT" source <source_id> # 某个订阅源下的文章
python3 "$SCRIPT" entry <entry_id> # 文章正文(原文;原文为空时自动回退到改写版)
python3 "$SCRIPT" entry <entry_id> --translation # 中文翻译
python3 "$SCRIPT" entry <entry_id> --rewrite # 乔木改写版
python3 "$SCRIPT" raw "/api/entry/<id>" # 任意 /api 路径的原始 JSON
<skill目录> 即本 SKILL.md 所在目录。
entries,把标题和时间整理成简洁清单回复。entries 或 sources 拿到 entry id,再跑 entry <id>;如果正文质量差或用户偏好中文表达,改用 --translation 或 --rewrite 版本作为总结素材。
sources 按名字找到 source id,再 source <id>。source 命令返回 nextCursor 时,用raw "/api/sources/<id>/entries?limit=40&ready=rewrite&cursor=<cursor>" 取下一页。
订阅源可能被服务端禁用(sources --json 中 enabled: false)。禁用源的 /api/sources/{id}/entries 接口会返回 HTTP 404,其文章也不会出现在跨源 entries 列表里——这不是网络故障,不要反复重试。脚本已对此做了友好提示, 遇到时应如实告知用户该源不可用,并建议换一个已启用的类似源。
entry 命令。sources 文本输出中带 ✗ 前缀的源是禁用状态,不要对它们跑 source <id>。此时如实告知用户即可,不要编造文章内容。
此 API 与 QMReader iOS 客户端使用同一后端,接口契约参见项目中 QMReader/APIClient.swift 与 QMReader/Models.swift。主要端点:
| 端点 | 说明 |
|---|---|
/api/entries?limit=N&ready=rewrite |
跨源最新文章 |
/api/sources?ready=rewrite |
订阅源列表 |
/api/sources/{id}/entries?limit=&cursor= |
单源文章,cursor 分页 |
/api/entry/{id} |
文章详情(含 content、summary、rewrite.body 等) |
/api/entry/{id}/translation |
中文翻译(段落对数组 content[].target/targetHtml) |
/api/entry/{id}/rewrite |
乔木改写版(markdown body) |