deadline-drift

deadline-drift is a skill for Claude Code from Superior-Trade/superior-skills. It costs 19 tokens per session (568 once invoked), scanned A, original, MIT.

A trading strategy for prediction markets whose probability may change as the date for resolving a contract gets closer. Polymarket is a platform where people trade contracts tied to future events, and the strategy studies price movement near the contract deadline.

In plain words
What is it for?
Use it to study before-date, weekly or monthly threshold, election-timing, and similar Polymarket contracts. It helps compare trade times with market end dates, test gradual or sudden repricing, and decide whether to exit before settlement.
Why use it?
It provides a way to examine whether prices tend to drift as a deadline approaches, instead of treating all price changes as unrelated. It also highlights that historical movement near deadlines is not the same as a true forecast of the event’s probability.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the superior-skills plugin — 31 skills shipped together

Good fit Use it to study before-date, weekly or monthly threshold, election-timing, and similar Polymarket contracts. It helps compare trade times with market end dates, test gradual or sudden repricing, and decide whether to exit before settlement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/superior-trade/superior-skills/deadline-drift
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 Superior-Trade/superior-skills --skill deadline-drift
Clone the repo
git clone --depth 1 https://github.com/Superior-Trade/superior-skills

Made for: Claude Code.

Or install superior-skills, the plugin that ships this one along with the rest of its 31 skills.

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 deadline-drift

README.md
[![agentmods](https://agentmods.dev/badge/skills/superior-trade/superior-skills/deadline-drift/github.svg)](https://agentmods.dev/skills/superior-trade/superior-skills/deadline-drift)
Your own site
<a href="https://agentmods.dev/skills/superior-trade/superior-skills/deadline-drift"><img src="https://agentmods.dev/badge/skills/superior-trade/superior-skills/deadline-drift/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 deadline-drift

Your own site · 80×15
<a href="https://agentmods.dev/skills/superior-trade/superior-skills/deadline-drift"><img src="https://agentmods.dev/badge/skills/superior-trade/superior-skills/deadline-drift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 568 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.00019 $0.00568
Opus 5 $0.00010 $0.00284
Sonnet 5 $0.00004 $0.00114
Haiku 4.5 $0.00002 $0.00057

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

Security

Grade A, and why

deadline-drift 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 6d ago.

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/deadline-drift/SKILL.md · 73 lines

How it starts

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

Strategy: Polymarket · Deadline Drift

When to use

Use this for before-date contracts, monthly/weekly threshold markets, election timing markets, or requests where time remaining is the core thesis.

What the agent should look for

  • Canonical Polymarket market from GET /context/markets?venue=polymarket.
  • Reliable market_end from market metadata.
  • Time remaining during the candidate backtest window.
  • Probability drift near deadline in the filled history.
  • Whether the market reprices gradually or with sharp catalyst jumps.
  • User preference for holding to settlement or exiting earlier.

Backtest fit with filled data

Moderate fit. Filled TradeTick data can show whether price drifted in line with deadline pressure and whether exits would usually occur before binary resolution.

Limit: this does not produce true fair-probability forecasts; it only tests historical price behavior around deadlines.

Strategy logic

Enter when drift aligns with time decay or deadline acceleration. Exit before settlement unless the user explicitly asks for binary exposure into resolution.

Nautilus strategy shape

  • Use on_trade_tick.
  • Compare trade timestamp to market_end.
  • Trade only between min_days_to_end and max_days_to_end.
  • Exit using an exit_buffer_hours cutoff.

Example strategyConfig

{
  "market_end": "2026-07-01T00:00:00Z",
  "min_days_to_end": 2,
  "max_days_to_end": 21,
  "drift_threshold": 0.015,
  "order_size": 10,
  "exit_buffer_hours": 12
}

Iteration knobs

Knob Effect
min_days_to_end Avoids entering too close to settlement.
max_days_to_end Avoids entering when the deadline is still distant.
drift_threshold Higher values require stronger deadline repricing.
exit_buffer_hours Larger buffers reduce resolution timing risk.

Failure modes

  1. Market rules can resolve differently than expected.
  2. Event risk can overwhelm smooth drift behavior.
  3. Short windows overfit to one cycle.
  4. Holding through settlement can produce binary outcomes unrelated to interim PnL.

Read the full file on GitHub · 73 lines

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. 6d ago Changed 75d5b2eba818
  2. 11d ago First seen · 73 lines · 19 tokens per session scan A 534b1a0e40ab

Subscribe to this mod's changes

deadline-drift is a skill published in the GitHub repository Superior-Trade/superior-skills (209 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 568 once invoked, about $0.0001 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