返回顶部
w

wechat-rss

通过 wcrss.com API 获取并展示微信公众号的最新文章。当用户请求查看微信公众号文章、获取公众号最新发布内容、阅读微信RSS订阅或浏览公众号内容时使用此技能。该技能会从环境变量 WCRSS_API_KEY 中读取 API Key,并调用 wcrss.com 的接口来获取文章数据。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
89
下载量
1
收藏
概述
安装方式
版本历史

wechat-rss

# WeChat RSS Skill Fetch and display the latest articles from WeChat public accounts using the wcrss.com API. ## Prerequisites Before using this skill, the user must: 1. Register an account at https://wcrss.com/ 2. Add favorite public accounts at https://wcrss.com/publishers 3. Generate an API key at https://wcrss.com/settings 4. Save the API key as an environment variable `WCRSS_API_KEY` ## Python Scripts This skill uses Python scripts for data fetching: - **Location:** `scripts/wechat_rss.py` (relative to skill directory) - **Commands:** - `python scripts/wechat_rss.py fetch <recentDays> <num>` - Fetch articles (auto-cached for 1 hour) - `python scripts/wechat_rss.py get <index>` - Get single article by index - `python scripts/wechat_rss.py count` - Get total articles count ## Workflow for Agent ### Step 1: Fetch Articles List Execute the Python script to fetch articles: ```bash python scripts/wechat_rss.py fetch 3 10 ``` ### Step 2: Get Total Articles Count ```bash python scripts/wechat_rss.py count ``` ### Step 3: Process Each Article For each article index from 0 to (count-1), call: ```bash python scripts/wechat_rss.py get <index> ``` This returns: ```json { "title": "文章标题", "author": "公众号名称", "content_html": "<p>HTML内容...</p>", "url": "https://example.com/s/article", "publish_time": "%Y-%m-%d %H:%M", "description": "文章简介" } ``` ### Step 4: Summarize Each Article For each article, use the LLM to summarize the `content_html` into key points (bullet list). **LLM Prompt:** ``` 请从以下文章内容中提取关键要点,以条目的形式列出: 标题:{title} 作者:{author} 内容:{content_html} 时间:{publish_time} 请提取3-8个核心要点,每个要点用一句话概括。 ``` ### Step 5: Display Results For each article, display in this format: ``` 【{序号}】{标题} 作者:{公众号名称} {时间} 文章要点: - 要点1 - 要点2 - 要点3 原文链接:{url} --- ``` ## Error Handling - If "WCRSS_API_KEY environment variable not set" error occurs, guide the user to configure the API key - If API returns an error, display the error message to the user - If no articles are found, inform the user and suggest checking their followed publishers

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 wechat-rss-1775969292 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 wechat-rss-1775969292 技能

通过命令行安装

skillhub install wechat-rss-1775969292

下载 Zip 包

⬇ 下载 wechat-rss v1.0.0

文件大小: 3.79 KB | 发布时间: 2026-4-13 12:34

v1.0.0 最新 2026-4-13 12:34
wechat-rss 1.0.0 initial release:

- Allows fetching and displaying of the latest articles from WeChat official accounts via the wcrss.com API.
- Supports commands to fetch article lists, get individual articles, and count total articles.
- Requires setup of a WCRSS API key through environment variables.
- Provides step-by-step workflow for agents, including error handling and article summarization prompts.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部