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 skills add staskh/trading_skills --skill ib-pmcc-advisorgit clone --depth 1 https://github.com/staskh/trading_skillsWrote 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/staskh/trading_skills/ib-pmcc-advisor)<a href="https://agentmods.dev/skills/staskh/trading_skills/ib-pmcc-advisor"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/ib-pmcc-advisor/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/staskh/trading_skills/ib-pmcc-advisor"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/ib-pmcc-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 166 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00071 | $0.02615 |
| Opus 5.5 | $0.00028 | $0.01046 |
| Sonnet 5.5 | $0.00014 | $0.00523 |
| Haiku 4.5 | $0.00007 | $0.00262 |
Grade A, and why
ib-pmcc-advisor 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 1mo 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 — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
IB PMCC Advisor
Analyzes all PMCC (diagonal call spread) positions in the IB portfolio and provides actionable advice on the short leg: assignment risk, P&L projections per day, and ranked roll recommendations.
IB Connection
TWS or IB Gateway must be running locally with API enabled:
- Paper trading — port 7497
- Live trading — port 7496
IB_PORTenv var — default port when--portis omitted (e.g.IB_PORT=4001for a Gateway container). Precedence:--portflag >IB_PORT> built-in default. Set it in the shell or a.envfile.
Port fallback: If the configured port fails, automatically retry on the other port. If the retry succeeds, save to memory which account type worked (live/paper) and reuse it for all IB skill calls in this and future sessions — until the user explicitly asks for the other account. If both ports fail, ask the user to verify that TWS or IB Gateway is running with API access enabled.
Instructions
Step 1: Run the script
uv run python .claude/skills/ib-pmcc-advisor/scripts/pmcc_advisor.py [--port PORT] [--account ACCOUNT] [--min-roll-dte N] [--price-mode mid|last]
The script returns JSON to stdout. Parse it and use it for the response below.
Step 2: Default response — brief inline summary
Unless the user explicitly asks for a report or JSON output, respond with a concise inline summary only. No files saved.
Format:
- One line per spread:
SYMBOL — short $STRIKE exp DATE (δ=X, assign=Y%) — [HOLD / ROLL to $STRIKE] - Lead with any red flags (assignment > 40%, DTE < 7, earnings within short window).
- For flagged spreads, add one extra line with the top roll candidate and net credit.
- Clean positions: the one-line summary is enough.
Step 3: Generate files only when explicitly requested
MD report — triggered by: "save a report", "generate a report", "write a report", "markdown", "PDF".
Read .claude/skills/ib-pmcc-advisor/templates/markdown-template.md for full formatting instructions.
Save to sandbox/pmcc_advisor_{ACCOUNT}_{YYYY-MM-DD}_{HHmm}.md. Use first account ID; derive timestamp from generated_at.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 179 lines · 71 tokens per session scan A c89d9e673c3a
ib-pmcc-advisor is a skill published in the GitHub repository staskh/trading_skills (389 stars, last pushed 3d ago), licensed MIT. It adds 71 tokens to every session and 2,615 once invoked, about $0.0003 per session on Opus 5.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 skills, from other repositories
clawby-data
Query and analyze real financial data for any asset (US stocks / options / crypto / forex / perps / prediction markets) — quotes, volume, short volume & short interest, borrow fee, dark pool, options chain, Reddit sentiment, OHLC bars, FTDs, dividends & splits, stock screener, company financials & SEC filings (income…
find-cpa-firm
Use whenever the user wants to find, shortlist, vet, or enrich US accounting and tax firms (CPA firms) — financial-statement audit, SOC 1/2 audit, corporate tax, bookkeeping for businesses, advisory/fractional CFO, M&A diligence, 409A valuations, R&D tax credits, IPO readiness, sales-and-use tax. Triggers on "find me…
obai-strategy
Quantitative equity strategy design and backtesting via the OBaI backtest MCP server (http://localhost:8007/mcp). Use when the user wants to build, test, backtest, optimize, refine, repair, or compare a trading strategy, run walk-forward robustness validation, inspect trade logs, or follow up on a backtest job.…
nse-trading-toolkit
Master orchestrator for Indian NSE/BSE equity trading analysis via Groww broker. Routes to specialized framework skills: technical analysis, position sizing, stop-loss, trailing stops, risk-reward, multi-timeframe, RSI divergence, and Fibonacci trading. Use this skill whenever the user asks to: analyze a stock, check…
fibonacci-trading
Fibonacci retracement and extension trading for NSE/BSE equities. Covers entry zones using retracement levels, profit targets using extension levels, and confluence zone identification. Use when the user asks: "fib levels for [stock]", "Fibonacci retracement", "fib extensions", "where to enter on pullback", "what are…
multi-timeframe-analysis
Multi-timeframe analysis using the 3-screen method for NSE/BSE equities. Higher timeframe sets bias, primary timeframe identifies setup, lower timeframe times the entry. Includes confluence scoring system. Use when the user asks: "what's the weekly trend", "daily vs weekly", "multi-timeframe check", "higher timeframe…