← 返回
开发者工具 Key

Miniflux News

Fetch and triage the latest unread RSS/news entries from a Miniflux instance via its REST API using an API token. Use when the user asks to get the latest Miniflux unread items, list recent entries with titles/links, or generate short summaries of specific Miniflux entries. Includes a bundled script to query Miniflux (/v1/entries and /v1/entries/{id}) using credentials from ~/.config/clawdbot/miniflux-news.json (or MINIFLUX_URL and MINIFLUX_TOKEN overrides).
通过REST API使用API令牌从Miniflux实例获取并筛选最新的未读RSS/新闻条目。当用户请求获取最新的Miniflux未读项目、列出近期条目(标题/链接)或生成特定Miniflux条目的简短摘要时使用。包含一个 bundled 脚本用于查询Miniflux(/v1/entries 和 /v1/entries/{id}),使用 ~/.config/clawdbot/miniflux-news.json 中的凭据(或 MINIFLUX_URL 和 MINIFLUX_TOKEN 环境变量覆盖)。
hartlco
开发者工具 clawhub v0.1.0 1 版本 99151 Key: 需要
★ 1
Stars
📥 3,250
下载
💾 257
安装
1
版本
#latest

概述

Miniflux News

Use the bundled script to fetch entries, then format a clean list and optionally write summaries.

Setup (credentials)

This skill reads Miniflux credentials from a local config file by default.

Config file (recommended)

Path:

  • ~/.config/clawdbot/miniflux-news.json

Format:

{
  "url": "https://your-miniflux.example",
  "token": "<api-token>"
}

Create/update it using the script:

python3 skills/miniflux-news/scripts/miniflux.py configure \
  --url "https://your-miniflux.example" \
  --token "<api-token>"

Environment variables (override)

You can override the config file (useful for CI):

export MINIFLUX_URL="https://your-miniflux.example"
export MINIFLUX_TOKEN="<api-token>"

Token scope: Miniflux API token with read access.

Fetch latest entries

List latest unread items (default):

python3 skills/miniflux-news/scripts/miniflux.py entries --limit 20

Filter by category (by name):

python3 skills/miniflux-news/scripts/miniflux.py entries --category "News" --limit 20

If you need machine-readable output:

python3 skills/miniflux-news/scripts/miniflux.py entries --limit 50 --json

Response formatting

  • Return a tight bullet list: [id] title — feed + link.
  • Ask how many the user wants summarized (e.g., “summarize 3” or “summarize ids 123,124”).

View full content

Show the full article content stored in Miniflux (useful for reading or for better summaries):

python3 skills/miniflux-news/scripts/miniflux.py entry 123 --full --format text

If you want the raw HTML as stored by Miniflux:

python3 skills/miniflux-news/scripts/miniflux.py entry 123 --full --format html

Categories

List categories:

python3 skills/miniflux-news/scripts/miniflux.py categories

Mark entries as read (explicit only)

This skill must never mark anything as read implicitly. Only do it when the user explicitly asks to mark specific ids as read.

Mark specific ids as read:

python3 skills/miniflux-news/scripts/miniflux.py mark-read 123 124 --confirm

Mark all unread entries in a category as read (still explicit, requires --confirm; includes a safety --limit):

python3 skills/miniflux-news/scripts/miniflux.py mark-read-category "News" --confirm --limit 500

Summarize entries

Fetch full content for a specific entry id (machine-readable):

python3 skills/miniflux-news/scripts/miniflux.py entry 123 --json

Summarization rules:

  • Prefer 3–6 bullets max.
  • Lead with the “so what” in 1 sentence.
  • If content is empty or truncated, say so and summarize from title + available snippet.
  • Don’t invent facts; quote key numbers/names if present.

Troubleshooting

  • If the script says missing credentials: set MINIFLUX_URL/MINIFLUX_TOKEN or create ~/.config/clawdbot/miniflux-news.json.
  • If you get HTTP 401: token is wrong/expired.
  • If you get HTTP 404: base URL is wrong (should be the Miniflux web root).

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-28 11:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,021
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,791