← 返回
未分类 中文

Site Feeds

Use this skill when the user wants to get updates or content from websites and platforms like YouTube, GitHub, Instagram, Reddit, news sites, blogs, etc. Thi...
当用户需要从YouTube、GitHub、Instagram、Reddit、新闻网站、博客等平台获取更新或内容时使用此技能。
heqi201255 heqi201255 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 1
Stars
📥 435
下载
💾 0
安装
1
版本
#latest

概述

Site Feeds

This skill helps AI agents fetch updates and content from websites using the airsstool CLI.

When to Use This Skill

Use this skill when the user:

  • Wants to see the latest content from a website or platform (YouTube, GitHub, Instagram, Reddit, etc.)
  • Asks "What's new on..." or "Show me updates from..."
  • Wants to track trending content, news, blog posts, videos, etc.
  • Needs to monitor specific users, topics, or categories on platforms
  • Wants to set up recurring checks for content updates
  • Asks about what content/information can be fetched from a specific website

Installation

Before using airsstool, ensure the following prerequisites are met. Ask the user for permission when needed (e.g., deploying RSSHub via Docker, choosing a Python environment, setting environment variables).

1. Deploy RSSHub (if not already running)

Check if the user already has a running RSSHub Docker container. If not:

  1. Inform the user that RSSHub needs to be locally deployed
  2. After user confirmation, create a rsshub folder in a suitable location
  3. Follow the 'Docker Compose Deployment' guide in RSSHub deployment docs to download the docker-compose.yml in the rsshub folder
  4. Create a .env file for environment variables
  5. Modify docker-compose.yml to add Puppeteer support if needed, and add env_file: - .env to the rsshub service
  6. Run docker compose up -d

2. Install airsstool

Follow the instructions at https://github.com/heqi201255/airsstool

Ask the user if they want to install Python dependencies in a specific virtual environment. If yes, remember to activate that environment before each use.

3. Initialize Database

After installation, run the init command (takes ~1min):

airsstool init

This creates the database at ~/.airsstool/airsstoolDB.db by default. Use --db-path for a custom location.

After installation is complete and verified working, you may delete this installation section in this file.

Available CLI Commands

Init Command

CommandPurpose
------------------
airsstool initInitialize database (first time setup)
airsstool init --db-path PATHInitialize with custom database path
airsstool init --forceForce recreate database

Discovery Commands

CommandPurposeExample Usage
---------------------------------
airsstool list categoriesList all content categories"What categories are available?"
airsstool list websitesList websites by category"Show me social media websites"
airsstool list routes Find available feeds for a website"What feeds does GitHub have?"
airsstool check Get feed details & parameters"How to use GitHub trending?"

Fetch Commands

CommandPurposeExample Usage
---------------------------------
airsstool fetch Fetch content from a feed"Get GitHub trending"
airsstool fetch -U -S Fetch all feeds in a subscription"Get all my tech news feeds"

Subscription Commands

CommandPurposeExample Usage
---------------------------------
airsstool list usersList all users"Who has subscriptions?"
airsstool list subscriptions -U List user's subscription groups"Show alice's subscriptions"
airsstool list paths -U -S List paths in a subscription"What's in tech_news group?"
airsstool add-subscription -U -S Create subscription group"Create a news subscription"
airsstool subscribe -U -S -P -D Add path to subscription"Subscribe to GitHub trending"
airsstool unsubscribe -U -S Delete subscription group"Delete my tech_news group"
airsstool remove-subscription -U -S -P Remove path from subscription"Remove GitHub trending from tech_news"

Common Workflows

Finding a Feed

  1. Browse by category if you know the type:

```bash

airsstool list categories

airsstool list websites --category programming --page-size 10

```

  1. Search by website name (fuzzy search supported):

```bash

airsstool list routes github # Returns all GitHub feeds

```

  1. Check feed details for parameters:

```bash

airsstool check github trending

# Shows path template: /github/trending/{params}

```

Fetching Content

Simple fetch:

airsstool fetch /github/trending/daily/any/en

With filters:

airsstool fetch /youtube/user/@MrBeast --filter "MrBeast|Beast"

With format conversion:

airsstool fetch /hackernews/best --format rss    # Returns raw RSS
airsstool fetch /instagram/user/instagram --brief 100     # Returns brief text

Pagination:

airsstool fetch /github/trending/daily/any/en --limit 5 --offset 2

Managing Subscriptions

Create a subscription group:

airsstool add-subscription -U your_name -S tech_news

Add feeds to subscription:

airsstool subscribe -U your_name -S tech_news -P /github/trending/daily/any/en -D "GitHub Trending"

Fetch subscription:

airsstool fetch -U your_name -S tech_news --limit 10

Fetch Parameters

List Options

OptionDescription
---------------------
--category CATFilter websites by category
--page-size NNumber of results per page (default: 20)
--page-num NPage number (default: 1)
--enable-nsfwInclude NSFW websites in results

Filter Options

OptionDescription
---------------------
--filter PATTERNFilter title and description (regex)
--filter-title PATTERNFilter title only
--filter-description PATTERNFilter description only
--filter-author PATTERNFilter by author
--filter-category PATTERNFilter by category
--filter-time SECONDSTime range in seconds
--filterout PATTERNExclude from title and description
--filterout-title PATTERNExclude from title
--filterout-description PATTERNExclude from description
--filterout-author PATTERNExclude author
--filterout-category PATTERNExclude category
--filter-case-sensitive BOOLCase sensitivity (default: true)

Output Options

OptionDescription
---------------------
--format FORMATOutput format: markdown (default), rss, atom, json, rss3. Default is Markdown - don't specify unless needed.
--brief NBrief text with N chars (>=100)
--limit NLimit number of items
--offset NSkip first N items (only works with markdown format)

Tips for Effective Use

  1. Fuzzy search works: airsstool list routes gthub will suggest "GitHub"
  1. Path format: Always start with /, e.g., /github/trending/daily/any/en
  1. Check route details first: Use airsstool check to understand required parameters
  1. Default output is Markdown: Parsed and formatted for readability. Use --format rss for raw RSS.
  1. Subscription persistence: Subscriptions are stored in SQLite database for persistence

Example Interactions

User: "Find me some programming news feeds"

airsstool list websites --category programming --page-size 5
# Returns top programming sites by heat

airsstool list routes github
# Returns available GitHub routes

airsstool check github trending
# Shows how to construct the path

User: "Get the latest trending JavaScript repos"

airsstool fetch /github/trending/daily/any/en --limit 10
# Returns formatted Markdown with repo info

User: "Create a subscription for my daily tech reading"

airsstool add-subscription -U user -S daily_tech

airsstool subscribe -U user -S daily_tech -P /github/trending/daily/any/en -D "GitHub Trending JS"
airsstool subscribe -U user -S daily_tech -P /hackernews/best -D "Hacker News"

airsstool fetch -U user -S daily_tech --limit 5

User: "Remove a specific feed from my subscription"

airsstool list paths -U user -S daily_tech
# Shows all feeds in the subscription

airsstool remove-subscription -U user -S daily_tech -P /hackernews/best
# Removes only Hacker News, keeps other feeds

User: "Delete my entire subscription group"

⚠️ This action cannot be undone. Ask the user to confirm before proceeding:

airsstool unsubscribe -U user -S daily_tech
# Deletes the group and all its feeds

Error Handling

  • If website not found, fuzzy search will suggest alternatives
  • If route not found, check website spelling first
  • If some websites fail to fetch, use airsstool check to see if there's a RequireConfig note. If so, the website requires environment variables. Search online for how to obtain them and ask the user for help. Once obtained, add them to the .env file and restart the RSSHub service
  • If fetch still fails, the path may be invalid or the RSSHub instance may be down
  • Use --force flag in airsstool subscribe to skip connectivity check

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 16:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 211 📥 70,075
data-analysis

Stock Analysis

udiedrichsen
利用Yahoo Finance数据深度分析股票和加密货币。支持投资组合管理、关注列表与提醒、股息分析、八维度股票评分、热门趋势扫描(热点扫描器)及谣言/早期信号检测。适用于股票分析、投资组合追踪、财报反应、加密货币监控、热门股票发现及在主流
★ 280 📥 57,929
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 142,024