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/commands/earnings-week.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/commands/haiiibin/claude-multi-agent-investing/earnings-week)<a href="https://agentmods.dev/commands/haiiibin/claude-multi-agent-investing/earnings-week"><img src="https://agentmods.dev/badge/commands/haiiibin/claude-multi-agent-investing/earnings-week/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/commands/haiiibin/claude-multi-agent-investing/earnings-week"><img src="https://agentmods.dev/badge/commands/haiiibin/claude-multi-agent-investing/earnings-week.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.00051 | $0.01681 |
| Opus 5 | $0.00026 | $0.00840 |
| Sonnet 5 | $0.00010 | $0.00336 |
| Haiku 4.5 | $0.00005 | $0.00168 |
Grade A, and why
earnings-week 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/earnings-week -- Upcoming Earnings & Dividend Events
Portfolio-level calendar view of near-term catalysts. Answers: "what's going to move my positions this week/next week?"
Default window: 14 days. Accept $ARGUMENTS like /earnings-week 7 or /earnings-week 30.
Phase 1 -- Collect
Journal pre-scan (if memory/long_term/journal.md exists): grep entries with tags earnings-pending, thesis-test, waiting-for-print within last 30 days. Surface these at the top of the output -- the user's past written stance on "I want to see X in this print" is high-signal context for framing the watch items.
Read holdings.json. For every unique ticker across all accounts, pull t.calendar from yfinance via MCP (mcp__yahoo-finance__get_stock_info may not have this -- may need to call via Bash with Python if MCP tool limits). The calendar dict contains:
Earnings Date-- when they reportEarnings High / Low / Average-- consensus EPS estimate rangeRevenue High / Low / Average-- consensus revenue estimate rangeDividend Date-- when dividend is paidEx-Dividend Date-- last date to own before the dividend
Filter to events within $window_days (default 14).
Phase 2 -- Enrich each earnings event
For each upcoming earnings, collect:
- Price context: current price, 52w position, 1-month change, implied pre-earnings run-up
- Consensus vs history: estimate average, range width (narrow = consensus tight = bigger surprise potential); look up last 2 quarters' beat/miss via
WebSearchif time permits - Options market implied move (optional, via
mcp__yahoo-finance__get_option_chain-- look at ATM straddle for nearest expiry covering the event):implied_move = (ATM_call + ATM_put) / stock_price - Key watch items -- 2-3 specific things to check in the print:
- e.g., MSFT: "Azure growth constant currency", "Copilot ARR disclosure", "CapEx guide for FY27"
- Use ticker + "earnings preview" in WebSearch if specific items aren't known
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.
- 11d ago First seen · 98 lines · 51 tokens per session scan A bb023682bd2c
earnings-week is a command published in the GitHub repository haiiibin/claude-multi-agent-investing (2 stars, last pushed 20d ago), licensed MIT. It adds 51 tokens to every session and 1,681 once invoked, about $0.0003 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 commands, from other repositories
cost
Cost & capacity health — LLM router savings, run-rate, cost-per-deploy, ROI per shipped feature, WoW/MoM delta. Pairs with /digest (delivery+DORA) and /burn (reliability).
close-review
Month-end close / GL compliance check — invokes accounting-reviewer to produce TM-accounting-{slug}.md with double-entry integrity, ASC 606 revenue-recognition, period-lock, and SOX ITGC gaps.
procurement-review
Procurement / source-to-pay compliance check — invokes procurement-reviewer to produce TM-procurement-{slug}.md with three-way match, segregation-of-duties, OFAC-screening, and SOX procurement-controls gaps.
tax-review
Tax-filing compliance check — invokes tax-reviewer to produce TM-tax-{slug}.md with MeF e-file schema, Form 8879, PTIN/Circular 230, and IRC §7216 consent gaps.
portfolio
View TastyTrade portfolio summary (positions and balances).
tax-sanity
Tax awareness sanity-check (NOT tax advice). Walks through entity tax-efficiency, deductions, growth structure, quarterly estimateds, multi-jurisdiction, retirement/long-term questions. Produces a Tax Readiness Checklist for the person's meeting with their accountant.