← 返回 Skills 市场
lanyasheng

Macro Analyst

作者 _silhouette · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1016
总下载
1
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install macro-analyst
功能描述
宏观经济分析工具集 - 基于AKShare的GDP/CPI/PMI/利率/汇率数据
使用说明 (SKILL.md)

Macro Analyst — 宏观经济分析

数据获取

中国宏观

PYTHON=python3.12
SCRIPT=skills/akshare-finance/scripts/macro_data.py

# GDP (季度)
$PYTHON $SCRIPT gdp

# CPI (月度)
$PYTHON $SCRIPT cpi

# PMI (月度)
$PYTHON $SCRIPT pmi

# M2货币供应 (月度)
$PYTHON $SCRIPT m2

个股财报 (行业聚合分析用)

$PYTHON skills/akshare-finance/scripts/earnings.py report 600519
$PYTHON skills/akshare-finance/scripts/earnings.py earnings
$PYTHON skills/akshare-finance/scripts/earnings.py industry

全球市场

# 全球市场概览 (via quant.py)
$PYTHON workspace-trading/skills/trading-quant/scripts/quant.py global_overview

汇率

# 使用 akshare 直接调用
import akshare as ak
ak.currency_boc_sina()  # 中国银行汇率

分析框架

宏观日报流程

  1. 获取 global_overview → 全球市场概况
  2. 获取 GDP/CPI/PMI → 经济趋势判断
  3. 检查 earnings → 季度业绩预告趋势
  4. 综合分析 → 宏观展望

宏观周报流程

  1. 本周全球市场回顾 (global_overview)
  2. 宏观数据对比 (GDP/CPI/PMI 趋势)
  3. 行业轮动分析 (industry)
  4. 下周展望与风险提示

与其他 Agent 的协作

  • 个股深度分析 → 交给 trading
  • AI 行业趋势 → 交给 ainews
  • Macro 关注: 政策影响、经济周期、行业估值
安全使用建议
This skill's SKILL.md expects python3.12, the akshare package, and several local scripts under paths like skills/akshare-finance/... and workspace-trading/..., but those scripts and dependencies are not included or declared. Before installing or enabling it, ask the publisher for: (1) the repository or package that contains the referenced scripts, (2) an explicit dependency list (Python version, pip packages like akshare), and (3) confirmation that running those scripts won't read or modify unrelated workspace files. If you can't get that, only run this skill in a sandboxed environment or decline it — otherwise the agent may search for and execute code from other projects on your system.
功能分析
Type: OpenClaw Skill Name: macro-analyst Version: 1.0.0 The skill bundle appears benign. The `SKILL.md` file outlines a macro-economic analysis tool, instructing the OpenClaw agent to execute local Python scripts (e.g., `macro_data.py`, `earnings.py`, `quant.py`) and directly use the `akshare` Python library to fetch financial data. All described actions, such as retrieving GDP, CPI, PMI, M2, earnings reports, and global market overviews, align with the stated purpose of a 'Macro Analyst'. There is no evidence of prompt injection, data exfiltration, malicious execution, persistence mechanisms, or obfuscation within the provided content.
能力评估
Purpose & Capability
The description says this is an AKShare-based macro data/analysis skill, which reasonably requires Python and the akshare package. However the registry metadata declares no required binaries or dependencies. The SKILL.md explicitly expects python3.12 and akshare, so required tooling is missing from the manifest. The instructions also call scripts in other directories (e.g., skills/akshare-finance/scripts/..., workspace-trading/skills/trading-quant/...), which suggests cross-skill filesystem coupling not declared in the skill's purpose.
Instruction Scope
Runtime instructions tell the agent to execute specific local scripts and import akshare. Those scripts are not included in this skill's bundle, so following the instructions would cause the agent to search for/execute files elsewhere in the workspace. That gives the skill broad discretion to access unrelated files and code paths (and possibly sensitive local data) despite the skill not declaring such access.
Install Mechanism
There is no install spec (instruction-only), so nothing will be written to disk by the skill itself. That's lower risk, but the SKILL.md expects python3.12 and the akshare Python library without declaring them or providing an install path; missing dependency declarations reduce coherence and increase operational risk if the agent attempts to run commands that aren't available.
Credentials
The skill requests no environment variables or credentials, which is consistent with a read-only data analysis tool. However, it will likely require network access to fetch data via akshare and may indirectly read local files (the referenced scripts), neither of which are reflected in the manifest.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. It does not declare any self-modifying or cross-skill configuration behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install macro-analyst
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /macro-analyst 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始发布: 宏观经济分析Skill
元数据
Slug macro-analyst
版本 1.0.0
许可证
累计安装 5
当前安装数 5
历史版本数 1
常见问题

Macro Analyst 是什么?

宏观经济分析工具集 - 基于AKShare的GDP/CPI/PMI/利率/汇率数据. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1016 次。

如何安装 Macro Analyst?

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

Macro Analyst 是免费的吗?

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

Macro Analyst 支持哪些平台?

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

谁开发了 Macro Analyst?

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

💬 留言讨论