Strategy Development Manager: convert academic papers and research reports into validated factors and strategies with automated backtesting, persistent storage, and decay monitoring.
61
72%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./agent/src/skills/strategy-dev-manager/SKILL.mdSDM orchestrates the full lifecycle from academic paper or research report to validated factor or strategy. It ingests documents, extracts quantitative signals, implements and backtests them through the existing tool chain, evaluates results against statistical thresholds, and monitors long-term decay. SDM does not reinvent any step. It delegates to the tools already available (read_document, factor_analysis, backtest, alpha_bench, and the hypothesis/autopilot stack) and adds a thin coordination layer with persistent artifact tracking.
Use this skill whenever a user wants to go from "here is a paper" to "I have a working, monitored factor or strategy in the system."
Decision tree for routing user requests:
sdm_status(action="disable", artifact_id=...)sdm_status(action="enable", artifact_id=...)sdm_status(action="list")When the user's intent spans multiple phases (for example "read this paper and build a factor"), run the phases sequentially from INGEST through EVALUATE.
Parse the source document and classify its content.
read_document(paper_path) to extract the full text from the PDF or report.Turn the parsed content into structured artifact definitions.
For factors, extract:
name: short identifier (for example "momentum_12_1")formula_latex: the mathematical formula as written in the papervariables: list of input variables and their meaningscolumns_required: OHLCV columns or fundamental fields neededuniverse: target market (for example "equity_us", "equity_cn")decay_horizon: recommended holding period in trading daysFor strategies, extract:
name: short identifierentry_rules: conditions that trigger a long or short positionexit_rules: conditions that close a positionposition_sizing: how to allocate capital across selected instrumentsrisk_management: stop-loss, max drawdown, exposure limitsuniverse: target marketcolumns_required: data fields neededDeduplication check: call alpha_bench or check sdm_status(action="list") to see if a similar artifact already exists. If the Pearson IC between the new factor and an existing alpha exceeds 0.99, treat it as a duplicate and stop. IC between 0.90 and 0.99 may be a variant worth keeping with a note.
Register the artifact: call sdm_register(artifact_type, name, universe, ...) to persist the extracted definition with status "extracted".
After ingesting a paper via read_document, check the ocr_quality field in the response:
quality_flag == "good": proceed with extractionquality_flag == "degraded": warn user that some pages could not be OCR'd, suggest manual reviewquality_flag == "no_ocr_engine": suggest installing an OCR engine — pip install rapidocr_onnxruntime for local, or set VIBE_TRADING_OCR_ENGINE=llm-vision to use a vision-capable LLM model (GPT-4o, Qwen-VL, etc.) via your existing provider configtext_density < 100: flag as potentially low-quality extraction, suggest verifying formulas manuallyBuild the SignalEngine, run the backtest, and link results.
create_hypothesis(title, thesis, universe, signal_definition) to create a research hypothesis that tracks this work.generate_backtest_config(hypothesis_id, start_date, end_date) to produce the config.json for the backtest runner.scaffold_signal_engine(hypothesis_id, run_dir) to generate the skeleton signal_engine.py in the run directory.signal_engine.py using the appropriate template from templates/:
templates/factor_signal_engine.pytemplates/strategy_signal_engine.pybash("python -c \"import ast; ast.parse(open('code/signal_engine.py').read()); print('OK')\"")backtest(run_dir) to execute the backtest.link_autopilot_backtest(hypothesis_id, run_dir) to link the run results back to the hypothesis.sdm_status(action="detail", artifact_id=...) and update the artifact status to "benching".Judge the backtest output against quality thresholds.
For factors: call factor_analysis with the factor CSV and return CSV. Check:
For strategies: read artifacts/metrics.csv and run_card.json. Check:
If the artifact is alive (meets thresholds):
factors/zoo/ and update status to "active"If the artifact is dead (fails thresholds):
Record bench results via sdm_status update so the history is queryable.
Track artifact health over time and handle decay.
sdm_decay_scan(universe=...) for batch monitoring across all active artifacts in a universe.references/decay_thresholds.md)active → monitoring when any metric enters "Warning"monitoring → decayed when metrics stay in "Decayed" for 3+ consecutive scansdecayed → disabled when metrics enter "Critical"monitoring → active when metrics recover to "Healthy" for 2+ consecutive scans| Tool | Phase | Purpose |
|---|---|---|
read_document | 1 | Parse PDF papers and reports |
sdm_register | 2 | Register extracted factor or strategy |
sdm_status | 2, 3, 4, 5 | Query or update artifact lifecycle status |
alpha_bench | 2 | Deduplication check against existing alphas |
create_hypothesis | 3 | Create a research hypothesis |
generate_backtest_config | 3 | Generate backtest config.json |
scaffold_signal_engine | 3 | Generate SignalEngine skeleton |
backtest | 3 | Execute the backtest |
link_autopilot_backtest | 3 | Link backtest results to hypothesis |
factor_analysis | 4 | IC/IR analysis for factor artifacts |
sdm_decay_scan | 5 | Batch decay monitoring |
The generated signal_engine.py MUST satisfy the backtest runner contract:
class SignalEngine:
def __init__(self):
"""No-arg constructor. All parameters must have defaults."""
...
def generate(self, data_map: dict[str, pd.DataFrame]) -> dict[str, pd.Series]:
"""
Args:
data_map: symbol -> DataFrame (columns: open, high, low, close, volume,
DatetimeIndex). May include extra fields from config.extra_fields
or config.fundamental_fields.
Returns:
symbol -> signal Series (float, clipped to [-1.0, 1.0])
1.0 = fully long, 0.5 = half position, 0.0 = flat, -1.0 = fully short
"""
...Hard constraints:
SignalEngineif __name__ == "__main__" blockSelf-check before marking any phase complete:
LLMs may generate plausible-looking formulas that do not appear in the paper. ALWAYS cross-check the extracted formula against the original document text. If the paper uses notation you cannot parse, ask the user to confirm.
IC > 0.99 means the factor is a duplicate. IC between 0.90 and 0.99 may be a variant. Use judgment: if the formula is structurally different but produces similar signals, note it as a variant rather than rejecting it outright.
Decay monitoring requires at least 3 bench history entries to establish a baseline. A newly registered artifact with only one backtest cannot be meaningfully scanned for decay.
Strategy-type artifacts need the strategy SignalEngine template (with entry/exit/position logic), not the factor template. Using the wrong template produces a SignalEngine that compiles but generates meaningless signals.
Factor values must use data from day T and earlier. Returns must use data from T+1 onward. The delta(df, d) operator enforces d >= 1 to prevent lookahead. Never use Ref(df, -n) style negative shifts.
Two SignalEngine templates are provided in templates/:
factor_signal_engine.py: for factor-type artifacts. Computes a cross-sectional factor value per instrument per date, then ranks and clips to [-1.0, 1.0].strategy_signal_engine.py: for strategy-type artifacts. Implements entry/exit rules with position sizing and risk management.references/decay_thresholds.mdexamples.mdsrc/factors/base.py (rank, zscore, scale, ts_mean, ts_std, ts_rank, ts_corr, ts_cov, ts_max, ts_min, ts_argmax, ts_argmin, delta, decay_linear, signed_power, safe_div, vwap)8643fcd
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.