$npx skillfedfor your agent

ib-stop-loss

IB Stop-Loss Manager analyzes your Interactive Brokers portfolio and automatically computes and places conditional stop-loss orders for diagonal spreads, naked LEAPS, and stock positions. It runs in dry-run mode by default—no orders execute until you explicitly request it—and supports both paper and live trading accounts. The skill detects positions at risk, identifies orphaned orders, and alerts you when losses approach your threshold.

IB Stop-Loss Manager automates stop-loss order placement for PMCC, naked LEAPS, and stock positions in Interactive Brokers.

AI-generated summary based on this skill's SKILL.md

★ 299  68 MITupdated by staskh

Decision gist · record as of 2026-07-20

IB Stop-Loss Manager automates stop-loss order placement for PMCC, naked LEAPS, and stock positions in Interactive Brokers. IB Stop-Loss Manager analyzes your Interactive Brokers portfolio and automatically computes and places conditional stop-loss orders for diagonal spreads, naked LEAPS, and stock positions. It runs in dry-run mode by default—no orders execute until you explicitly request it—and supports both paper and live trading accounts. The skill detects positions at risk, identifies orphaned orders, and alerts you when losses approach your threshold.

manual: git clone https://github.com/staskh/trading_skills → cp -r trading_skills/.claude/skills/ib-stop-loss ~/.claude/skills/ib-stop-loss
.claude/skills/ib-stop-loss/SKILL.md · version 7914253e

Use it when

  • IB Stop-Loss Manager computes and places conditional stop-loss orders specifically for PMCC (Poor Man's Covered Call) diagonal spreads.
  • Yes.

Verify before relying

Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

staskh/trading_skills/ib-stop-loss · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is IB Stop-Loss Manager and what does it do?

IB Stop-Loss Manager analyzes your Interactive Brokers portfolio and automatically computes and places conditional stop-loss orders for diagonal spreads, naked LEAPS, and stock positions. It runs in dry-run mode by default—no orders execute until you explicitly request it—and supports both paper and live trading accounts. The skill detects positions at risk, identifies orphaned orders, and alerts you when losses approach your threshold.

How does IB Stop-Loss Manager handle PMCC stop loss orders?

IB Stop-Loss Manager computes and places conditional stop-loss orders specifically for PMCC (Poor Man's Covered Call) diagonal spreads. It monitors both the long and short legs of your position, calculates downside risk, and generates stop-loss triggers tailored to your portfolio's exposure. You can review all proposed orders in dry-run mode before execution.

Can IB Stop-Loss Manager automate conditional order placement and alert detection?

Yes. IB Stop-Loss Manager automates conditional order placement across your Interactive Brokers account and detects alerts when positions breach thresholds. It identifies premium decay on short legs, flags near-strike warnings, and notifies you of orphaned orders—all without executing trades unless you explicitly enable live mode.

Does IB Stop-Loss Manager support dry-run testing before live orders?

IB Stop-Loss Manager runs in dry-run mode by default, allowing you to monitor portfolio downside risk and review all computed stop-loss orders without any live execution. Once you validate the strategy and are confident in the results, you can switch to live mode to place actual orders on Interactive Brokers.

What position types does IB Stop-Loss Manager protect?

IB Stop-Loss Manager manages stop-loss orders for PMCC diagonal spreads, naked LEAPS positions, and stock holdings. It detects premium decay and near-strike alerts for short legs, monitors multiple account types and port configurations, and tailors risk management to each position's structure and your loss threshold.

Is IB Stop-Loss Manager open source and what license does it use?

Yes, IB Stop-Loss Manager is released under the MIT license, making it free to use, modify, and distribute. You can review the source code, adapt it to your needs, and integrate it into your own trading workflows on Interactive Brokers.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

IB Stop-Loss Manager

Analyzes PMCC (diagonal call spread), naked LEAPS, and stock positions in the IB portfolio and manages conditional stop-loss orders.

Default mode is dry-run — no orders are placed unless --execute is in the request.

IB Connection

TWS or IB Gateway must be running locally with API enabled: - Paper trading — port 7497 - Live trading — port 7496 - IB_PORT env var — default port when --port is omitted (e.g. IB_PORT=4001 for a Gateway container). Precedence: --port flag > IB_PORT > built-in default. Set it in the shell or a .env file.

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

(truncated - see the full file via the links below)

File tree — 2 files
.claude/skills/ib-stop-loss/SKILL.md
.claude/skills/ib-stop-loss/scripts/stop_loss.py

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Manage stop-loss orders for PMCC and LEAPS positions in IB”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

ib-collar
by staskh · staskh/trading_skills

This skill builds collar strategy reports for PMCC traders facing earnings or volatility spikes. It connects to Interactive Brokers, analyzes your long LEAPS and short calls, models put protection scenarios across gap-up/flat/down outcomes, and recommends optimal strike and duration for tactical hedging.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
ib-trailing-stop
by staskh · staskh/trading_skills

This skill deploys Interactive Brokers' native TRAIL orders against eligible stock and naked LEAPS positions, letting the broker automatically adjust your stop trigger upward as price rises and lock it as price falls. PMCC positions are excluded to preserve hedge integrity. Dry-run mode is the default—orders only execute when you add the `--execute` flag.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
ib-find-short-roll
by staskh · staskh/trading_skills

Analyze roll opportunities for existing short options or identify best covered calls/puts to open against long stock. The skill connects to Interactive Brokers via TWS or IB Gateway, evaluates candidates across multiple expirations, and uses IV-aware strike bands to surface relevant alternatives tailored to market conditions.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
ib-pmcc-advisor
by staskh · staskh/trading_skills

Pulls all diagonal call spreads from your IB portfolio and surfaces actionable metrics on the short leg: delta, IV, assignment probability, and daily P&L projections. Ranks the top roll candidates by delta improvement and net credit, then displays a side-by-side comparison to help you decide whether to hold, roll, or close. Requires TWS or IB Gateway running locally with API enabled.

MITfor claude-codeupdated Jul 2026
★ 299repo stars
Ibkr
by Starchild-ai-agent · Starchild-ai-agent/official-skills

Ibkr bridges your AI agent to Interactive Brokers through a local Trader Workstation or IB Gateway connection—no cloud keys required. Check positions, place orders, pull quotes and history across stocks, ETFs, forex, and futures on your own machine or networked gateway. Requires TWS/Gateway running and API socket enabled; paper trading available for safe testing.

no license declared → metadata onlyupdated Jul 2026
★ 18repo stars
scanner-pmcc
by staskh · staskh/trading_skills

Identifies stocks primed for Poor Man's Covered Call strategies by evaluating option chain quality across delta accuracy, liquidity, bid-ask spreads, implied volatility, yield potential, technical trend, and earnings proximity. Scores each candidate on a 14-point scale to rank suitability and surface the best risk-reward structures for diagonal spreads.

MITfor claude-codeupdated Jul 2026
★ 299repo stars

More skills Ibkr Api Skill (unlicensed) · Trading Alert Scheduler Skill (unlicensed) · drawdown-circuit-breaker (MIT) · ib-trades-history (MIT) · ib-report-delta-adjusted-notional-exposure (MIT) · vibe-trading (MIT) · ib-portfolio (MIT)

Tags
options-risk-managementautomated-exit-ordersportfolio-monitoringconditional-order-placementdownside-protectionbroker-api-integrationdry-run-executionmulti-leg-strategies