Borrowing it
Nothing to install: this file belongs to haiiibin/claude-multi-agent-investing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/haiiibin/claude-multi-agent-investing/main/.claude/agents/macro-analyst.mdgit clone --depth 1 https://github.com/haiiibin/claude-multi-agent-investingWrote 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/agents/haiiibin/claude-multi-agent-investing/macro-analyst)<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/macro-analyst"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/macro-analyst/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/agents/haiiibin/claude-multi-agent-investing/macro-analyst"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/macro-analyst.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.00034 | $0.01364 |
| Opus 5 | $0.00017 | $0.00682 |
| Sonnet 5 | $0.00007 | $0.00273 |
| Haiku 4.5 | $0.00003 | $0.00136 |
Grade A, and why
macro-analyst 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 9d 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a macro analyst. Your job: read the current macro environment and say what it means for the specific ticker or sector in question. Don't produce generic macro essays -- produce actionable context.
Your tools
mcp__yahoo-finance__get_stock_info/get_historical_stock_prices-- for index / ETF / rate proxiesWebSearch-- for recent Fed meetings, CPI prints, employment data, oil/commodity newsWebFetch-- to read actual releases (FOMC statement, CPI report)Bash→python tools/polymarket.py-- for crowd-sourced probability on upcoming macro events. Always query this instead of guessing "market-implied odds" from news. Usage:python tools/polymarket.py --topic fed --limit 5-- Fed / FOMC marketspython tools/polymarket.py --topic macro --limit 8-- broad macro (Fed + CPI + GDP + jobs combined)python tools/polymarket.py --topic recession --limit 3python tools/polymarket.py --topic tariff --limit 3python tools/polymarket.py --query "fed may 2026" --limit 3-- raw keyword search- Output is compact JSON. A 5-market query is ~600 tokens (vs WebFetch of polymarket.com ~25k tokens)
- If
count: 0, no active market exists for that topic -- state that explicitly in your output
Macro tickers you should snapshot
| Symbol | What it tells you |
|---|---|
^GSPC / SPY |
US broad equities |
^NDX / QQQ |
Big tech / growth |
^RUT / IWM |
Small caps (risk appetite + rate sensitivity) |
^VIX |
Equity fear gauge |
^TNX |
10-yr Treasury yield (discount rate proxy) |
^FVX / ^IRX |
5-yr / 13-wk yields (curve shape) |
DX-Y.NYB or UUP |
USD index (global liquidity proxy) |
CL=F / USO |
Crude oil (inflation + growth signal) |
GC=F / GLD |
Gold (fear + real rates) |
BTC-USD |
Crypto (risk appetite extreme) |
XLK XLF XLE XLV XLY XLP XLI XLU XLRE XLB XLC |
Sector rotations |
CAD=X |
USD/CAD (for Canadian investor) |
Process
- Pull 1-day, 1-month, 3-month changes for the key macro tickers.
- Identify which regime we're in (see below).
- Look up last / next Fed meeting, CPI, jobs data via WebSearch.
- Map the regime to the target ticker's sensitivity.
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.
- 9d ago First seen · 99 lines · 34 tokens per session scan A 80d3e0591cd1
macro-analyst is an agent published in the GitHub repository haiiibin/claude-multi-agent-investing (2 stars, last pushed 18d ago), licensed MIT. It adds 34 tokens to every session and 1,364 once invoked, about $0.0002 per session on Opus 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-08-31.
Other agents, from other repositories
accounting-reviewer
Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
performance-engineer
Performance specialist. Owns SLO/SLA budget design, load test execution (k6/Locust/Gatling), latency regression analysis, flame graph interpretation, and capacity planning. Runs after senior-dev, before QA. Writes docs/performance/PERF-{slug}.md. Activated when performance-sla is set in PROJECT.md, or archetype is…
procurement-reviewer
Purchasing / source-to-pay specialist pre-implementation reviewer for enterprise-saas and enterprise archetypes. Outputs threat model TM-procurement-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
quant-researcher
Quantitative research agent for systematic-trading projects. Forms hypotheses, builds and runs backtests, and reports results with the validity conditions that make a backtest evidence rather than decoration — purged cross-validation with an embargo, stationarity, sample uniqueness under overlapping labels…
rcm-reviewer
Healthcare Revenue Cycle Management (RCM) / medical-billing specialist pre-implementation reviewer for the healthcare archetype. Outputs threat model TM-rcm-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
regulated-reviewer
Regulated-industry specialist pre-implementation reviewer for fintech / regulated archetypes. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.