返回顶部
f

feedship订阅管理

Manage RSS/Atom feeds, subscribe to websites, search and read articles. Use when working with feeds, RSS, Atom, subscribing to content sources, managing an information pipeline, or fetching articles from subscribed feeds. Commands: feed add|list|remove, fetch, article list|view|open|related, search, discover, info.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.5.0
安全检测
已通过
135
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

feedship

Feedship 技能

版本: 1.5
适用对象: Claude Code 和 OpenClaw 兼容代理
描述: 管理信息源,订阅 RSS/GitHub 源,以及搜索文章

安装设置

使用此技能前,请安装带有 ML 和云扩展的 feedship:

bash
uv tool install feedship[ml,cloudflare] --python 3.12 --force

注意: cloudflare 扩展提供 scrapling(HTML 获取);ml 扩展提供 sentence-transformers + chromadb(语义搜索)。两者均为完整功能所必需。

中国/受限网络

对于无法访问 PyPI 或 HuggingFace 的环境,请使用镜像:

bash

添加到 ~/.bashrc 以持久化


echo export HF_ENDPOINT=https://hf-mirror.com >> ~/.bashrc
echo export PIPINDEXURL=https://mirrors.aliyun.com/pypi/simple/ >> ~/.bashrc
source ~/.bashrc

安装

uv tool install feedship[cloudflare,ml] --force

升级

bash

从 PyPI(如果可以访问)


uv tool upgrade feedship

从 GitHub(最新提交)

uv tool install feedship @ git+https://github.com/yanpeipan/feedship.git \ --pip-args=-i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com \ --include-deps --force

安装后,使用以下命令验证:feedship --version

首次设置语义搜索: 安装后,运行 feedship fetch --all 以用文章嵌入填充向量数据库。语义搜索需要先生成嵌入(chromadb 存储)。


命令

feed

管理 RSS/Atom 源和 GitHub 发布追踪器。

feed add

bash
feedship feed add [选项]

通过 URL 添加新源,自动检测提供者。

选项:

  • - --auto-discover/--no-auto-discover — 启用源自动发现(默认:启用)
  • --automatic on|off — 自动添加所有发现的源(默认:关闭)
  • --discover-depth N — 发现爬取深度 1-10(默认:1)
  • --weight FLOAT — 语义搜索的源权重(默认:0.3)

示例:
bash
feedship feed add https://example.com
feedship feed add https://github.com/python/cpython --automatic on
feedship feed add https://example.com --discover-depth 3

feed list

bash
feedship feed list [-v]

列出所有已订阅的源及其状态。

选项:

  • - -v, --verbose — 显示详细输出
  • --json — 以 JSON 格式输出,供程序化使用

feed remove

bash
feedship feed remove

按 ID 移除已订阅的源。



fetch

bash
feedship fetch [--all|] [--concurrency N]

从已订阅的源获取新文章。

选项:

  • - --all — 获取所有已订阅的源
  • --concurrency N — 最大并发获取数 1-100(默认:10)

示例:
bash
feedship fetch --all
feedship fetch abc12345
feedship fetch abc12345 def67890 --concurrency 20



article

管理和查看已获取的文章。

article list

bash
feedship article list [选项]

选项:

  • - --limit N — 最大文章数(默认:20)
  • --feed-id — 按源 ID 过滤
  • --since — 开始日期(YYYY-MM-DD)
  • --until — 结束日期(YYYY-MM-DD)
  • --on — 特定日期(可重复用于多个)
  • --json — 以 JSON 格式输出,供程序化使用

article view

bash
feedship article view

查看完整文章内容和元数据。

article open

bash
feedship article open

在系统浏览器中打开文章。

article related

bash
feedship article related [--limit N]

查找语义相关的文章。



search

bash
feedship search [选项]

使用全文或语义搜索搜索文章。

选项:

  • - --limit N — 最大结果数(默认:20)
  • --feed-id — 按源 ID 过滤
  • --semantic — 使用语义(向量)搜索而非关键词
  • --rerank — 应用交叉编码器重排序
  • --since — 开始日期过滤
  • --until — 结束日期过滤
  • --on — 特定日期过滤
  • --json — 以 JSON 格式输出,供程序化使用

示例:
bash
feedship search 机器学习
feedship search Python 新闻 --semantic
feedship search 更新 --semantic --rerank



discover

bash
feedship discover [--discover-depth N]

在网站上发现 RSS/Atom/RDF 源,无需订阅。

选项:

  • - --discover-depth N — 爬取深度 1-10(默认:1)
  • --json — 以 JSON 格式输出,供程序化使用

示例:
bash
feedship discover example.com
feedship discover example.com --discover-depth 3

info

bash
feedship info [选项]

显示系统信息、配置和存储状态。

选项:

  • - --json — 以 JSON 格式输出,供程序化使用

输出包括:

  • - 版本信息
  • 配置文件位置
  • 数据库/存储路径
  • 源数量和文章数量
  • 已安装的扩展(ml, cloudflare)

示例:
bash
feedship info
feedship info --json



输出格式

表格

feed list、article list、search、discover 输出 Rich 表格:

  • - 品红色表头
  • 交替行样式
  • 截断列并带有溢出指示符

面板

article view 使用 Rich 面板:

  • - 标题:文章标题
  • 副标题:源名称 | 日期
  • 内容:完整文章文本

进度条

fetch 使用 Rich 进度条显示:

  • - 当前正在获取的源
  • 新文章数量
  • 已用时间



常见模式

初始设置

bash

添加网站源


feedship feed add https://example.com --automatic on

获取所有源

feedship fetch --all

查看最近文章

feedship article list --limit 50

日常工作流程

bash

获取新文章


feedship fetch --all

搜索主题

feedship search 机器学习 --semantic

阅读文章

feedship article view abc12345

在浏览器中打开以查看完整内容

feedship article open abc12345

源管理

bash

列出源


feedship feed list -v

移除过时源

feedship feed remove old123

在网站上发现新源

feedship discover news-site.com --discover-depth 2

定时获取(OpenClaw 最佳实践)

对于自动定期获取,请使用平台特定的调度器:

macOS(LaunchAgent):
xml

ProgramArguments/usr/local/bin/feedshipfetch--all
StartInterval3600

Linux(systemd 定时器):
ini

~/.config/systemd/user/feedship.timer


[Timer] OnBootSec=5min OnUnitActiveSec=1h

Cron:
bash
0 feedship fetch --all >> ~/.feedship/fetch.log 2>&1

OpenClaw Cron(每 30 分钟):
bash
openclaw cron add \
--name feedship-fetch \
--agent agent \
--cron /30 * \
--tz Asia/Shanghai

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 feedship-1775909244 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 feedship-1775909244 技能

通过命令行安装

skillhub install feedship-1775909244

下载

⬇ 下载 feedship v1.5.0(免费)

文件大小: 3.49 KB | 发布时间: 2026-4-12 09:55

v1.5.0 最新 2026-4-12 09:55
feedship 1.5.0

- Added info command to display system configuration, storage, and version info.
- New --json output option for feed list, article list, search, discover, and info commands.
- OpenClaw cron integration: default scheduled article fetching every 30 minutes.
- Setup instructions now favor uv tool installation; pipx instruction removed.
- Documentation improvements for automation and scheduler usage (macOS, Linux, Cron, OpenClaw).
- Various options clarified in command descriptions and usage examples.

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

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

p2p_official_large
返回顶部