← Back to Skills Marketplace
lanyasheng

Macro Analyst

by _silhouette · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1016
Downloads
1
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install macro-analyst
Description
宏观经济分析工具集 - 基于AKShare的GDP/CPI/PMI/利率/汇率数据
README (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 关注: 政策影响、经济周期、行业估值
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install macro-analyst
  3. After installation, invoke the skill by name or use /macro-analyst
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始发布: 宏观经济分析Skill
Metadata
Slug macro-analyst
Version 1.0.0
License
All-time Installs 5
Active Installs 5
Total Versions 1
Frequently Asked Questions

What is Macro Analyst?

宏观经济分析工具集 - 基于AKShare的GDP/CPI/PMI/利率/汇率数据. It is an AI Agent Skill for Claude Code / OpenClaw, with 1016 downloads so far.

How do I install Macro Analyst?

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

Is Macro Analyst free?

Yes, Macro Analyst is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Macro Analyst support?

Macro Analyst is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Macro Analyst?

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

💬 Comments