Macro Analyst for Openclaw

A comprehensive economic analysis toolkit for fetching and synthesizing GDP, CPI, PMI, and global market data.

lanyasheng
v1.0.0
Mar 2, 2026
1
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install macro-analyst

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install macro-analyst using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Macro Analyst?

The Macro Analyst skill is a sophisticated toolkit designed to empower AI agents with deep economic intelligence. By leveraging the AKShare library, this skill enables the automated retrieval and analysis of critical macro indicators, including GDP growth, inflation metrics (CPI), manufacturing health (PMI), and money supply (M2).

Integrating these Openclaw Skills allows developers to create agents that can interpret complex economic cycles and market trends. The skill bridges the gap between raw financial data and actionable insights, making it an essential component for any AI-driven financial research or trading environment.

Macro Analyst Use Cases

  • Automating the creation of daily macro-economic market summaries and outlooks.
  • Conducting sectoral rotation analysis based on aggregated corporate earnings and industry performance.
  • Monitoring real-time global market trends and exchange rate fluctuations.
  • Predicting market risks by analyzing historical trends in economic data such as CPI and interest rates.

How Macro Analyst Works

  1. Data Acquisition: The skill executes specialized Python scripts to fetch economic indicators like GDP, CPI, and PMI from financial data providers.
  2. Contextualization: Global market overviews are retrieved to provide a macro backdrop for regional data.
  3. Corporate Synthesis: The system pulls earnings reports and industry data to analyze how macro trends affect specific business sectors.
  4. Reporting: The agent synthesizes the collected data into structured daily or weekly reports, highlighting risks and future expectations.

Macro Analyst Setup

To utilize this skill within your Openclaw Skills environment, ensure you have Python 3.12 and the AKShare library installed. Use the following commands to fetch specific datasets:

# Fetch GDP or CPI data
python3.12 skills/akshare-finance/scripts/macro_data.py gdp
python3.12 skills/akshare-finance/scripts/macro_data.py cpi

# Fetch industry earnings reports
python3.12 skills/akshare-finance/scripts/earnings.py industry

# Get global market overview
python3.12 workspace-trading/skills/trading-quant/scripts/quant.py global_overview

Macro Analyst Data Schema & Taxonomy

The Macro Analyst skill organizes data into several key technical domains to ensure clarity in reporting:

Indicator Type Frequency Command Argument
GDP Quarterly gdp
Inflation & Manufacturing Monthly cpi, pmi
Money Supply Monthly m2
Corporate Reports Seasonal report, earnings
Global Markets Real-time global_overview

Macro Analyst Advanced Features

  • Seamless multi-agent collaboration, allowing the Macro Analyst to pass data to trading agents for deep-dive stock analysis.
  • Automated industry rotation logic that synthesizes corporate performance with macro-economic shifts.
  • Direct integration with the Bank of China (BOC) and Sina Finance for real-time exchange rate monitoring.
  • Integrated forecasting workflows for generating structured weekly risk assessments and economic outlooks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*