Back to Skills

cot-contrarian-detector

Detect crowded speculative positioning in CFTC futures markets (COT report analysis) to find contrarian setups using Jason Shapiro's methodology. Screens large-speculator ("non-commercial") net positioning across 65 futures markets (indices, rates, FX, metals, energy, crypto) via the FMP Commitment of Traders API, computes a 3-year and 26-week COT Index per market, and classifies extremes as CROWDED_LONG / CROWDED_SHORT. Use when the user asks about COT report analysis, crowded positioning, "who

2,851stars647forksUpdated 9/18/2026

Security Assessment

Safe(100/100)
Security Score100/100
Detailed description not yet generated. View the SKILL.md tab for raw content.

All Files

8 files
references/shapiro-methodology.md7.5 KB
View
scripts/screen_cot_crowding.py25.5 KB
View
SKILL.md7.6 KB
View
requirements.txt0.1 KB
View
scripts/tests/test_cot_index.py6.4 KB
View
references/cot-index-calculation.md7.6 KB
View
scripts/cot_index.py3.5 KB
View
scripts/tests/test_screen_cot_crowding.py20.2 KB
View

Install cot-contrarian-detector

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill