← 返回
效率工具 中文

Feed To Md

Convert RSS or Atom feed URLs into Markdown using the bundled local converter script. Use this when a user asks to turn a feed URL into readable Markdown, op...
使用本地转换脚本将 RSS 或 Atom 订阅源 URL 转换为 Markdown。当用户请求将订阅源 URL 转换为可读的 Markdown 时使用。
myx0m0p
效率工具 clawhub v1.2.0 1 版本 99912.4 Key: 无需
★ 2
Stars
📥 1,101
下载
💾 20
安装
1
版本
#latest

概述

RSS/Atom to Markdown

Use this skill when the task is to convert an RSS/Atom feed URL into Markdown.

What this skill does

  • Converts a feed URL to Markdown via a bundled local script
  • Supports stdout output or writing to a Markdown file
  • Supports limiting article count and summary controls

Inputs

  • Required: RSS/Atom URL
  • Optional:
  • output path
  • max item count
  • template preset (short or full)

Usage

Run the local script:

python3 scripts/feed_to_md.py "<feed_url>"

Write to file:

python3 scripts/feed_to_md.py "https://example.com/feed.xml" --output feed.md

Limit to 10 items:

python3 scripts/feed_to_md.py "https://example.com/feed.xml" --limit 10

Use full template with summaries:

python3 scripts/feed_to_md.py "https://example.com/feed.xml" --template full

Security rules (required)

  • Never interpolate raw user input into a shell string.
  • Always pass arguments directly to the script as separate argv tokens.
  • URL must be http or https and must not resolve to localhost/private addresses.
  • Every HTTP redirect target (and final URL) is re-validated and must also resolve to public IPs.
  • Output path must be workspace-relative and end in .md.
  • Do not use shell redirection for output; use --output.

Safe command pattern:

cmd=(python3 scripts/feed_to_md.py "$feed_url")
[[ -n "${output_path:-}" ]] && cmd+=(--output "$output_path")
[[ -n "${limit:-}" ]] && cmd+=(--limit "$limit")
[[ "${template:-short}" = "full" ]] && cmd+=(--template full)
"${cmd[@]}"

Script options

  • -o, --output : write markdown to file
  • --limit : max number of articles
  • --no-summary: exclude summaries
  • --summary-max-length : truncate summary length
  • --template : short (default) or full

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-03-29 08:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,838
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,365
data-analysis

todoist-orbit

myx0m0p
通过 Todoist REST API 驱动的 Python CLI 操作 Todoist,适用于需要确定性 Todoist 自动化而非聊天式自然语言交互的场景。
★ 0 📥 583