← 返回 Skills 市场
markdown777

Global Economy Daily

作者 markdown777 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
75
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install global-economy-daily
功能描述
Automatically generate and send daily global economic insights reports with market data, geopolitical news, and outlooks via QQ or Feishu.
使用说明 (SKILL.md)

全球经济每日洞察日报(Global Economy Daily Insight)

功能

每日自动生成并推送全球经济洞察日报,支持以下推送渠道:

  • QQ(主要渠道)
  • 飞书(Feishu)

日报包含以下板块:

  1. 全球股指 — 美股、欧股、亚太主要指数,含当日涨跌幅 + 归因分析
  2. 大宗商品 — WTI原油、布伦特、黄金、白银,含归因分析
  3. 外汇与债券 — 美元指数、美债10Y、离岸人民币、欧元/美元,含归因分析
  4. 加密货币 — 比特币等,含归因分析
  5. 时政要闻 — 近期重大地缘政治事件时间线 + 各方立场 + 影响研判
  6. 综合展望 — 一句话市场研判

推送格式

🌏 全球经济每日洞察
📅 {日期}({星期}){时间}
📡 数据来源:Yahoo Finance(实时)

━━━━━━━━━━━━━━━━━━━━

📊 全球股指
🇺🇸 美股(隔夜):
├ 标普500  {price}  {arrow} {change}%
📌 归因:{analysis}

🌏 亚太:
├ 日经225  {price}  {arrow} {change}%
📌 归因:{analysis}

...(各板块同理)

🌐 时政要闻 · {事件名称}
📌 事件时间线:
🗓️ {日期1}
  · {事件}
🗓️ {日期2}
  · {事件}
...
📌 各方立场:
🇺🇸 美国:{position}
🇮🇷 伊朗:{position}
...
📌 影响研判:
{analysis}

💡 综合展望:
{outlook}

━━━━━━━━━━━━━━━━━━━━
🤖 由 OpenClaw 自动生成 | 明日 07:00 准时推送

手动发送

python3 global_economy_daily.py

或直接对话中发送 "发送每日洞察" 即可手动触发。

定时任务配置

macOS(LaunchAgents)

创建 ~/Library/LaunchAgents/com.qclaw.global-economy-daily.plist

\x3C?xml version="1.0" encoding="UTF-8"?>
\x3C!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
\x3Cplist version="1.0">
\x3Cdict>
    \x3Ckey>Label\x3C/key>\x3Cstring>com.qclaw.global-economy-daily\x3C/string>
    \x3Ckey>ProgramArguments\x3C/key>
    \x3Carray>
        \x3Cstring>/usr/bin/python3\x3C/string>
        \x3Cstring>{SKILL_PATH}/scripts/global_economy_daily.py\x3C/string>
    \x3C/array>
    \x3Ckey>StartCalendarInterval\x3C/key>
    \x3Cdict>
        \x3Ckey>Hour\x3C/key>\x3Cinteger>7\x3C/integer>
        \x3Ckey>Minute\x3C/key>\x3Cinteger>0\x3C/integer>
    \x3C/dict>
    \x3Ckey>RunAtLoad\x3C/key>\x3Ctrue/>
\x3C/dict>
\x3C/plist>
# 加载定时任务
launchctl load ~/Library/LaunchAgents/com.qclaw.global-economy-daily.plist

配置文件

修改 scripts/config.py 来自定义:

  • 推送渠道(channel = "qqbot" 或 "feishu")
  • 推送时间
  • 自定义归因分析逻辑
  • 数据源偏好

依赖

  • Python 3.x
  • 无需额外 pip 包(使用标准库 urllib 请求 Yahoo Finance API)

文件结构

global-economy-daily/
├── SKILL.md
├── _meta.json
├── scripts/
│   ├── global_economy_daily.py   # 主脚本
│   └── config.py                  # 配置文件
└── templates/
    └── report_template.md         # 报告模板(参考)

注意事项

  • 时政板块默认监控美伊霍尔木兹危机,可扩展为多个地缘事件并行追踪
  • Yahoo Finance API 偶尔返回 None 历史数据,脚本有容错处理
  • 飞书推送使用卡片消息格式,QQ使用纯文本富媒体格式
安全使用建议
Key things to consider before installing or running this skill: - The code generates a report but does NOT actually send it; the message-sending call is commented out. If you expect automated pushes, ask the author or inspect/implement a safe message-sending path before enabling scheduling. - The instructions tell you to edit scripts/config.py, but the main script doesn't import that file — confirm and fix this mismatch so you control the target and behavior. - A QQ target identifier is hardcoded. Remove or replace it with your own target and ensure any push code requires explicit credentials (and doesn't leak data to unknown recipients). - No credentials are requested; if you wire up push functionality you will need to supply auth tokens — prefer storing these in secure environment variables or platform secrets, not in plaintext config files. - The SKILL.md references a templates/ file that is not present; verify completeness with the author. - Run the script locally first (it currently only prints the report) and review network calls (only Yahoo Finance is used) before enabling any scheduled task. If you want help patching the code to use the config file and to require explicit, securely stored credentials for QQ/Feishu, ask for a code review or a safe implementation guide.
能力评估
Purpose & Capability
The declared purpose is to generate AND send reports to QQ/Feishu. The repository contains a report generator, but there is no working push implementation: the main script prints the report and has a commented TODO for sending (message call is commented out). The SKILL.md and scripts/config.py tell the user to configure push channels/targets, yet global_economy_daily.py defines its own CHANNEL/TARGET and does not import scripts/config.py — a clear mismatch. The template file referenced in SKILL.md (templates/report_template.md) is also absent from the manifest.
Instruction Scope
Runtime instructions ask the user to edit scripts/config.py and to install a macOS LaunchAgent to schedule pushes; however the executable script ignores that config file, so following the instructions will not produce the intended push behavior. The code only performs network requests to Yahoo Finance to fetch market data (expected). There is no instruction or code that reads unrelated system files or environment secrets.
Install Mechanism
No install spec or external downloads are present; this is instruction/code-only and uses only Python standard library (urllib). That minimizes supply-chain risk — nothing is auto-downloaded or executed outside the repository.
Credentials
The skill declares no required environment variables or credentials, but to actually send messages to QQ or Feishu it would need authentication (not declared). Additionally, a QQ target identifier (QQ_TARGET / TARGET) is hardcoded in scripts/config.py and in the main script — this is a privacy/operational concern because a default recipient is baked into the code. The fact that credentials are neither requested nor used is inconsistent with the stated push functionality.
Persistence & Privilege
The skill does not request persistent system privileges and is not set to always:true. SKILL.md suggests creating a user LaunchAgent to schedule the script — that is a user action (normal). The skill does not attempt to modify other skills or system-wide settings on its own.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install global-economy-daily
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /global-economy-daily 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Global Economy Daily Insight skill initial release: - Automatically generates and pushes a daily global economic insights report to QQ and Feishu (Feishu). - Covers global stock indices, commodities, forex & bonds, cryptocurrencies, geopolitics, and one-line market outlook. - Customizable notification schedule (default 07:00 daily); supports manual triggering. - Uses Yahoo Finance API (no external dependencies required). - Configurable channels, timing, analysis templates, and data preferences. - Includes error handling for occasional missing Yahoo Finance data and supports flexible geopolitical event tracking.
元数据
Slug global-economy-daily
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Global Economy Daily 是什么?

Automatically generate and send daily global economic insights reports with market data, geopolitical news, and outlooks via QQ or Feishu. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 75 次。

如何安装 Global Economy Daily?

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

Global Economy Daily 是免费的吗?

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

Global Economy Daily 支持哪些平台?

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

谁开发了 Global Economy Daily?

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

💬 留言讨论