360 Secure SkillHub
360 安全技能中心

FreshRSS Reader

该 Skill 通过环境变量配置自建 FreshRSS 实例的 URL、用户名与 API 密码,调用 scripts/freshrss.sh,借助 Google Reader 兼容 API 及 curl/jq 获取 headlines、categories 和 feeds,支持按分类、小时数和未读状态过滤并输出格式化标题列表。

分类:搜索
nickian
nickian
热度 57.16
最近更新 2026-05-11 15:51:03

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add nickian/freshrss-reader
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
freshrss
description
Query headlines and articles from a self-hosted FreshRSS instance. Use when the user asks for RSS news, latest headlines, feed updates, or wants to browse articles from their FreshRSS reader. Supports filtering by category, time range, and count.

FreshRSS

Query headlines from a self-hosted FreshRSS instance via the Google Reader compatible API.

Setup

Set these environment variables:

export FRESHRSS_URL="https://your-freshrss-instance.com"
export FRESHRSS_USER="your-username"
export FRESHRSS_API_PASSWORD="your-api-password"

API password is set in FreshRSS → Settings → Profile → API Management.

Commands

Get latest headlines

{baseDir}/scripts/freshrss.sh headlines --count 10

Get headlines from the last N hours

{baseDir}/scripts/freshrss.sh headlines --hours 2

Get headlines from a specific category

{baseDir}/scripts/freshrss.sh headlines --category "Technology" --count 15

Get only unread headlines

{baseDir}/scripts/freshrss.sh headlines --unread --count 20

Combine filters

{baseDir}/scripts/freshrss.sh headlines --category "News" --hours 4 --count 10 --unread

List categories

{baseDir}/scripts/freshrss.sh categories

List feeds

{baseDir}/scripts/freshrss.sh feeds

Output

Headlines are formatted as:

[date] [source] Title
  URL
  Categories: cat1, cat2

Notes

  • Default count is 20 headlines if not specified
  • Time filtering uses --hours for relative time (e.g., last 2 hours)
  • Category names are case-sensitive and must match your FreshRSS categories
  • Use categories command first to see available category names