options-structure-rules

options-structure-rules is a skill for Claude Code, Codex from austin-starks/Public-Portfolio-Challenge. It costs 96 tokens per session (1,207 once invoked), scanned A, original, MIT.

A set of fixed rules for choosing structures in an options trading strategy, including which spread types and expiration periods are allowed. Options are contracts whose value depends on an underlying asset; a spread combines multiple option positions.

In plain words
What is it for?
Auditing or building options portfolios, checking expiration and spread shapes, enforcing long-dated call and short-dated spread rules, and screening out known losing structures.
Why use it?
It prevents strategy candidates from violating requirements that would automatically fail certification and highlights structures that previously performed poorly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Auditing or building options portfolios, checking expiration and spread shapes, enforcing long-dated call and short-dated spread rules, and screening out known losing structures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/austin-starks/public-portfolio-challenge/options-structure-rules
Install

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.

Any agent
npx skills add austin-starks/Public-Portfolio-Challenge --skill options-structure-rules
Clone the repo
git clone --depth 1 https://github.com/austin-starks/Public-Portfolio-Challenge

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for options-structure-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/austin-starks/public-portfolio-challenge/options-structure-rules/github.svg)](https://agentmods.dev/skills/austin-starks/public-portfolio-challenge/options-structure-rules)
Your own site
<a href="https://agentmods.dev/skills/austin-starks/public-portfolio-challenge/options-structure-rules"><img src="https://agentmods.dev/badge/skills/austin-starks/public-portfolio-challenge/options-structure-rules/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.

agentmods 80×15 button for options-structure-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/austin-starks/public-portfolio-challenge/options-structure-rules"><img src="https://agentmods.dev/badge/skills/austin-starks/public-portfolio-challenge/options-structure-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01207
Opus 5 $0.00048 $0.00603
Sonnet 5 $0.00019 $0.00241
Haiku 4.5 $0.00010 $0.00121

Measured 12d ago against content hash 07053b3b698a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

options-structure-rules 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.

The scan reads SKILL.md. This mod also ships 1 executable file (install.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/options-structure-rules/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Options Structure Rules

The options structure family is settled by episode evidence — only the signal (ranking / weighting / filtering) is normally in play. These are hard constraints; a violation is an automatic certification FAIL.

The spread-shape rule (hard constraint)

  • Long-dated exposure (≥ ~120 DTE) = outright long calls ONLY. Uncapped convexity, no short leg. No long-dated debit or vertical spreads (e.g. a Mar-'27 ATM/+3/+10/+20 capped vertical is a violation and cannot certify).
  • Any debit / vertical spread must be short-dated — expiring in ≤ ~30 DTE. Thin is fine there.

Re-confirm compliance on every finalist by reading leg DTE/strikes from get_portfolio. Violation = automatic FAIL, no exceptions.

Short-dated verticals are candidates, not banned

A prior thin +3%-wide, uncapped, every-name-eligible ≤30-DTE sleeve FAILED cert (theta bleed, fee churn, cratered the April-2025 fold). That disproved one point, not the class. A short-dated wide, share-capped debit spread is a different structure — let the sweep + OOS cert adjudicate it, but instrument it so the failure mode can't hide: width is a gene, sleeve share is a capped gene, and it must clear the same OOS gates plus a turnover/fee guardrail (report per-fold fees + turnover + sleeve share; a prior sleeve ballooned fees to $1.5–8.9k/fold vs the incumbent's ~$100–600 and must survive the April-2025 fold).

The settled structure family

Outright-calls-only momentum-LEAP: a 7-rung deep-OTM ladder (ATM / +10 / +20 / +35 / +50 / +75 / +100% OTM, 365–730 DTE), TP +250%, affordability backfill, SelectTop 21. Alt-data may touch the rank signal, entry filters, per-name tilts, or an overlay condition — never the structure rungs, the spread-shape rule, or the universe.

The take-profit convexity-cap footgun

If multiple "always" take-profit closes exist (e.g. P/L ≥ 20% / 50% / 200%), the lowest one binds first and effectively caps every winner at ~+20% — defeating the uncapped-convexity rationale for outright calls. It is the single most likely reason returns trail a let-winners-run book. Sanity-check the exit ladder for this on any live book; the deploy config uses a single high TP (e.g. +250%) or none.

Read the full file on GitHub · 84 lines

Files

What ships with it

3 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.

Changes

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.

  1. 12d ago First seen · 84 lines · 96 tokens per session scan A 07053b3b698a

Subscribe to this mod's changes

options-structure-rules is a skill published in the GitHub repository austin-starks/Public-Portfolio-Challenge (44 stars, last pushed 4d ago), licensed MIT. It adds 96 tokens to every session and 1,207 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

correlation-analysis

Correlation and cointegration analysis — co-movement discovery, deep return-correlation analysis, sector clustering, realized correlation, Engle-Granger / Johansen cointegration, half-life, Kalman dynamic hedge ratio, cross-market linkage analysis, and pair-trading signal generation.

HKUDS/Vibe-Trading · 57 tokens

social-media-intelligence

Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.

HKUDS/Vibe-Trading · 28 tokens

ashare-pre-st-filter

An A-share China stock risk checker that forecasts whether a company may receive an ST or *ST warning in the next financial year. ST labels are Chinese exchange warnings for companies facing specified financial or regulatory problems.

HKUDS/Vibe-Trading · 89 tokens

credit-analysis

A guide to analysing bonds and other fixed-income investments, including issuer credit quality, interest payments, default risk, credit spreads, and convertible bonds. It also covers Chinese fixed-income markets and local-government financing bonds.

HKUDS/Vibe-Trading · 36 tokens

etf-analysis

A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.

HKUDS/Vibe-Trading · 39 tokens