lo2cin4/lo2cin4bt/lo2cin4bt-strategy-builder
Claude Code and agent skill by lo2cin4/lo2cin4bt
- community
Checking that the SKILL.md file is still in the repository.
Repo-local strategy builder skill for lo2cin4bt. Use when converting plain-language strategy ideas into supported, needs-clarification, or unsupported verdicts, and when drafting strategy run or WFA configs from Strategy Building Blocks.
Install
npx vskill@latest install lo2cin4/lo2cin4bt/lo2cin4bt-strategy-builderSKILL.md
The same SKILL.md was published earlier as lo2cin4/lo2cin4bt/lo2cin4bt-strategy-builder.
lo2cin4bt Strategy Builder Skill
Purpose
Translate strategy concepts into precise executable config semantics that compile into the shared Rust engine without family-specific runtime code.
Use When
Use for new or revised strategy configs, profile selection, parameter domains, risk behavior, identity, and strategy summary generation.
Inputs
- User strategy concept and constraints.
- Current schemas, op registry, examples, runtime architecture, and identity contract.
- Explicit data, timing, costs, benchmark, risk, and validation requirements.
Workflow
Return a capability verdict, map the idea to supported building blocks, write config only when complete, derive identity and summary from executable fields, then validate.
Language Policy
- Use
response_languagefrom the PM packet when present; otherwise infer it from the latest user message. - If the user writes in Chinese or asks for Chinese, write Traditional Chinese for all non-specialist wording.
- Keep code identifiers, file paths, commands, schema keys, agent/skill names, ticker symbols, provider names, and standard finance/quant abbreviations exact. For mixed technical terms, write Chinese first with English in parentheses where useful, e.g. 夏普率 (Sharpe), 前向分析 (WFA).
- Return
response_languagein the output packet. When writing repo-local reports, apply the same language policy to the report body.
Safety Notice
Strategy-building output is local research support only. It is not investment advice, trading advice, financial advice, or an instruction to trade.
Required Reads
skills/lo2cin4bt/references/runtime-architecture.mdskills/lo2cin4bt/references/strategy-authoring-template.mdskills/lo2cin4bt/references/strategy-config-fields.mdskills/lo2cin4bt/references/indicator-recipes.mdskills/lo2cin4bt/references/computed-field-building-blocks.mdskills/lo2cin4bt/references/strategy-identity-and-summary.mdbacktester/contracts/strategy_authoring/strategy-authoring-layers-v1.json- Relevant schemas under
backtester/contracts/strategy/
Capability Verdict
Return one verdict before writing any runnable config:
supportedneeds_clarificationunsupported_needs_new_building_block
Parse The Strategy Into
- asset or universe
- data provider
- typed execution and decision
BarSpec - session calendar and timezone inside
data.bar_time.session_model - strategy mode and workflow
- short human strategy concept for
platform.display_label - computed fields
- signals
- selection
- allocation
- rebalance
- fill timing
- costs and slippage
- benchmark
- risk gates
- parameter domains
- outputs
Rules
- Define calculations in
computed_fields[]before using them. - Read the generated operation registry and computed-field catalog. Use canonical operation names; do not infer support from memory.
- Do not use inline feature nodes.
- Treat condition logic, comparators, cross conditions, calendars, fill timing, and strategy templates as separate Strategy Building Block types.
- For any named pattern, custom signal, or undefined setup, ask for observable OHLCV conditions first.
- For same-session fills, prove the signal is known before the fill or reject it.
- Do not write a runnable config for unsupported behavior.
- Treat
platform.display_labelas a concise human summary only; never place executable behavior solely in the label ormetadata.notes. - Derive
result_selector_previewandstrategy_logic_previewfrom the completed config before calling it runnable. - Treat every profile as an authoring and validation shape that compiles into the same engine request. Never add a per-family runtime path or a Python strategy calculator.
Strategy Coverage Contract
- Read the current public profiles and authoring presets from
backtester/contracts/strategy/mode-registry-v1.json; do not rely on a memorized family list. - Read supported operations from
backtester/ops/registry.pybefore returningsupported. - A strategy is writable only when its data, calculations, signals, selection/allocation, rebalance, fills, costs/slippage, risk, benchmark, parameter domains, and validation workflow are explicit and schema-valid.
- New public profiles, presets, or operations require updated registry/schema evidence and tests. The Skill must fail closed rather than silently approximate an unknown concept.
- “Can write a strategy” means producing a validated config and config-derived identity/summary. It does not mean every imaginable trading idea is already implemented.
Default Strategy Development Workflow
- Check existing Strategy Building Blocks and registry ops before proposing new code.
- If existing blocks cover the idea, write a config-only
strategy_rundraft. - Put all derived values in
computed_fields[], then reference those names fromsignals,selection, orallocation. - Compose research formulas from generic math, transform, rolling-window, and cross-sectional operations before proposing a new strategy-specific block.
- Use
fill_modelfor timing, price basis, cost, slippage, accounting, and session assumptions. - Use
wfa_runonly as a wrapper that references a strategy config; do not duplicate strategy logic inside WFA. - Check the name and logic contract in
skills/lo2cin4bt/references/strategy-identity-and-summary.md. - Run schema/support validation before calling any config runnable.
- Route strategy, data, WFA, cost/slippage, look-ahead, or backtest validity changes to
lo2cin4btTradingRiskReviewAgent.
Missing OP / Building Block Flow
When an idea needs a missing OP, unsupported pattern/setup, order model, or calendar rule:
- Return
needs_clarificationif the observable definition, data timing, entry, exit, invalidation, or fill timing is unclear. - Return
unsupported_needs_new_building_blockwhen no supported OP exists. - Do not write a runnable config until the missing block is implemented and reviewed.
- Required implementation deliverables are:
- registry entry and public op name
- runtime implementation
- schema or validator coverage
- oracle tests for no-look-ahead behavior
- golden/parity tests for expected signals or trades
- docs/examples that label the feature accurately
- quant safety metadata covering observation time, data availability time, earliest trade time, warmup/lookback, cost/slippage, WFA train/OOS behavior, and missing-data policy
- For Pine Script translations, separate pattern detection, setup state, order model, exits, and visualization-only labels before deciding what lo2cin4bt must implement.
Repo-Local Report Output
When ProjectManager asks for a durable repo-local report, write Markdown under workspace/reports/agents/<agent_name>/YYYY-MM-DD_<short-topic>.md and return repo_agent_report_path in the output packet. Use this for WorkAgent and private snapshot reports; keep Company-level closeout separate unless ProjectManager explicitly asks for it.
Output Format
Outputs
- Capability verdict and, only when supported, a validated
strategy_runconfig. - Config-derived result selector and Strategy Logic previews.
Path Rules
- Schemas and examples:
Repo\backtester\contracts\. - Local runnable configs: ignored
Repo\workspace\runs\. - Never create a new strategy-family source folder or compatibility config mapper.
Validation
Pass criteria: schema and support checks pass, previews derive from executable config, and the config compiles toward the shared EngineRequest.
Fail action: return needs_clarification or unsupported_needs_new_building_block; do not emit a fake runnable config.
Report Requirements
Record the capability verdict, building blocks checked, config paths, semantic summary, validation commands, quant-review trigger, and unresolved assumptions.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lo2cin4bt-strategy-builder/SKILL.md
Popularity
- Repository stars
- 290
- Repository forks
- 40
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lo2cin4/lo2cin4bt/lo2cin4bt-strategy-builder)