Install
openclaw skills install rss-summarizer智能 RSS 订阅与摘要。用于订阅、抓取、过滤和摘要 RSS/Atom 订阅源。当用户需要跟踪新闻、博客更新并提供摘要时使用。
openclaw skills install rss-summarizer本技能提供 RSS 订阅源管理、抓取和摘要功能。
scripts/add.js - 添加订阅源scripts/list.js - 列出所有订阅源scripts/remove.js - 删除订阅源scripts/fetch.js - 抓取最新内容并摘要scripts/configure.js - 配置参数(摘要模式、语言、最大条目、过滤器)AI 在响应用户请求时,应调用相应的脚本,传入 JSON 参数(通过 stdin),并返回 JSON 结果。
脚本通用输入/输出格式:
输入 (stdin):
{
"context": { "send": function } // 可选,用于通知用户
... 具体参数(见各脚本)
}
输出 (stdout):
{
"success": true,
"message": "...",
"data": { ... }
}
用户说:“订阅 Hacker News 的 RSS”
AI 调用 scripts/add.js:
{ "url": "https://news.ycombinator.com/rss", "name": "Hacker News" }
AI 收到响应后向用户确认。
脚本使用 data/subscriptions.json 和 data/config.json 存储数据。首次运行会自动创建。
error 字段。