← 返回 Skills 市场
kedoupi

News Source Manager (信息源管理器)

作者 KeDouPi(珂抖屁) · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
157
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install news-source-manager
功能描述
Manages user's news category preferences and information sources. Stores in news-sources.json, supports add/remove/list operations. Use when (1) user wants t...
使用说明 (SKILL.md)

News Source Manager (信息源管理器)

Purpose: 集中管理用户的新闻兴趣类别和信息源。纯配置管理,不涉及搜索执行。


📂 Data Structure

Stores in: ~/.openclaw/workspace/memory/news-sources.json

{
  "categories": [
    {
      "name": "AI/Tech",
      "keywords": ["AI", "machine learning", "LLM", "GPT", "tech trends", "AI agents", "semiconductor"],
      "sources": [
        {"name": "TechCrunch", "url": "techcrunch.com", "priority": 1},
        {"name": "MIT Technology Review", "url": "technologyreview.com", "priority": 1},
        {"name": "Ars Technica", "url": "arstechnica.com", "priority": 2}
      ],
      "active": true,
      "search_params": {
        "freshness": "day",
        "count": 5
      }
    }
  ],
  "last_updated": "2026-03-23T15:20:00+08:00",
  "user_confirmed": true
}

字段说明:

  • keywords: 类别关键词,用于搜索后覆盖度评估——insight-radar 用它们判断宽泛搜索是否遗漏了重要子领域,决定是否补搜
  • sources: 优先信息源,priority 1 = 核心权威,priority 2 = 补充
  • search_params.count: 每次搜索返回结果数

🔧 Operations

1. Initialize (首次使用)

When: 用户首次使用 insight-radar,或 news-sources.json 不存在

Steps:

  1. 检测 config 缺失
  2. 询问用户关注的类别:
    我为你准备了常见类别:
    1. AI/Tech (AI、科技趋势)
    2. Business Strategy (商业战略、管理)
    3. Finance/Crypto (金融、加密货币)
    4. Health/Bio (医疗、生物科技)
    5. Energy/Climate (能源、气候科技)
    6. Policy/Regulation (政策、监管)
    7. Product Design (产品设计、UX)
    
    你对哪些感兴趣?(多选用逗号分隔,如: 1,2,3)
    或者告诉我你的自定义类别。
    
  3. 用户选择后,从 references/keyword-templates.json 加载对应类别的默认 keywords、sources 和 search_hints
  4. 展示推荐信息源,用户确认或修改
  5. 写入 news-sources.json
  6. 确认: "✅ 配置已保存!"

2. List Current Config

Trigger: "我的新闻配置是什么" / "show my news sources"

Steps:

  1. 读取 news-sources.json
  2. 展示:
    📰 你的新闻配置
    
    ✅ AI/Tech (启用)
       搜索提示: latest AI technology news LLM agents
       信息源: TechCrunch, MIT Tech Review, Ars Technica
    
    ⏸️ Finance/Crypto (未启用)
       信息源: Bloomberg, CoinDesk
    
    最后更新: 2026-03-23
    
  3. 询问是否需要修改

3. Add Category

Trigger: "添加新闻类别: 产品设计" / "add category: UX design"

Steps:

  1. 提取类别名
  2. 如果匹配默认模板(references/keyword-templates.json),加载默认 keywords 和 sources
  3. 如果是自定义类别,引导用户设置:
    • keywords(用于搜索后覆盖度评估,建议涵盖该类别的 3-4 个子领域)
    • sources(推荐信息源)
  4. 用户确认后写入 news-sources.json
  5. 确认: "✅ 已添加 '产品设计' 类别。"

keywords 编写指南:

  • 覆盖该类别的主要子领域(3-4 个方向)
  • insight-radar 用 keywords 评估搜索结果覆盖度,发现盲区后自动补搜
  • 示例 (AI/Tech): AI, LLM, AI agents, semiconductor, robotics, AI safety

4. Remove Category

Trigger: "删除类别: Finance" / "disable crypto news"

Steps:

  1. 找到匹配类别
  2. 确认: "⚠️ 确认删除 'Finance/Crypto' 类别吗?"
  3. 用户确认后设置 active: false(或删除)
  4. 确认: "✅ 已删除。"

5. Modify Sources

Trigger: "TechCrunch质量不行,换成The Verge" / "add source: Hacker News"

Steps:

  1. 解析意图: 移除/添加/替换
  2. 找到受影响类别
  3. 展示 before/after 对比
  4. 用户确认后更新 news-sources.json
  5. 确认: "✅ 信息源已更新。"

6. Export Config (供 insight-radar 调用)

Trigger: insight-radar 加载配置时调用

Steps:

  1. 读取 news-sources.json
  2. 过滤 active: true 的类别
  3. 返回结构化数据:
    {
      "active_categories": [
        {
          "name": "AI/Tech",
          "keywords": ["AI", "machine learning", "LLM", "AI agents", "semiconductor"],
          "sources": ["TechCrunch", "MIT Tech Review"],
          "search_params": {"count": 5}
        }
      ]
    }
    

🧠 Default Category Templates

完整关键词和信息源列表见 keyword-templates.json

以下为各类别摘要:

Category 核心关键词(用于覆盖度评估) Default Sources
AI/Tech AI, LLM, AI agents, semiconductor, robotics, AI safety TechCrunch, MIT Tech Review, The Verge
Business Strategy M&A, disruption, SaaS, digital transformation, startup McKinsey, HBR, WSJ, Bloomberg
Finance/Crypto VC, IPO, bitcoin, DeFi, macroeconomics, fintech Bloomberg, CoinDesk, FT, Reuters
Health/Bio biotech, clinical trials, CRISPR, digital health, medical AI STAT News, Nature, NEJM, Fierce Biotech
Energy/Climate renewable, battery, EV, carbon capture, hydrogen, nuclear Canary Media, CleanTechnica, Carbon Brief
Policy/Regulation AI regulation, antitrust, GDPR, AI Act, cybersecurity Politico, Bloomberg Gov, Lawfare
Product Design UX, UI, design system, accessibility, Figma, user research Nielsen Norman, Smashing Magazine

keywords 角色: insight-radar 搜索后用 keywords 评估覆盖度,发现盲区自动补搜。不再作为搜索词。

安全使用建议
This skill appears to do only local configuration management (storing your news categories and source lists in ~/.openclaw/workspace/memory/news-sources.json) and does not ask for credentials or install software. Before installing, consider: (1) review the stored JSON contents if you have privacy concerns—preferences and chosen sources are persisted locally; (2) check any downstream skills (like insight-radar) that will read this config, because those skills may perform network searches or send data externally; and (3) if you share your OpenClaw workspace, be aware other users or skills with access to that workspace can read the file. Otherwise, the skill is coherent and proportional to its stated purpose.
功能分析
Type: OpenClaw Skill Name: news-source-manager Version: 1.0.2 The news-source-manager skill is a configuration tool designed to manage user news preferences and trusted sources. It operates by reading and writing a JSON configuration file in the local workspace (~/.openclaw/workspace/memory/news-sources.json) and provides the agent with structured instructions for adding, removing, and listing news categories. The bundle contains no executable code, only Markdown instructions and a comprehensive reference file (references/keyword-templates.json) of legitimate news domains and keywords, with no evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
The name/description claim to manage news categories and sources; the SKILL.md only reads/writes ~/.openclaw/workspace/memory/news-sources.json and loads defaults from the included references/keyword-templates.json. No unrelated environment variables, binaries, or services are required.
Instruction Scope
Runtime instructions are narrowly scoped: initialize, list, add, remove, modify, and export the local news-sources.json. The skill does not instruct reading system-wide configs, secrets, or external endpoints beyond returning structured data to other local skills (e.g., insight-radar).
Install Mechanism
This is instruction-only with no install spec and no code files to write or execute. No downloads, extracts, or package installs are performed by the skill itself.
Credentials
requires.env is empty and the SKILL.md does not request credentials. The only persistent artifact is a JSON file under the user's OpenClaw workspace, which is appropriate for a preferences/configuration manager.
Persistence & Privilege
always is false and the skill does not request elevated or cross-skill configuration changes. It persists only its own config file in the user's workspace. Note: autonomous invocation is allowed by default (disable-model-invocation: false), which is expected for skills and not in itself a concern here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install news-source-manager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /news-source-manager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
## v1.0.2 — Source Quality Optimization ### Fixed - Removed duplicate: GTM (same URL as Greentech Media) - Removed duplicate: UX Design (same URL as UX Collective) - Removed defunct: Protocol (shut down in 2022) ### Added 9 new sources (all verified via WebSearch) - **AI/Tech**: a16z AI (P1) — VC industry analysis - **Business Strategy**: Benedict Evans (P1), Stratechery (P1) — macro trends + tech business strategy - **Finance/Crypto**: Morningstar (P1), Seeking Alpha (P2) — investment research + market analysis - **Energy/Climate**: Bloomberg NEF (P1) — energy transition data & forecasts - **Policy/Regulation**: CSET Georgetown (P1), AI Now Institute (P2) — AI national security + governance - **Product Design**: Lenny's Newsletter (P1) — PM strategy & product thinking ### Source counts by category AI/Tech 8 | Business Strategy 10 | Finance/Crypto 12 | Health/Bio 10 | Energy/Climate 8 | Policy/Regulation 10 | Product Design 9
v1.0.1
- Adds support for default news category templates loaded from references/keyword-templates.json. - Improves category initialization: default keywords and information sources now auto-populate from the new template file. - Updates documentation to clarify the role of keywords (for coverage evaluation, not search terms). - Adds concise guidelines for custom keyword writing. - Minor adjustments to data field descriptions and operation steps for clarity.
v1.0.0
Initial release of News Source Manager for customized news category and source management. - Enables users to add, remove, and list preferred news categories and sources. - Stores user preferences in `news-sources.json` with support for active/inactive categories. - Interactive setup guides users to select categories, keywords, and trusted sources. - Supports real-time modifications, including source replacement and disabling categories. - Provides structured configuration export for use by insight-radar skill.
元数据
Slug news-source-manager
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

News Source Manager (信息源管理器) 是什么?

Manages user's news category preferences and information sources. Stores in news-sources.json, supports add/remove/list operations. Use when (1) user wants t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 157 次。

如何安装 News Source Manager (信息源管理器)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install news-source-manager」即可一键安装,无需额外配置。

News Source Manager (信息源管理器) 是免费的吗?

是的,News Source Manager (信息源管理器) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

News Source Manager (信息源管理器) 支持哪些平台?

News Source Manager (信息源管理器) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 News Source Manager (信息源管理器)?

由 KeDouPi(珂抖屁)(@kedoupi)开发并维护,当前版本 v1.0.2。

💬 留言讨论