← 返回 Skills 市场
houdl

coin-news-openclaw

作者 Jason · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install coin-news-openclaw
功能描述
Collect and summarize cryptocurrency and coin market news with OpenClaw-friendly workflows. Use when users request coin news, crypto news, token-specific new...
使用说明 (SKILL.md)

Coin News OpenClaw

Collect cryptocurrency news from configurable sources, normalize the articles, score relevance, and return a structured digest that can be tuned over time.

Use This Skill When

  • The user wants a daily or on-demand crypto news digest
  • The user wants news for a specific token or narrative
  • The user wants to replace or compare against an existing Dify news workflow
  • The user wants a configurable pipeline that PA can tune later

Workflow

  1. Read references/sources.yaml to determine enabled sources and source weights.
  2. Read references/scoring.yaml to determine token aliases, topic keywords, negative keywords, and ranking logic.
  3. If deterministic collection is needed, run scripts/fetch_coin_news.py.
  4. Filter the normalized article list to the user’s requested scope.
  5. Rank articles using source weight, keyword matches, recency, and duplicate suppression.
  6. Return a short digest or a structured JSON array for downstream workflow use.

CLI Usage

# Basic usage - JSON output (default)
python3 scripts/fetch_coin_news.py --days 1

# ⭐ Markdown output with clickable links (recommended for reading)
python3 scripts/fetch_coin_news.py --days 1 --format markdown

# Limit number of articles
python3 scripts/fetch_coin_news.py --days 1 --limit 10 --format markdown

# Filter by specific tokens
python3 scripts/fetch_coin_news.py --days 1 --token BTC --token ETH

# Filter by specific topics
python3 scripts/fetch_coin_news.py --days 1 --topic etf --topic regulation

# Adjust token fetch limit (default: 100, max: 250)
python3 scripts/fetch_coin_news.py --days 1 --token-limit 50

# Disable dynamic token fetching (use only YAML config)
python3 scripts/fetch_coin_news.py --days 1 --no-dynamic-tokens

Output Formats

JSON (default)

python3 scripts/fetch_coin_news.py --days 1

Returns structured JSON for programmatic use.

Markdown (recommended for reading)

python3 scripts/fetch_coin_news.py --days 1 --format markdown

Returns formatted markdown with clickable links for each article:

## 1. [Article Title](https://example.com/article)
**来源**: CoinDesk | **时间**: 2026-03-25 | **分数**: 78
**Token**: BTC, ETH
**主题**: etf

Summary text here...
---

Time Range

  • Default: last 24 hours
  • Support explicit day windows such as:
    • recent 2 days
    • recent 3 days
    • recent 7 days
  • Support common Chinese requests such as:
    • 最近2天
    • 最近3天
    • 最近一周
    • 过去7天
  • For deterministic runs, prefer --days \x3Cn> over manually converting to hours.
  • If both --days and --hours are provided, --days takes precedence.
  • Recommended mapping:
    • 最近2天 -> --days 2
    • 最近3天 -> --days 3
    • 最近一周 -> --days 7
    • 过去7天 -> --days 7

Dynamic Token Fetching

The skill automatically fetches the top 100 tokens (by market cap) from CoinGecko API and merges them with the YAML config:

  • Source: CoinGecko API (free, no API key required)
  • Cache TTL: 24 hours (stored in scoring.yaml under dynamic_tokens)
  • Merge logic: YAML token_aliases overrides dynamic tokens (for manual tuning)
  • Disable: Use --no-dynamic-tokens to use only YAML config

Output Contract

Prefer this JSON structure for workflow handoff:

[
  {
    “title”: “Example headline”,
    “url”: “https://example.com/article”,
    “source”: “CoinDesk”,
    “published_at”: “2026-03-20T09:00:00Z”,
    “summary”: “One paragraph summary.”,
    “score”: 78,
    “matched_topics”: [“bitcoin”, “etf”],
    “matched_tokens”: [“BTC”],
    “duplicate_group_key”: “normalized-title-key”
  }
]

Tuning Rules

  • Do not hardcode source lists in prompts. Update references/sources.yaml.
  • Do not hardcode scoring logic in prompts. Update references/scoring.yaml.
  • Prefer established publications before secondary aggregators.
  • If the user asks for “latest” or “today”, prioritize the last 24 hours and show exact dates.

References

  • references/sources.yaml: source registry and weights
  • references/scoring.yaml: token aliases, topic keywords, penalties, thresholds
  • scripts/fetch_coin_news.py: deterministic RSS collector and scorer
安全使用建议
This skill appears to do what it claims: fetch RSS crypto news, score, dedupe, and output a digest. Before installing or running it, consider: 1) Run it in a sandboxed environment because it makes outbound network calls to CoinGecko and the RSS URLs listed in references/sources.yaml. 2) Ensure python3 and PyYAML (yaml) are installed (the script imports 'yaml' but the skill metadata does not declare it). 3) Review and approve the sources.yaml and scoring.yaml contents (the script will write/update references/scoring.yaml to cache dynamic tokens). 4) Inspect SKILL.md for the reported unicode control characters and replace smart quotes with standard ASCII quotes in the JSON example to avoid parsing surprises and rule out prompt-injection attempts. 5) If you require stricter controls, ask the author to: declare runtime dependencies, remove or explain any non-printable characters, and optionally add an install spec that pins trusted package versions. If these points are addressed, the skill looks coherent; if not, treat it cautiously or run it only in an isolated environment.
能力评估
Purpose & Capability
Name, description, SKILL.md workflow, included YAMLs, and the Python script all align: the skill fetches RSS feeds, uses CoinGecko for dynamic tokens, scores and deduplicates articles, and returns JSON/Markdown digests. Writing a local scoring.yaml for caching dynamic tokens is coherent with the stated behavior.
Instruction Scope
SKILL.md instructions are narrowly scoped to reading references/*.yaml, optionally running scripts/fetch_coin_news.py, ranking/filtering, and returning a digest. However, SKILL.md contains a detected prompt-injection signal (unicode-control-chars) and the JSON example includes non-ASCII/curly quotes — this could be accidental formatting or an attempt to influence downstream processing and should be reviewed.
Install Mechanism
There is no install spec (instruction-only), which minimizes install risk. However, the included Python script imports 'yaml' (PyYAML) and assumes python3; the skill metadata declares no required binaries or packages. The missing declaration of Python/PyYAML is an inconsistency the user should address (or run in an environment where PyYAML is present).
Credentials
The skill requests no environment variables, no credentials, and accesses only public RSS feeds and CoinGecko (no API key). Network access to those public endpoints is required and proportionate. The script writes/updates scoring.yaml in the skill directory to cache dynamic tokens — this local file write is expected but worth noting.
Persistence & Privilege
The skill does not request permanent/global privileges and 'always' is false. It modifies only its own scoring.yaml (caching dynamic tokens), which is consistent with its purpose and does not appear to alter other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install coin-news-openclaw
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /coin-news-openclaw 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of coin-news-openclaw. - Collects and summarizes cryptocurrency and coin market news from configurable sources. - Supports keyword relevance scoring, source weighting, deduplication, and structured JSON output. - Integrates dynamic token fetching from CoinGecko with override/merge logic via YAML. - Offers flexible time window selection and output formats (JSON/Markdown). - CLI supports filtering by token, topic, and adjustable output/limit settings.
元数据
Slug coin-news-openclaw
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

coin-news-openclaw 是什么?

Collect and summarize cryptocurrency and coin market news with OpenClaw-friendly workflows. Use when users request coin news, crypto news, token-specific new... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 coin-news-openclaw?

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

coin-news-openclaw 是免费的吗?

是的,coin-news-openclaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

coin-news-openclaw 支持哪些平台?

coin-news-openclaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 coin-news-openclaw?

由 Jason(@houdl)开发并维护,当前版本 v1.0.0。

💬 留言讨论