residual-edge-analyzer SKILL.md skillA

residual-edge-analyzer from tradermonty/claude-trading-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tradermonty/claude-trading-skills/residual-edge-analyzer@git:20260926.20ac1d6

Pins git:20260926.20ac1d6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tradermonty/claude-trading-skills
Path
skills/residual-edge-analyzer/SKILL.md
Versions recorded
3
Latest version
git:20260926.20ac1d6, committed Sep 26, 2026
First version recorded
Jul 31, 2026
Size
5,965 bytes
Repository stars
3,682
License
MIT

Separate a strategy return series into declared baseline exposure and residual edge with returns-based OLS attribution, HAC inference, rolling stability, alternate-baseline sensitivity, and regime breakdowns. Use when evaluating whether backtest, out-of-sample, or live returns contain independent alpha beyond market, equal-weight, momentum, sector, or user-supplied factor returns; when explaining whether a drawdown came from baseline exposure or strategy-specific behavior; or when a strategy…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Residual Edge Analyzer

## Overview

Test whether a strategy's apparent performance survives explicit comparison with
predeclared baseline return series. Produce an auditable JSON artifact and a concise
Markdown report without fetching data or changing trading exposure.

Treat this as a falsification gate after `backtest-expert`, not as trade authorization.

## Prerequisites

- Use Python 3.9+.
- Prepare one CSV containing an ISO date, strategy return, and every baseline return on
  the same row.
- Prepare a JSON specification following the
  [input contract](https://github.com/tradermonty/claude-trading-skills/blob/main/skills/residual-edge-analyzer/references/input-contract.md).
- Supply actual period returns. Do not substitute CAGR, Sharpe, cumulative P&L, or other
  summary metrics.

## Workflow

### 1. Define the question before inspecting results

State the claimed independent edge in one sentence. Select a primary baseline that is a
plausible simple copy of the strategy, then select at least one alternate baseline model.

Record these declarations in the config:

- `baseline_selection: predeclared`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tradermonty/claude-trading-skills/residual-edge-analyzer@sha256:13fd8e02dfc7359a

The line at the top of this page pins the label git:20260926.20ac1d6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qrktpjdnbcifn4ib.svg)](https://markdownregistry.com/a/art_qrktpjdnbcifn4ib)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jul 31, 2026 and Sep 26, 2026, about one every 28 days.

versioncommittedcommitsizeaudit
git:20260926.20ac1d6 latest2026-09-26 20ac1d6 5,965 BA view · diff
git:20260731.be5d8912026-07-31 be5d891 5,882 BA view · diff
git:20260731.af8b7a32026-07-31 af8b7a3 5,601 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5965 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tradermonty/claude-trading-skills · 3,682 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qrktpjdnbcifn4ib
GET https://markdownregistry.com/api/v1/resolve?ref=tradermonty/claude-trading-skills/residual-edge-analyzer
GET https://markdownregistry.com/api/v1/blob/13fd8e02dfc7359a1703ec0935567ae485dedf7cba3b3203942dd826689371c0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tradermonty/claude-trading-skills

CLAUDE.md CLAUDE.md file
tradermonty/claude-trading-skills · CLAUDE.md
git:20261107.6d98c9e · audit A · 3,682 stars
CLAUDE.md@examples/daily-market-dashboard CLAUDE.md file
tradermonty/claude-trading-skills · examples/daily-market-dashboard/CLAUDE.md
git:20260413.89fa8d0 · audit A · 3,682 stars
breadth-chart-analyst SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/SKILL.md · This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA…
git:20260310.0212bbc · audit A · 3,682 stars
earnings-calendar SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/earnings-calendar/SKILL.md · This skill retrieves upcoming earnings announcements for US stocks using the Financial Modeling Prep (FMP) API. Use…
git:20260310.0212bbc · audit A · 3,682 stars
economic-calendar-fetcher SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/SKILL.md · Fetch upcoming economic events and data releases using FMP API. Retrieve scheduled central bank decisions, employment…
git:20260319.e15c609 · audit A · 3,682 stars
market-environment-analysis SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/market-environment-analysis/SKILL.md · Comprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian…
git:20260310.0212bbc · audit A · 3,682 stars
market-news-analyst SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/market-news-analyst/SKILL.md · This skill should be used when analyzing recent market-moving news events and their impact on equity markets and…
git:20260310.0212bbc · audit A · 3,682 stars
sector-analyst SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/sector-analyst/SKILL.md · This skill should be used when analyzing sector and industry performance charts to assess market positioning and…
git:20260310.0212bbc · audit A · 3,682 stars
stanley-druckenmiller-investment SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/SKILL.md · スタンレー・ドラッケンミラーの投資哲学と戦略に基づいた投資アドバイスを提供。30年間無敗、年率30%近いリターンを達成した伝説的投資家の思考法を活用し、マクロ経済分析、リスク管理、ポジション構築、市場サイクルの読み方などについて実践的な指導…
git:20260310.0212bbc · audit A · 3,682 stars
technical-analyst SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/technical-analyst/SKILL.md · This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex…
git:20260310.0212bbc · audit A · 3,682 stars
us-market-bubble-detector SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/SKILL.md · Evaluates market bubble risk through quantitative data-driven analysis using the revised Minsky/Kindleberger framework…
git:20260310.0212bbc · audit A · 3,682 stars
us-stock-analysis SKILL.md skill
tradermonty/claude-trading-skills · examples/weekly-trade-strategy/.claude/skills/us-stock-analysis/SKILL.md · Comprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation)…
git:20260310.0212bbc · audit A · 3,682 stars

Every file in tradermonty/claude-trading-skills

Browse by kind, by grade A, or by owner.