Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/JansenAnalytics/claudexnpx agentmods add skills/jansenanalytics/claudex/macro-briefingWrote 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.
[](https://agentmods.dev/skills/jansenanalytics/claudex/macro-briefing)<a href="https://agentmods.dev/skills/jansenanalytics/claudex/macro-briefing"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/macro-briefing/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.
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/macro-briefing"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/macro-briefing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.01056 |
| Opus 5.5 | $0.00019 | $0.00422 |
| Sonnet 5.5 | $0.00010 | $0.00211 |
| Haiku 4.5 | $0.00005 | $0.00106 |
Grade A, and why
macro-briefing scanned grade A with 0 findings 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 2mo ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Macro Briefing
Quick Start
Collect + brief (one-liner)
SKILL_DIR="$(dirname "$(realpath "$0")")/.." # resolve from scripts/
python3 scripts/collect.py && python3 scripts/briefing.py --format telegram
Collect only (stores to DB)
python3 scripts/collect.py --db data/macro.db
Generate briefing from latest DB snapshot
python3 scripts/briefing.py --format telegram --session europe
Scripts
scripts/collect.py — Data Collector
Fetches all market data via yfinance + economic calendar via FairEconomy API.
Stores in SQLite (data/macro.db by default). No API keys required.
Flags:
--db PATH— custom DB path (default:data/macro.db)--no-db— skip DB storage, just collect--json— output raw JSON to stdout
Dependency: pip3 install yfinance (pandas, curl_cffi auto-installed)
scripts/briefing.py — Briefing Formatter
Reads latest snapshot from DB (or JSON stdin) and formats for delivery.
Flags:
--format telegram|plain|json— output format--session asia|europe|us— filter calendar events by session window--db PATH— custom DB path--stdin— read JSON from stdin instead of DB--json-input PATH— read from JSON file
Formats:
telegram— Markdown with emoji, ready for Telegram messageplain— stripped plain textjson— structured JSON for programmatic use by other skills
scripts/query.py — Database Query API
Historical queries for analysis, backtesting, and other skills.
Commands:
ticker DXY --days 30 [--csv]— single ticker historyyields --days 60 [--csv]— yield curve historyspread 10y3m --days 180— spread historysnapshot [--date 2026-03-01]— full snapshot (latest or by date)calendar [--country USD] [--impact High] [--days 7]— economic eventssummary --days 5— summary stats (mean/min/max/trend)export --days 365 --csv— full export for backtesting
Database
SQLite at data/macro.db. Schema in scripts/collect.py init_db().
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.
- 2mo ago First seen · 115 lines · 48 tokens per session scan A 3c5943ebda1e
macro-briefing is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 1,056 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
macro-briefing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| macro-briefingJansenAnalytics/claudex | Skill | 5 | 4mo ago | MIT | A | 48 | Claude Code, Codex |
| defeatbeta-earnings-analysisdefeat-beta/defeatbeta-api | Skill | 795 | 8d ago | Apache-2.0 | A | 112 | Claude Code |
| defeatbeta-earnings-previewdefeat-beta/defeatbeta-api | Skill | 795 | 8d ago | Apache-2.0 | A | 60 | Claude Code, Codex |
| defeatbeta-analystdefeat-beta/defeatbeta-api | Skill | 795 | 8d ago | Apache-2.0 | A | 154 | Claude Code |
| defeatbeta-earnings-key-datadefeat-beta/defeatbeta-api | Skill | 795 | 8d ago | Apache-2.0 | A | 138 | Claude Code, Codex |
| defeatbeta-dcfdefeat-beta/defeatbeta-api | Skill | 795 | 8d ago | Apache-2.0 | B | 96 | Claude Code |
| finance-summaryspyrae/kronos-agent-os | Skill | 66 | 16d ago | MIT | A | 18 | Claude Code, Codex |