← 返回
安全合规 中文

feed-diet

Audit your information diet across HN and RSS feeds — beautiful reports with category breakdowns, ASCII charts, and personalized recommendations.
审计您在HN和RSS上的信息摄入——生成包含分类统计、ASCII图表和个性化推荐的精美报告。
tkuehnl
安全合规 clawhub v0.2.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 969
下载
💾 11
安装
1
版本
#latest

概述

🍽️ Feed Diet

Audit your information diet and get a gorgeous report showing what you actually consume.

Trigger

Activate when the user mentions any of:

  • "feed diet"
  • "information diet"
  • "audit my feeds"
  • "what am I reading"
  • "analyze my HN"
  • "reading habits"
  • "content diet"
  • "feed report"

Instructions

Audit Mode (default)

  1. Determine the data source. Ask the user for one of:
    • A Hacker News username (e.g., "tosh")
    • An OPML file path containing RSS feed subscriptions
  1. Fetch the content. Run the appropriate fetch script:

```bash

# For HN:

bash "$SKILL_DIR/scripts/hn-fetch.sh" USERNAME 100

# For OPML:

bash "$SKILL_DIR/scripts/opml-parse.sh" /path/to/feeds.opml

```

  1. Classify items. Pipe the fetched items through the classifier:

```bash

cat items.jsonl | bash "$SKILL_DIR/scripts/classify.sh" > classified.jsonl

```

The classifier uses LLM (if ANTHROPIC_API_KEY or OPENAI_API_KEY is set) or falls back to keyword matching.

  1. Generate the report. Run the main entry point:

```bash

bash "$SKILL_DIR/scripts/feed-diet.sh" audit --hn USERNAME --limit 100

```

  1. Present the report to the user. The output is Markdown — render it directly.

Digest Mode (weekly curated reading)

When the user wants a filtered reading list based on their goals:

bash "$SKILL_DIR/scripts/feed-diet.sh" digest --hn USERNAME --goal "systems programming, distributed systems" --days 7

Quick Reference

CommandDescription
----------------------
feed-diet audit --hn USERFull diet audit for an HN user
feed-diet audit --opml FILEFull diet audit from RSS feeds
feed-diet digest --hn USER --goal "X"Weekly digest filtered by goals

Notes for the Agent

  • Be conversational. After presenting the report, offer observations like "Looks like you're heavy on news — want me to suggest some deeper technical feeds?"
  • Suggest the digest mode if the user seems interested in filtering their reading.
  • The report is the star. Don't summarize it — present it in full. It's designed to be screenshot-worthy.
  • If classification seems off, mention that setting an LLM API key improves accuracy.

Discord v2 Delivery Mode (OpenClaw v2026.2.14+)

When the conversation is happening in a Discord channel:

  • Send a compact first summary (top category, diversity score, top 2 recommendations), then ask if the user wants the full report.
  • Keep the first response under ~1200 characters and avoid wide category tables in the first message.
  • If Discord components are available, include quick actions:
  • Show Full Diet Report
  • Generate Weekly Digest
  • Show Recommendations
  • If components are not available, provide the same follow-ups as a numbered list.
  • Prefer short follow-up chunks (<=15 lines per message) when sharing long reports.

References

  • scripts/feed-diet.sh — Main entry point
  • scripts/hn-fetch.sh — Hacker News story fetcher
  • scripts/opml-parse.sh — OPML/RSS feed parser
  • scripts/classify.sh — Batch content classifier (LLM + fallback)
  • scripts/common.sh — Shared utilities and formatting

Examples

Example 1: HN Audit

User: "Audit my HN reading diet — my username is tosh"

Agent runs:

bash "$SKILL_DIR/scripts/feed-diet.sh" audit --hn tosh --limit 50

Output: A full Markdown report with category breakdown table, top categories with sample items, surprising finds, and recommendations.

Example 2: Weekly Digest

User: "Give me a digest of what's relevant to my work on compilers and programming languages"

Agent runs:

bash "$SKILL_DIR/scripts/feed-diet.sh" digest --hn tosh --goal "compilers, programming languages, parsers" --days 7

Output: A curated reading list of 10-20 items ranked by relevance to the user's goals.

Example 3: RSS Feed Audit

User: "Here's my OPML file, tell me what my feed diet looks like"

Agent runs:

bash "$SKILL_DIR/scripts/feed-diet.sh" audit --opml /path/to/feeds.opml

版本历史

共 1 个版本

  • v0.2.1 当前
    2026-03-29 08:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

kube-medic

tkuehnl
Kubernetes集群分诊与诊断 — 通过kubectl实现即时AI驱动的事故分诊
★ 3 📥 1,420
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 265,993
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,684