build-strategy-spec

Community

Build validated quant strategy specs for AI agents.

Authorxingwudao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI agents generating quant strategy specifications often hallucinate invalid components, skip required validation steps, or produce inconsistent specs that break the reproducibility of backtest results, which is critical for trustworthy financial research.

Core Features & Use Cases

  • Converts user strategy ideas into valid strategy_spec.yaml files using the official open-xquant component catalog and canonical recipes to eliminate hallucinated custom components.
  • Enforces mandatory component catalog checks, records explicit default choices, and runs deterministic spec validation to ensure spec consistency across different agent runs.
  • Writes structured phase result artifacts for downstream multi-agent orchestration, and blocks invalid actions like inventing custom components or running unauthorized backtests.
  • Use Case: If a user asks an AI agent to build a 20-day ROC timing strategy spec, this skill ensures it uses the official roc_timing recipe instead of a hallucinated component, validates the spec, and outputs the required artifacts for the next research phase.

Quick Start

Use the build-strategy-spec skill to create a validated strategy_spec.yaml for my top 10 positive momentum rotation strategy for US equities.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: build-strategy-spec
Download link: https://github.com/xingwudao/open-xquant/archive/main.zip#build-strategy-spec

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.