← 返回 Skills 市场
jaceymarvin99

Daily News

作者 JaceyMarvin99 · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
581
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install daliy-news
功能描述
Use when users need daily news summaries, current events, or want to stay informed about world news in Chinese.
使用说明 (SKILL.md)

Daily News Skill

This skill helps AI agents fetch and present daily curated news from the 60s API, which provides 15 selected news items plus a daily quote.

When to Use This Skill

Use this skill when users:

  • Ask for today's news or current events
  • Want a quick daily briefing
  • Request news summaries in Chinese
  • Need historical news from a specific date
  • Want news in different formats (text, markdown, image)

How to Use

Execute the associated scripts/news.sh script to fetch the news.

./scripts/news.sh [options] [date]

Options

  • --encoding, -e \x3Cformat>: Optional. Specifies the output response format. Valid options are text, json, markdown, image, and image-proxy. The API defaults to json if not specified.
  • --date, -d \x3CYYYY-MM-DD>: Optional. Fetch historical news for a specific date. If omitted, fetches today's news. Note: If this is the only argument provided, you can omit the --date flag entirely.

Return Values

The script securely calls the 60s API and outputs the response to stdout. Depending on the encoding parameter, the response could be a JSON string, plain text, markdown, or image URLs.

Usage Examples

# Get today's news using default API encoding (json)
./scripts/news.sh

# Get today's news in plain text format
./scripts/news.sh --encoding text

# Get news for a specific date using flags
./scripts/news.sh --date 2024-03-01

# Get news for a specific date (simplified usage without flags)
./scripts/news.sh 2024-03-01

# Get news for a specific date in markdown format
./scripts/news.sh -e markdown -d 2024-03-01

Response Format

To balance information depth with token consumption when text-based output is needed, you MUST use the following rules for the encoding parameter. Note: If image output is requested, you should still use image or image-proxy.

  1. Default Strategy (--encoding markdown)

    • When to use: By default for standard daily news inquiries.
    • Why: Provides well-structured, easy-to-read information with moderate token usage.
  2. Brief Information (--encoding text)

    • When to use: When the user explicitly requests brief or summarized news.
    • Why: Returns only essential details in plain text, saving maximum tokens.
  3. Complete Information (--encoding json)

    • When to use: Only when the user explicitly asks for raw data, detailed fields, or comprehensive data.
    • Why: Returns the complete API payload, which is highly token-heavy.

Troubleshooting

Issue: No data returned

  • Solution: Try requesting previous dates (yesterday or the day before)
  • The service tries latest 3 days automatically

Issue: Image not loading

  • Solution: Use encoding=image-proxy instead of encoding=image
  • The proxy endpoint directly returns image binary data

Issue: Old date requested

  • Solution: Data is only available for recent dates
  • Check the response status code
安全使用建议
This skill is simple and coherent, but note it makes unauthenticated network calls to https://60s.viki.moe and returns whatever that service provides. Before installing: (1) confirm you trust the 60s.viki.moe domain (external content could include unexpected text or images), (2) if you want to avoid remote images or binary data, restrict usage to text/json/markdown encodings, and (3) consider running the skill in a sandboxed environment and add caching/rate limits if used frequently. If you need stronger guarantees, ask the skill author for a trusted API source or add validation of the API response.
功能分析
Type: OpenClaw Skill Name: daliy-news Version: 0.1.0 The skill is designed to fetch daily news from a specific external API (`https://60s.viki.moe`). The `SKILL.md` file provides clear, benign instructions to the AI agent without any prompt injection attempts. The `scripts/news.sh` shell script correctly parses and, crucially, validates all user-provided inputs (`--encoding` via whitelist, `--date` via regex) before constructing the URL for the `curl` command. This robust input validation prevents shell injection vulnerabilities. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The external API call is central to the skill's stated purpose.
能力评估
Purpose & Capability
The name/description say "daily news in Chinese" and the included script queries the 60s API (https://60s.viki.moe/v2/60s) with optional encoding and date parameters — this is consistent and there are no unrelated requirements (no unexpected env vars or binaries).
Instruction Scope
SKILL.md instructs running scripts/news.sh, which only constructs a URL and performs a curl request, then writes the API response to stdout. The script does not read local files or environment variables beyond CLI args, but it returns raw remote content (JSON, markdown, image URLs or binary via proxy) without validation — so the agent should treat responses as untrusted input and be careful when rendering images or executing downstream transformations.
Install Mechanism
There is no install spec (instruction-only plus a small included bash script). Nothing is downloaded or written to disk by an installer; risk from install mechanism is minimal.
Credentials
No environment variables, credentials, or config paths are requested. Network access to the external API is required, which is proportionate to a news-fetching skill. There are no extra or unrelated secrets requested.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skills/config. It does not store tokens or change system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daliy-news
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daliy-news 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the daily-news skill for fetching daily curated news summaries in Chinese. - Supports fetching today's or historical news, with options for output in text, markdown, image, or JSON formats. - Provides 15 selected news items and a daily quote per request. - Flexible usage via the `news.sh` script with optional arguments for date and encoding. - Includes detailed usage instructions and troubleshooting tips in SKILL.md.
元数据
Slug daliy-news
版本 0.1.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

Daily News 是什么?

Use when users need daily news summaries, current events, or want to stay informed about world news in Chinese. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 581 次。

如何安装 Daily News?

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

Daily News 是免费的吗?

是的,Daily News 完全免费(开源免费),可自由下载、安装和使用。

Daily News 支持哪些平台?

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

谁开发了 Daily News?

由 JaceyMarvin99(@jaceymarvin99)开发并维护,当前版本 v0.1.0。

💬 留言讨论