Install
$ agentstack add skill-patricksudo-fadacai-portfolio-options-strategy ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Options Strategy Calculator
Evaluate options strategies for a given ticker with risk/reward analysis.
Step 0: 配置同步 & 倉位偵測
執行 CLAUDE.md 的 Step 0 統一規範(0a → 0b → 0c → 0d → 0e)。
- 讀
plan.md+feedback/*.md(必做);了解此標的在計畫中的進場策略與 strikes - 呼叫
get_account_position取即時持倉(確認現有部位與資金狀況) - 今日 journal 不存在 → 執行 gap-fill + 變動偵測 + 自動建立 journal
- 0e 第一性原理紀律:在 Recommendation 之前必須完成「方向 thesis / 證偽條件 / IV 機率分布」三題(見 CLAUDE.md 0e)
Arguments
/options-strategy TEAM sell-put— Sell put analysis/options-strategy SSRM covered-call— Covered call analysis/options-strategy MU leaps— LEAPS replacement analysis/options-strategy FSLY naked-call— Speculative call analysis/options-strategy PLTR all— Show all applicable strategies/options-strategy PLTR AMD MU sell-put— 多標的比較(平行)/options-strategy MU sell-put --codex— 加 Codex 第二意見(adversarial review of strike selection)
Workflow
- Parse ticker and strategy from arguments
Multi-Ticker Parallel Mode
當偵測到多個 ticker(如 /options-strategy PLTR AMD MU sell-put):
- 為每個 ticker 派出獨立 Agent 子代理(subagent_type: "data-collector",Haiku 4.5),每個 Agent 執行:
get_stock_info— 現價 + 基本面get_option_chain— 選擇權鏈get_technical_indicators— 波動率 + RSI + 動量get_support_resistance— S/R levels for strike selection
- 每個 Agent 回傳 raw 選擇權數據,主 skill 計算所選策略 3-4 個 strike 的損益數據
- 整合為比較表,依 E_adj 排序:
| Ticker | 現價 | Strategy | Best Strike(s) | Max Profit | Max Loss | 損益比 | ATR% | E_adj | 排名 | |--------|------|----------|----------------|------------|----------|--------|------|-------|------|
若 Agent tool 不可用,依序處理各 ticker 亦可。
- Get Current Price & Technicals
- If Yahoo Finance MCP is available, fetch real-time quote
- Otherwise use WebSearch: "[TICKER] stock price today"
- Check current-position.md for existing holdings
- Use
mcp__technical-mcp__get_technical_indicatorsto get volatility regime, ATR, and RSI - Use
mcp__technical-mcp__get_support_resistanceto identify key levels for strike selection
- Get Options Data
- If Options Chain MCP or Yahoo Finance MCP is available, fetch actual options chain
- Otherwise, estimate premiums based on:
- Stock price and volatility
- Days to expiry
- Strike distance from current price
- Historical IV if available via WebSearch
- Strategy Analysis
Sell Put
For 3-4 strike levels (near ATM to 15-20% OTM): | Strike | OTM % | Expiry | Est. Premium | Breakeven | Annualized Return | P(assign) | Margin Est. |
- Margin estimate = 20-25% of (strike × 100) for margin account
- Annualized return = (premium / margin) × (365 / DTE)
- Show assignment scenario: what happens if assigned
Covered Call
Requires existing shares (check current-position.md): | Strike | OTM % | Expiry | Est. Premium | Max Profit | Annualized Yield | P(called away) |
- Flag if user has enough shares for round lot (100)
LEAPS (Stock Replacement)
For 2-3 strike levels (10-25% ITM): | Strike | ITM % | Expiry | Est. Cost | Delta | Equiv. Shares | vs. Holding Stock |
- Compare capital required: LEAPS vs equivalent shares
- Calculate capital freed
- Time value at risk
- Note: if the user's broker is Level 2 only (no spreads), PMCC is unavailable
Bull Put Spread
For 2-3 strike combinations (short strike near support, long strike $10-20 below): | Short Strike | Long Strike | Width | Max Profit | Max Loss | Breakeven | P(profit) | Margin |
- Max profit = net premium received
- Max loss = width × 100 - premium
- Margin requirement = width × 100
- 引用配置計畫中建議的 strike levels(如有)
Bear Call Spread
For stocks that are overbought or above target price: | Short Strike | Long Strike | Width | Max Profit | Max Loss | Breakeven | P(profit) |
- Suitable for: TPL (RSI超買), ATI (超目標價) 等計畫中標記的標的
Naked Call (Speculative)
| Strike | OTM % | Expiry | Est. Cost | Breakeven | Max Loss |
- Flag this as high risk
- Only for small speculative positions
- Broker Constraints(內部參考,不輸出)
分析時遵守以下限制,但不在輸出中顯示此區塊:
- Options Level 2 + Spread 已開通(2026/03/03 起)
- 可做 Bull/Bear Put/Call Spread、PMCC
- Sell Put 使用 Margin(非 cash-secured 全額)
- 不能做裸賣 Call(需 Level 3+)
- 配置計畫原則:不再開裸 Sell Put,全部用 Spread
- Volatility-Adjusted Guidance
Based on mcp__technical-mcp__get_technical_indicators volatility regime:
- High volatility regime → sell premium strategies more attractive (higher premiums), wider strikes
- Low volatility regime → buying options cheaper, tighter strikes for sell strategies
- RSI overbought (>70) → sell call premiums attractive, avoid buying calls
- **RSI oversold ( 若 Codex 失敗 → 輸出
⚠️ Codex 不可用:[error],跳過第二意見,繼續正常輸出。
Output Language
Use Traditional Chinese (繁體中文) for all text output.
存檔 + HTML 生成
報告完成後:
- 使用 Write tool 把完整 markdown 寫到
briefing-out/options-strategy--YYYY-MM-DD.md - 執行:
python3 tools/generate_html.py options-strategy briefing-out/options-strategy--YYYY-MM-DD.md --push
成功時印出網頁連結,失敗時印警告並繼續。
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: PatrickSUDO
- Source: PatrickSUDO/fadacai-portfolio
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.