obai-strategy-routing

Routes trading strategy and backtest requests to the strategy_analysis specialist agent.

11|6|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/sixteen-dev/obai --skill obai-strategy-routing-sixteen-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: obai-strategy-routing
Source: https://github.com/sixteen-dev/obai/tree/main/src/obai/core_agents/hub_skills/obai-strategy-routing
Command: npx skills add https://github.com/sixteen-dev/obai --skill obai-strategy-routing-sixteen-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deciding whether a user request belongs with the strategy specialist and preparing a clean handoff is error-prone: the Hub might design strategies itself, fabricate missing parameters, or mangle the user's exact rule wording. This Skill defines the routing boundary and handoff contract so strategy, backtest, and optimization requests reach the strategy_analysis agent intact. ## Core Features & Use Cases - Intent Classification: Distinguishes strategy design, backtesting, optimization, robustness analysis, and strategy repair from ordinary stock analysis, prediction markets, and pure fundamentals work. - Universe Resolution: Resolves tradable tickers from user input or screener_lookup with supported filters only, defaulting to 20-30 tickers. - Structured Handoff: Populates the three strategy_analysis arguments (user_request verbatim, universe list, context bullets) without inventing parameters or restating user rules. - Terminal Output Relay: Recognizes completed, pending, and error responses from strategy_analysis and relays them verbatim without Hub-authored additions. - Use Case: A user asks to backtest a 5-minute RSI mean-reversion strategy on NVDA; the Skill routes the verbatim request with the resolved universe to strategy_analysis and relays the nine-section result directly. ## Quick Start Ask the assistant to backtest a trading strategy, for example: backtest a momentum strategy on large-cap tech stocks over the past year.

Frequently Asked Questions about obai-strategy-routing

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

FAQPage Schema
How do I backtest a trading strategy with an AI agent?▼

State your strategy rules, tickers, and constraints in plain language; the Hub routes the request to the strategy_analysis specialist, which designs, backtests, and returns a nine-section result. You do not need to specify indicator lengths or risk settings since the Strategy Agent applies defaults.

What requests route to the strategy analysis agent?▼

Requests involving strategy design, backtest execution, optimization, robustness or walk-forward analysis, signal or risk rule generation, strategy comparison, repair, and job follow-ups route to strategy_analysis. Ordinary stock analysis, news summaries, and pure fundamentals work do not.

Does strategy routing handle prediction market backtesting?▼

No. Prediction-market and Polymarket work, including prediction-market backtesting, routes to prediction_market_analysis instead. If a request mixes both intents, each part is routed to its own specialist separately.

How is the ticker universe resolved before a backtest?▼

User-provided symbols are used directly; otherwise screener_lookup resolves names, sectors, or themes using only supported filters like sector, market cap, volume, price, and beta. The default universe size is 20-30 tickers unless the user requests more.

What happens when a backtest request is missing details?▼

If no tradable universe can be resolved, the Hub asks one concise clarifying question. Missing parameters like holding periods or risk settings are not asked about; the Strategy Agent applies its own defaults rather than the Hub inventing values.

Can I follow up on a previous backtest job?▼

Yes. Status checks referencing a stored bt_<id> job are passed through with empty universe and context. Reruns or parameter tweaks must include the prior strategy in context because the Strategy Agent is stateless.