Skip to content
Data
Skill

/historical-comparison

Twin decision-support. Chains event-study (what happened around a specific event) with historical-analog-finder (what usually happens in setups like now). Useful before making a call where both name-specific event evidence and market-wide regime analog matter. Also runs

From plugin
quant-garage
761 skills

Claude Code

$ npx -y skills add rgourley/quant-garage --skill historical-comparison --agent claude-code

SKILL.md

historical-comparison.SKILL.md
name: historical-comparison
description: Twin decision-support. Chains event-study (what happened around a specific event) with historical-analog-finder (what usually happens in setups like now). Useful before making a call where both name-specific event evidence and market-wide regime analog matter. Also runs analog-only mode when no ticker is supplied.

historical-comparison

Twin comparison: event-study on the ticker + historical-analog-finder on the market. The idea: don't rely on one anchor when you can use both.

When to invoke

  • Analyst wants both "here's what happened around this specific event"

and "here's what usually happens in setups like this"

  • Before a directional call where both name-specific and market

context matter

  • Analog-only mode (no ticker): just the market regime forward

distribution

Modes

  • **Event mode**: pass ticker + event_class + optional event_date /

period. Both event and analog run.

  • **Analog-only**: pass `include_event=False`. Only the market

analog runs.

What you get back

**Layer 1 JSON** matching [`output-schema.json`](./output-schema.json). Headline distills the T+5 CAR + prior percentile from event-study plus the median/IQR/hit-rate at 90d from the analog.

**Layer 2 rendered brief**. See [`references/rendering.md`](./references/rendering.md).

@rgourley
Ships withquant-garage

Trade like a pro. Without the terminal. View the full landing page → Quant and equity research tools that run inside Claude, or behind your own UI.

Stars on GitHub

Momentum

stars in total
7
Star history of rgourley/quant-garage on GitHub, a chart by star-history.com

Other skills on quant-garage.

8-k-scanner

8-k-scanner

Scan SEC 8-K disclosures across a single ticker or a watchlist using Massive's pre-parsed disclosure taxonomy. Groups the…

analyst-tracker

analyst-tracker

Track sell-side analyst positioning on a name via Benzinga Analyst Ratings. Pulls every rating event over the lookback window,…

backtest-data-prep

backtest-data-prep

Build a clean, point-in-time, ready-to-backtest OHLCV dataset for a US equity universe across an arbitrary date window. Emits…

commodity-cycle

commodity-cycle

Single-commodity macro read. Answers "is this commodity in a winning or losing macro setup right now" and names the macro driver…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog11d41k
@posthog@posthogInstall Skill

Questions about historical-comparison.

Which coding agents can use historical-comparison?
historical-comparison 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.