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.
npx agentmods add commands/esonhugh/ibkr-trade-analyzer/summarygit clone --depth 1 https://github.com/Esonhugh/ibkr-trade-analyzerWrote 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/esonhugh/ibkr-trade-analyzer/summary)<a href="https://agentmods.dev/commands/esonhugh/ibkr-trade-analyzer/summary"><img src="https://agentmods.dev/badge/commands/esonhugh/ibkr-trade-analyzer/summary.svg" alt="Measured on agentmods" 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.00015 | $0.00365 |
| Opus 5 | $0.00008 | $0.00182 |
| Sonnet 5 | $0.00003 | $0.00073 |
| Haiku 4.5 | $0.00002 | $0.00036 |
Grade A, and why
summary 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 6d 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.
What it actually says
Generate a concise IBKR account summary using read-only reporting data.
Workflow
- Load data with
ibkr_fetch_datausing the requested mode/source, or Flex by default. - Call
ibkr_pnl_summary,ibkr_portfolio, andibkr_cost_analysis. - Call
ibkr_trade_patternsonly if the user asks for behavior/style detail.
Output Format
- Executive Summary — 5 bullets maximum.
- Key Metrics — compact table for available P&L, drawdown, Sharpe, positions, cash, and fees.
- Portfolio & Costs — concentration, cash/currency exposure, commissions, interest, and dividends.
- Watch Items — up to 3 neutral review items, not trade instructions.
Guardrails
- State that this is informational analysis, not investment or tax advice.
- Show exact tool errors and the next setup/diagnostic step.
- Do not invent missing account totals or metrics.
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.
- 6d ago First seen · 27 lines · 15 tokens per session scan A ebfa0b7bd381
summary is a command published in the GitHub repository Esonhugh/ibkr-trade-analyzer (18 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 365 once invoked, about $0.0001 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-30.
Other commands, from other repositories
earnings-preview
Earnings preview presentation — 4-6 slide deck with consensus estimates, historical surprises, forward catalysts.
budget
Grant budget spreadsheet generation with forcing questions and task integration.
cim-generate
Generate or read the latest 14-section Confidential Information Memorandum (CIM) for a deal, built from OloLand's reconciled deal data rather than LLM prose.
workbook
List, read, create, or template-populate deal-scoped OloLand workbooks for analysis handoff.
balance
Show KolmoPDF account credit balance.
convert
Use when the user attaches a bank statement PDF or asks for CSV/XLSX/QBO/Xero export of a converted statement. Do not use for spending analysis, reconciliation, or benchmark scoring — those have their own skills.