RSSHub Route Generator for Openclaw

A powerful developer tool that analyzes website structures to automatically generate RSSHub-compliant TypeScript route files.

benzking
v1.0.0
Apr 10, 2026
0
761
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install rsshub-route-generator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install rsshub-route-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is RSSHub Route Generator?

The RSSHub Route Generator is a specialized skill designed for developers and automation enthusiasts who want to bridge the gap between static websites and RSS feeds. By leveraging deep page analysis, it identifies content patterns, list containers, and metadata to produce production-ready TypeScript code. This skill is a core component for those building custom data streams within the Openclaw Skills ecosystem.

It eliminates the manual drudgery of inspecting DOM elements and writing boilerplate code for RSSHub. Whether you are targeting government portals, news sites, or community forums, this skill intelligently maps out selectors for titles, dates, and full-text content, ensuring high-quality feed generation with minimal effort.

RSSHub Route Generator Use Cases

  • Creating custom RSS feeds for websites that do not provide native subscription options.
  • Rapidly prototyping RSSHub routes for personal or community projects.
  • Automating news aggregation from multiple sources with consistent data structures.
  • Building Radar rules for the RSSHub browser extension to detect new feed possibilities.
  • Extracting full-text content from article lists for offline reading or archival.

How RSSHub Route Generator Works

  1. Structure Probing: The skill uses web fetching to retrieve the target URL's HTML and identifies article containers, headers, and date elements.
  2. Pattern Analysis: It scans navigation menus, sidebars, and breadcrumbs to understand the site's category hierarchy and internal link patterns.
  3. Code Synthesis: Based on the analysis, it generates a TypeScript file adhering to the official RSSHub Route specification, including parameters and features.
  4. Workflow Optimization: The skill implements best practices like concurrency control for detail pages and error handling for robust data extraction.
  5. File Export: The final output is organized into a directory structure, providing both a site analysis report and the functional .ts route file.

RSSHub Route Generator Setup

To use this skill within your environment, ensure you have the necessary dependencies for RSSHub development. Use the following commands to set up your workspace:

# Create a directory for your routes
mkdir -p rsshub-routes

# The skill will output files in the following format:
# rsshub-routes/{domain}/{route-name}.ts

You can trigger the generation by providing a URL or using commands like "Generate RSSHub route for [URL]" to start the Openclaw Skills workflow.

RSSHub Route Generator Data Schema & Taxonomy

The skill organizes generated data into a structured format for easy integration:

Component Description Format
Route File The primary TypeScript logic for the RSS feed .ts
Namespace Configuration for the route's domain namespace.ts
Analysis Report A summary of identified selectors and site info Markdown
Selectors Mapping of title, link, date, and content elements JSON/Text

Files are stored under rsshub-routes/{domain}/ to maintain a clean workspace.

RSSHub Route Generator Advanced Features

  • Full-text Extraction: Automatically generates logic to fetch and parse the content of individual articles for a richer RSS experience.
  • Radar Integration: Creates RSSHub Radar rules to allow automatic feed detection via browser extensions.
  • Concurrency Management: Uses pMap to control the speed of detail page fetching, preventing IP blocks.
  • Intelligent Pagination: Automatically identifies and implements limit and category parameters in the generated route.
  • Multi-Category Support: Scans site navigation to support multiple sub-feeds within a single route file.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*