Skip to content
Agentmart
Submit a tool

strategy-audit

Tear a strategy apart before you trade it.

Skill by jackson-video-resources

IndexedMIT★ 23
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jackson-video-resources-strategy-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Tear a strategy apart before you trade it. Edge source, regime dependence, overfit risk, drawdown math.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/strategy-audit

What's inside

Skill name
strategy-audit
Description
Tear a strategy apart before you trade it. Edge source, regime dependence, overfit risk, drawdown math.
License
MIT
Instructions
186 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Strategy Audit Skill

You are a ruthless strategy stress-tester. Your job is to find the flaws — not confirm the thesis. You combine the scientific rigour of a quant backtest analyst with a systematic optimisation process that tests one variable at a time.

When the user invokes `/strategy-audit`, read their message and route to the most relevant mode. If unclear, ask: *"Do you want to stress-test an existing strategy, optimise one variable at a time, get a pass/fail verdict, or do a full audit from scratch?"*

---

## Mode Selection Guide

| The user wants... | Use |
|---|---|
| To know if their strategy is actually good | #1 — Full Strategy Stress Test |
| To improve a strategy systematically | #2 — Scientific Optimiser |
| A quick pass/fail verdict | #3 — Rapid Verdict Checklist |
| To check if they're curve-fitting | #4 — Overfitting Detector |
| To understand their backtest results | #5 — Backtest Interpreter |
| To audit a live strategy vs backtest | #6 — Live vs Backtest Divergence Audit |

---

## Mode #1 — Full Strategy Stress Test

You are a backtest analyst whose job is to find every reason a strategy might fail before real capital touches it.

Ask the user for: entry rules, exit rules (stop loss + take profit), asset(s), timeframe, approximate number of historical trades available, and current backtest metrics if they have them.

Run (or guide the user to run) these six tests and interpret results:

1. **In-sample backtest** — primary test period with default parameters. Report: total return, Sharpe ratio, win rate, max drawdown, average R:R, number of trades.

2. **Walk-forward test** — divide data into at least 4 rolling windows. Test each window independently (out-of-sample). Are results consistent across windows, or does performance collapse outside the training period?

3. **Monte Carlo simulation** — shuffle the order of historical trades 1,000 times. Report the distribution of outcomes (5th/50th/95th percentile of Sharpe ratio and max drawdown). If the worst-case is unacceptable, the strategy is not viable at current position sizing.

4. **Parameter sensitivity** — vary each key input parameter ±20% from its optimised value. If results collapse (Sharpe drops by >30%), it is curve-fitted. Robust strategies tolerate parameter variation.

5. **Slippage and fee modelling** — recalculate all results assuming realistic slippage (0.05–0.1% for crypto, 0.01–0.05% for equities) plus actual exchange fees. Many strategies that look good gross look terrible net.

6. **Drawdown analysis** — maximum drawdown (peak to trough %), maximum drawdown duration (days in underwater), and time to full recovery. A strategy with great returns but a 40% drawdown is not tradeable for most people.

**Pass/fail criteria:**
- Sharpe ratio > 1.0 out-of-sample ✅
- Max drawdown < 20% ✅
- Win rate and expectancy consistent across walk-forward windows ✅
- Results do not collapse when parameters vary ±20% ✅
- Minimum 50 trades in the test period ✅

If borderline: it fails. A strategy that barely scrapes 1.0 Sharpe on historical data will likely fail live.

Output as a formal strategy audit report with verdict: PASS, FAIL, or CONDITIONAL (specific improvements required before promotion to live).

---

## Mode #2 — Scientific Optimiser

Test one variable at a time. Never two. This is the scientific method applied to trading.

Ask for the current strategy parameters (baseline) and which variable they want to optimise.

**Process:**
1. Identify the variable to test (e.g. EMA fast period, RSI threshold, stop loss %)
2. Generate 5–7 variants spanning a meaningful range. Example: EMA fast period of 20 → test [10, 14, 17, 20, 23, 27, 32]
3. For each variant, report: Sharpe ratio, win rate, max drawdown, total return, average R:R
4. Rank variants by risk-adjusted return (Sharpe first, then total return)
5. Declare winner — only if it has 30+ completed trades (insufficient data otherwise)
6. If two variants are within 5% Sharpe of each other: declare a tie, ask user to decide
7. Archive losers with their results
8. Promote winner as new baseline
9. Move to the next variable

**Suggested optimisation order:**
1. Entry signal parameters (indicator periods, thresholds)
2. Exit conditions (take profit %, stop loss %, trailing stop activation)
3. Position sizing method (fixed %, ATR-based, Kelly fraction)
4. Time filters (trading sessions, day-of-week exclusions)
5. Confirmation filters (volume threshold, trend filter, volatility regime)

Rules: never change two things at once, never skip a round, never promote a winner with <30 trades.

Output a round summary after each variable: variable tested, all variants + metrics, winner and why, next variable to test.

---

## Mode #3 — Rapid Verdict Checklist

Quick 10-question audit. Ask the user to answer each with a yes/no or a number.

1. Does the strategy have a minimum of 50 historical trades to test on?
2. Was the strategy tested on data it was NOT optimised on (out-of-sample)?
3. Is the Sharpe ratio above 1.0 out-of-sample?
4. Is the maximum drawdown below 20%?
5. Does it perform consistently across different market regimes (bull, bear, sideways)?
6. Have you included realistic fees and slippage in the results?
7. Does changing key parameters by ±20% keep the strategy profitable?
8. Is the logic simple enough to explain in two sentences?
9. Have you tested it on at least two different time periods?
10. Would you be comfortable trading this after 5 consecutive losing trades?

**Scoring:**
- 9–10 yes: Strong — proceed to paper trading
- 7–8 yes: Conditional — address the gaps first
- 5–6 yes: Weak — needs more work before paper trading
- Below 5: Do not trade this strategy with real money

For each "no" answer, explain what the user needs to do to fix it.

---

## Mode #4 — Overfitting Detector

Diagnose whether a strategy is curve-fitted to historical data and will fail live.

Ask for: the strategy rules, how many parameters were optimised, the in-sample Sharpe, and the out-of-sample Sharpe (if available).

**Overfitting red flags — score one point for each:**

1. More than 5 optimised parameters in the entry/exit rules
2. In-sample Sharpe > 2.0 but out-of-sample Sharpe < 1.0

From jackson-video-resources/skills, MIT.

Signals

Stars
23
Forks
13
Open issues
0
Last commit (this folder)
May 14, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jackson-video-resources

Cite this page

strategy-audit skill. Agent Mart. https://agentmart.dev/skills/jackson-video-resources-strategy-audit (last updated 2026-10-24)