claude-multi-agent-investing: Command for Claude Code

.claude/commands/market-pulse.md

market-pulse is a command for Claude Code from haiiibin/claude-multi-agent-investing. It costs 37 tokens per session (939 once invoked), scanned A, original, MIT.

A command that scans the wider financial market, including stock indexes, interest rates, currencies, commodities, sectors and upcoming economic events.

In plain words
What is it for?
Use it to review the current market environment, compare major asset groups, and check upcoming central-bank, inflation, jobs and earnings events.
Why use it?
It gives portfolio decisions context by showing whether markets are broadly taking or avoiding risk before you allocate cash or rebalance holdings.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is haiiibin/claude-multi-agent-investing's own configuration. It tells Claude Code how to work on claude-multi-agent-investing itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-multi-agent-investing configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/haiiibin/claude-multi-agent-investing/main/.claude/commands/market-pulse.md
Clone the repo
git clone --depth 1 https://github.com/haiiibin/claude-multi-agent-investing

Made for: Claude Code.

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 market-pulse

README.md
[![agentmods](https://agentmods.dev/badge/commands/haiiibin/claude-multi-agent-investing/market-pulse/github.svg)](https://agentmods.dev/commands/haiiibin/claude-multi-agent-investing/market-pulse)
Your own site
<a href="https://agentmods.dev/commands/haiiibin/claude-multi-agent-investing/market-pulse"><img src="https://agentmods.dev/badge/commands/haiiibin/claude-multi-agent-investing/market-pulse/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 market-pulse

Your own site · 80×15
<a href="https://agentmods.dev/commands/haiiibin/claude-multi-agent-investing/market-pulse"><img src="https://agentmods.dev/badge/commands/haiiibin/claude-multi-agent-investing/market-pulse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 939 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00037 $0.00939
Opus 5 $0.00018 $0.00469
Sonnet 5 $0.00007 $0.00188
Haiku 4.5 $0.00004 $0.00094

Measured 11d ago against content hash 80c6172613a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

market-pulse 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 11d 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.

.claude/commands/market-pulse.md · 85 lines

How it starts

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

/market-pulse -- Market & Macro Scan

Broad environment scan. Not portfolio-specific. Tells you what the market is doing so you can interpret your holdings in context.

Steps

  1. Dispatch macro-analyst sub-agent via Task tool. Pass target = "broad market" (no specific ticker).

  2. The agent will pull (parallel):

    • Indices: SPY, QQQ, IWM, VIX
    • Rates: ^TNX (10Y), ^IRX (3M), ^FVX (5Y) -- curve shape
    • FX: DXY/UUP, CAD=X (USD/CAD)
    • Commodities: CL=F (oil), GC=F (gold), NG=F (natgas)
    • Sectors: XLK XLF XLE XLV XLY XLP XLI XLU XLRE XLB XLC
    • Risk-on proxy: BTC-USD
  3. Upcoming catalysts. Use WebSearch for:

    • Next FOMC meeting date + market-implied odds
    • Next CPI release date
    • Next NFP (jobs) date
    • Major earnings this week (MAG-7 / banks / bellwethers)
  4. Produce the pulse:

# 🌎 Market Pulse -- {YYYY-MM-DD}

## Regime
**{Risk-on reflation / Risk-on disinflation / Risk-off stagflation / Risk-off deflation / Chop}** -- confidence: {Low/Med/High}

One-sentence rationale.

## Snapshot (1-day / 1-week / 1-month)
| Asset | 1D | 1W | 1M | Level |
|-------|-----|----|----|-------|
| SPY | +0.3% | +1.2% | +2.1% | 580 |
| QQQ | ... | ... | ... | ... |
| VIX | | | | 16.8 |
| US 10Y | | | | 4.25% |
| DXY | | | | 105.2 |
| USD/CAD | | | | 1.37 |
| Oil | | | | $78 |
| Gold | | | | $2340 |

## Sector rotation (1-month)
🟢 Leaders: XLE +5%, XLF +3%, XLI +2%
🔴 Laggards: XLU -1%, XLK -0.5%, XLRE -0.8%

**Rotation thesis:** {1 sentence -- what leadership is saying about the cycle}

## Yield curve
- 3M: 5.20% | 2Y: 4.50% | 10Y: 4.25% | 30Y: 4.40%
- Curve shape: {inverted / flat / normalizing / steepening}
- Implication: ...

## Upcoming catalysts (next 2 weeks)
- **FOMC 2026-05-07** -- market pricing 25bp cut at 45%
- **CPI 2026-05-14** -- consensus 2.8% YoY
- **Big earnings**: NVDA (Wed), JPM (Thu), TSLA (next Mon)

## Implications for a long-only investor
- Positioning: ...
- What to watch: ...
- What to avoid: ...

## Implications for YOUR portfolio
(read `portfolio/holdings.json` and flag holdings most affected by current regime)
- **AAPL** (broker-a-taxable) -- USD-strong regime is revenue headwind (60% foreign); watch next earnings for FX commentary
- **ENB** (broker-b-taxable) -- oil up + rates stable = tailwind; dividend sustainable

## Save
Save this report to `memory/mid_term/{YYYY-MM-DD}-market-pulse.md` for later context.

Read the full file on GitHub · 85 lines

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. 11d ago First seen · 85 lines · 37 tokens per session scan A 80c6172613a3

Subscribe to this mod's changes

market-pulse is a command published in the GitHub repository haiiibin/claude-multi-agent-investing (2 stars, last pushed 20d ago), licensed MIT. It adds 37 tokens to every session and 939 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.