Skip to content
Automation
Skill

/scanner-pmcc

Scan stocks for Poor Man's Covered Call (PMCC) suitability. Analyzes LEAPS and short call options for delta, liquidity, spread, IV, yield, trend direction, and earnings proximity. Use when user asks about PMCC candidates, diagonal spreads, or LEAPS strategies.

From plugin
trading-skills
39929 skills

Claude Code

$ npx -y skills add staskh/trading_skills --skill scanner-pmcc --agent claude-code

SKILL.md

scanner-pmcc.SKILL.md
name: scanner-pmcc
description: Scan stocks for Poor Man's Covered Call (PMCC) suitability. Analyzes LEAPS and short call options for delta, liquidity, spread, IV, yield, trend direction, and earnings proximity. Use when user asks about PMCC candidates, diagonal spreads, or LEAPS strategies.
dependencies: ["trading-skills"]

PMCC Scanner

Finds optimal Poor Man's Covered Call setups by scoring symbols on option chain quality.

What is PMCC?

Buy deep ITM LEAPS call (delta ~0.80) + Sell short-term OTM call (delta ~0.20) against it. Cheaper alternative to covered calls.

Instructions

> **Note:** If `uv` is not installed or `pyproject.toml` is not found, replace `uv run python` with `python` in all commands below.

uv run python scripts/scan.py SYMBOLS [options]

Arguments

  • `SYMBOLS` - Comma-separated tickers or path to JSON file from bullish scanner
  • `--min-leaps-days` - Minimum LEAPS expiration in days (default: 270 = 9 months)
  • `--leaps-delta` - Target LEAPS delta (default: 0.80)
  • `--short-delta` - Target short call delta (default: 0.20)
  • `--output` - Save results to JSON file (use this; Claude generates the report from the JSON)
  • `--report` - Save auto-generated markdown to file (programmatic fallback only — prefer Claude-generated reports)

Scoring System (max possible: 14, range: -8 to 14)

| Category | Condition | Points | |----------|-----------|--------| | **Delta Accuracy** | LEAPS within ±0.05 | +2 | | | LEAPS within ±0.10 | +1 | | | Short within ±0.05 | +1 | | | Short within ±0.10 | +0.5 | | **Liquidity** | LEAPS vol+OI > 100 | +1 | | | LEAPS vol+OI > 20 | +0.5 | | | Short vol+OI > 500 | +1 | | | Short vol+OI > 100 | +0.5 | | **Spread** | LEAPS spread < 5% | +1 | | | LEAPS spread < 10% | +0.5 | | | Short spread < 10% | +1 | | | Short spread < 20% | +0.5 | | **IV Level** | 25-50% (ideal) | +2 | | | 20-60% | +1 | | **Yield** | Annual > 50% | +2 | | | Annual > 30% | +1 | | | Annual > 15% | +0.5 | | **Trend** | Price > SMA50 | +1 / -1 | | | RSI > 50 | +0.5 / -0.5 | | | MACD > signal | +0.5 / -0.5 | | **Earnings** | Next earnings > 45 days | +1.0 | | | Earnings within 45 days | -1.0 | | | Earnings within short expiry | -2.0 | | **Weekly Options** | No weekly options listed | -1 | | **Strike Density** | < 3 strikes spot→short | -2 | | | < 5 strikes spot→short | -1 | | **Short Premium** | Short mid < $0.10 | -1 | | | Short mid < $0.50 | -0.5 |

Weekly-options, strike-density, and short-premium are penalty-only (0 at best), so `max_possible_score` stays **14** while the theoretical minimum is **-8** (base 0, trend -2, earnings -2, weekly -1, strike -2, short premium -1).

Output

Returns JSON with:

  • `criteria` - Scan parameters used
  • `results` - Array sorted by score:
  • `symbol`, `price`, `iv_pct`, `pmcc_score`, `max_possible_score` (always 14)
  • `industry` - GICS industry (falls back to sector), or null
  • `description` - one-sentence company description, or null
  • `has_weeklies` - whether the symbol lists weekly options (bool)
  • `short_window` - short-expiry window actually used: `"7-21"` or `"5-30 (fallback)"`
  • `dividend_yield` - continuous dividend yield (fraction) used in the BS/IV math
  • `leaps` - expiry, strike, delta, **iv** (calculated from bid/ask), **last_price**, bid/ask, spread%, volume, OI
  • `short` - expiry, strike, delta, **iv** (calculated from bid/ask), **last_price**, bid/ask, spread%, volume, OI
  • `earnings_date` - next earnings date (YYYY-MM-DD) or null
  • `metrics` - net_debit, short_yield% (period yield over the short window), annual_yield%, capital_required
  • `score_breakdown` - every scoring component as a `<name>_delta` (float) + `<name>` (explanation string) pair:
  • Base: `leaps_delta`, `short_delta`, `leaps_liquidity`, `short_liquidity`, `leaps_spread`, `short_spread`, `iv`, `yield`
  • Trend: `trend_delta`, `trend` (per-indicator dict)
  • Earnings: `earnings_delta`, `earnings`
  • Weekly options: `weekly_options_delta`, `weekly_options`
  • Strike density: `strike_density_delta`, `strike_density`
  • Short premium: `short_premium_delta`, `short_premium`
  • All `_delta` values sum to `pmcc_score`
  • `errors` - Symbols that failed (no options, insufficient data)

Report Generation

When the user asks for a report, a written analysis, or a saved document:

1. Run the scanner with `--output` to capture JSON data:

   uv run python scripts/scan.py SYMBOLS --output sandbox/PMCC_Scan_YYYY-MM-DD_HHmm.json

2. Read the JSON output.

3. Generate the markdown report yourself using the template defined in `templates/markdown-template.md`. Do **not** use the `--report` flag — that produces mechanical string output. Claude-generated reports include real analysis, contextual warnings, and trader-relevant narrative.

4. Save the generated markdown to `sandbox/PMCC_Scan_YYYY-MM-DD_HHmm.md` (match the JSON timestamp).

5. Display the full report to the user.

Examples

# Scan specific symbols
uv run python scripts/scan.py AAPL,MSFT,GOOGL,NVDA

# Scan and save JSON for report generation
uv run python scripts/scan.py AAPL,MSFT,GOOGL --output sandbox/PMCC_Scan_2026-01-15_1430.json

# Use output from bullish scanner
uv run python scripts/scan.py bullish_results.json

# Custom delta targets
uv run python scripts/scan.py AAPL,MSFT --leaps-delta 0.70 --short-delta 0.15

# Longer LEAPS (1 year minimum)
uv run python scripts/scan.py AAPL,MSFT --min-leaps-days 365

IV Calculation

IV is always computed from market price data via Black-Scholes, never taken from Yahoo Finance's `impliedVolatility` column:

  • **During trading hours**: IV derived from bid/ask mid price
  • **Off-hours (bid=ask=0)**: IV derived from last price, using the option's last trade timestamp as the pricing moment (not current wall-clock time)

This applies to both `compute_atm_iv` (used for scanner baseline IV) and per-option delta calculations.

**Dividends**: the Black-Scholes inversion uses th

Read more
@staskh
Ships withtrading-skills

Most retail traders juggle 5+ tabs — broker, charting platform, screener, news feed, spreadsheet — just to decide whether to enter a trade. This project collapses all of that into a single conversational interface powered by Claude.

Stars on GitHub

Momentum

stars in total
399
Star history of staskh/trading_skills on GitHub, a chart by star-history.com

Other skills on trading-skills.

calendar

calendar

Report scheduled US economic events (CPI, NFP, FOMC, GDP, PCE, ISM, jobless claims...) with times in ET, impact,…

earnings-calendar

earnings-calendar

Get upcoming earnings dates with timing (before/after market) and EPS estimates. Use when user asks about earnings dates,…

fundamentals

fundamentals

Get fundamental financial data including financials, earnings, and key metrics. Use when user asks about financials, earnings,…

greeks

greeks

Calculate option Greeks (delta, gamma, theta, vega) and implied volatility for specific options. Use when user asks about Greeks,…

ib-account

ib-account

Get account summary from Interactive Brokers including cash balance, buying power, and account value. Use when user asks about…

ib-collar

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB…

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n12d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about scanner-pmcc.

Which coding agents can use scanner-pmcc?
scanner-pmcc installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.