Borrowing it
Nothing to install: this file belongs to MrRolie/mm-ibkr-mcp. 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/MrRolie/mm-ibkr-mcp/main/.opencode/skills/ibkr-portfolio-snapshot/SKILL.mdgit clone --depth 1 https://github.com/MrRolie/mm-ibkr-mcpWrote 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/mrrolie/mm-ibkr-mcp/ibkr-portfolio-snapshot)<a href="https://agentmods.dev/skills/mrrolie/mm-ibkr-mcp/ibkr-portfolio-snapshot"><img src="https://agentmods.dev/badge/skills/mrrolie/mm-ibkr-mcp/ibkr-portfolio-snapshot/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/mrrolie/mm-ibkr-mcp/ibkr-portfolio-snapshot"><img src="https://agentmods.dev/badge/skills/mrrolie/mm-ibkr-mcp/ibkr-portfolio-snapshot.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.00042 | $0.00551 |
| Opus 5 | $0.00021 | $0.00275 |
| Sonnet 5 | $0.00008 | $0.00110 |
| Haiku 4.5 | $0.00004 | $0.00055 |
Grade A, and why
ibkr-portfolio-snapshot 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 12d 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
IBKR Portfolio Snapshot
Use this skill at the start of any trading session or before evaluating a proposed order. It fetches the canonical read-only view of account health without touching execution.
When to Use
- User asks about buying power, exposure, margin, or current positions
- Starting a session to trade or monitor the portfolio
- Before calling
ibkr-evaluate-order - As a precursor to
ibkr_get_portfolio_risk
Workflow
- Call
ibkr_get_account_summary— get buying power, net liquidation, margin - Call
ibkr_get_positions— get all open positions with avg price, market value, unrealized P&L - Call
ibkr_get_portfolio_risk— get concentration by symbol, margin utilisation, risk level, and warnings
Return a formatted table with:
- Net liquidation, buying power, maintenance margin
- Top 3 concentrations by symbol
- Overall risk level
- Any margin or concentration warnings
Guardrails
- This skill is read-only. Do not call execution or approval tools.
- Do not assume the account is in a specific mode (paper/live) — always show the trading status if relevant.
- If any call fails, return what was successfully retrieved plus the error.
Output Contract
Returns a structured summary:
Account: <id>
Currency: <currency>
Balances:
Net Liquidation: <value>
Buying Power: <value>
Maintenance Margin: <value>
Positions: <count> open positions
<Symbol> | <qty> shares | <marketValue> | <unrealizedP&L>
Risk Overview:
Margin Utilisation: <pct>%
Largest Position: <symbol> (<pct>% of net liq)
Risk Level: <low|medium|high|critical>
Warnings: <list or "None">
Resources
Tool naming: this server registers its tools unprefixed (
get_positions). OpenCode exposes an MCP tool to the agent as<server-key>_<tool-name>, so theibkr_names below assume the server is registered under the keyibkr. See the permission block in.opencode/agents/IBKR-Stockbroker.md.
ibkr_get_account_summaryibkr_get_positionsibkr_get_portfolio_risk
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.
- 12d ago First seen · 67 lines · 42 tokens per session scan A 45fe016ab806
ibkr-portfolio-snapshot is a skill published in the GitHub repository MrRolie/mm-ibkr-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 551 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 skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.
reading-receipt
An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.