← Back to Skills Marketplace
markdown777

Global Economy Daily

by markdown777 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
75
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install global-economy-daily
Description
Automatically generate and send daily global economic insights reports with market data, geopolitical news, and outlooks via QQ or Feishu.
README (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使用纯文本富媒体格式
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install global-economy-daily
  3. After installation, invoke the skill by name or use /global-economy-daily
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug global-economy-daily
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Global Economy Daily?

Automatically generate and send daily global economic insights reports with market data, geopolitical news, and outlooks via QQ or Feishu. It is an AI Agent Skill for Claude Code / OpenClaw, with 75 downloads so far.

How do I install Global Economy Daily?

Run "/install global-economy-daily" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Global Economy Daily free?

Yes, Global Economy Daily is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Global Economy Daily support?

Global Economy Daily is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Global Economy Daily?

It is built and maintained by markdown777 (@markdown777); the current version is v1.0.0.

💬 Comments