research-agent

Runs bounded quant strategy research loops with backtesting, OOS validation, and robustness scoring.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/lfuuu/claude-rules --skill research-agent-lfuuu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: research-agent
Source: https://github.com/lfuuu/claude-rules/tree/main/market-pilot/skills/research-agent
Command: npx skills add https://github.com/lfuuu/claude-rules --skill research-agent-lfuuu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Quant strategy ideas are mostly noise, and a single attractive backtest often hides overfitting, cost fragility, or regime dependence. This Skill enforces a disciplined, time-boxed research loop in the market-pilot lab that separates genuine statistical edge from randomness, or honestly proves no edge exists in the available data. ## Core Features & Use Cases - Bounded research sessions: Run 1, 2, or 3-hour sessions with hard caps on hypotheses, batches, and experiments, plus periodic progress reports. - Mandatory validation pipeline: Every hypothesis passes through cost-aware backtesting, baseline comparison (buy-and-hold, cash), out-of-sample robustness gates, cross-asset validation, regime alignment, and a unified robustness score before earning candidate status. - Anti-overfitting discipline: Weak ideas are killed early, conclusions use constrained evidence language only, and no live trading, broker access, or trade signals are permitted. - Use Case: Ask for a 2-hour research session to test mean-reversion and breakout hypotheses across at least 3 instruments in 2 asset classes, and receive a final report listing surviving candidates, failed hypotheses with reasons, data gaps, and a bounded next-experiment plan. ## Quick Start Run a 2-hour research session with /research-agent 2 to test strategy hypotheses and report robust candidates or evidence of no edge.

Frequently Asked Questions about research-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a quant strategy research session?

Invoke /research-agent with a duration of 1, 2, or 3 hours, defaulting to 2. The session generates hypotheses, runs bounded backtest batches, applies cost and out-of-sample gates, and ends with a structured report of surviving candidates and failed ideas.

How does the skill prevent backtest overfitting?

It mandates net-of-costs evaluation, baseline comparison against buy-and-hold and cash, out-of-sample testing with at least 3 windows, cross-asset validation, and a unified robustness score. Single-instrument or single-regime results are rejected as localized or asset-specific.

Can this skill place trades or give buy and sell signals?

No. Hard invariants prohibit live trading, broker access, real orders, and any trading advice or entry signals. All conclusions are framed strictly as historical simulation evidence such as research candidate or degraded out-of-sample.

What tools does the research loop use for backtesting?

It uses the market_pilot Python CLI: read-only inventory commands, run-batch and run-simulation for bounded experiments, run-robust and run-robust-multi for OOS validation, and the multiasset library for portfolio combination, baselines, and robustness scoring.

What are the limitations of a single research session?

Sessions are capped at 30-90 experiments depending on duration, multi-instrument runs are capped at 4 instruments, and results depend on available data quality such as OHLCV coverage and history length. Conclusions remain preliminary evidence under constraints, never proof of profitability.