macro-intelligence

macro-intelligence is a skill for Claude Code from okx/plugin-store. It costs 30 tokens per session (4,164 once invoked), scanned A, original, MIT.

A service that gathers macroeconomic news and market context from seven sources, classifies events, scores sentiment, and exposes the results through an HTTP API. Macroeconomic data covers broad conditions such as inflation, interest rates, and market mood.

In plain words
What is it for?
For collecting news, detecting significant changes, extracting tokens, generating insights, and serving signals through an API. It does not make trades.
Why use it?
It combines scattered feeds and filters them into consistent signals for other tools to use.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the macro-intelligence plugin — 1 skill shipped together

Good fit For collecting news, detecting significant changes, extracting tokens, generating insights, and serving signals through an API. It does not make trades.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okx/plugin-store/macro-intelligence
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add okx/plugin-store --skill macro-intelligence
Clone the repo
git clone --depth 1 https://github.com/okx/plugin-store

Made for: Claude Code.

Or install macro-intelligence, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for macro-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/okx/plugin-store/macro-intelligence/github.svg)](https://agentmods.dev/skills/okx/plugin-store/macro-intelligence)
Your own site
<a href="https://agentmods.dev/skills/okx/plugin-store/macro-intelligence"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/macro-intelligence/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for macro-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/okx/plugin-store/macro-intelligence"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/macro-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,164 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 285
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.04164
Opus 5.5 $0.00012 $0.01666
Sonnet 5.5 $0.00006 $0.00833
Haiku 4.5 $0.00003 $0.00416

Measured 1mo ago against content hash 35c13070862e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

macro-intelligence scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (config.py, macro_news.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

from urllib.request import urlopen
skills/macro-intelligence/SKILL.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Macro Intelligence Skill v1.0 — Agent Instructions

Purpose

Unified macro intelligence feed. Reads news from 7 sources (NewsNow, Polymarket, Telegram, 6551.io OpenNews, Finnhub, FRED, Fear & Greed Index), classifies macro events, scores sentiment, generates AI insights, and exposes clean signals via HTTP API. No trading logic — downstream skills consume signals.

Architecture

  NewsNow (HTTP, 120s) ──────┐
  Polymarket (HTTP, 120s) ────┤
  Finnhub (HTTP, 180s) ───────┤──→ process_signal() ──→ UnifiedSignal ──→ API :3252
  6551.io OpenNews (WebSocket)─┤    │ noise filter       │ classify       │ sentiment
  Telegram (Telethon WS) ─────┘    │ dedup              │ reputation     │ AI insight
                                    │                    │ token extract  │ store
  FRED (HTTP, 3600s) ──────────→ context data ──→ /api/fred + significant change → process_signal()
  Fear & Greed (HTTP, 300s) ───→ context data ──→ /api/fng
  Price Tickers (HTTP, 60s) ───→ context data ──→ /api/prices (SPY, GLD, SLV, BTC, ETH)

Startup Protocol

  1. python3 macro_news.py — starts all collectors + HTTP server on :3252
  2. python3 macro_news.py setup — interactive mode to list Telegram groups/channels

Requirements

  • Python 3.9+
  • pip install telethon (optional — runs without it)
  • pip install websockets (optional — needed for 6551.io OpenNews WebSocket)
  • Env: ANTHROPIC_API_KEY for LLM classification + AI insights (optional)
  • Env: TG_API_ID, TG_API_HASH (or set in config.py)
  • Env: OPENNEWS_TOKEN for 6551.io (free — get token at https://6551.io/mcp)
  • Env: FINNHUB_API_KEY for Finnhub market news (free — register at https://finnhub.io)
  • Env: FRED_API_KEY for FRED macro indicators (free — register at https://fred.stlouisfed.org/docs/api/api_key.html)

All new sources are disabled by default if their API key env var is empty — graceful degradation.

Files

File Purpose
config.py All tunable parameters — sources, filters, keywords, playbook, sentiment lexicon
macro_news.py Main runtime — collectors, pipeline, classifier, API server, dashboard
dashboard.html Dark-theme monitoring UI with price tickers, FNG gauge, FRED indicators, signal feed
skill.md This file — agent instructions
state/state.json Persisted state (signals, dedup hashes, reputation, finnhub_last_id)

Read the full file on GitHub · 288 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 288 lines · 30 tokens per session scan A 35c13070862e

Subscribe to this mod's changes

macro-intelligence is a skill published in the GitHub repository okx/plugin-store (12 stars, last pushed 18d ago), licensed MIT. It adds 30 tokens to every session and 4,164 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

china-portfolio-monitoring

A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.

jwangkun/claude-for-financial-services-cn · 86 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens