run-variant-cycle
Skill by tradingstrategy-ai
Creates a variant of a backtesting or optimiser notebook, runs it, and reports the results to GitHub and the chat. It is for researchers who test trading strategies in notebooks.
Install run-variant-cycle
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tradingstrategy-ai/getting-started /tmp/getting-started && mkdir -p ~/.claude/skills && cp -r /tmp/getting-started/.claude/skills/run-variant-cycle ~/.claude/skills/run-variant-cycleRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tradingstrategy-ai/getting-started /tmp/getting-started && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/getting-started/.claude/skills/run-variant-cycle ~/.gemini/antigravity-cli/skills/run-variant-cycleAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill takes an existing backtesting or optimiser notebook, usually a previous experiment or one the user links. It creates a new numbered notebook with updated parameters, a new title, and a reference to the original notebook. For optimiser notebooks, it resets iterations to 18 so the first run finishes sooner.
The skill runs the notebook with the jupyter-execute-agent runner and fixes any bugs it finds. It then summarises the equity curve and key portfolio metrics, checks for lucky single trades or suspicious results, and posts the findings as a GitHub PR comment and a chat message. The source describes it as a workflow for researchers running repeated backtest experiments.
Written from the project's SKILL.md and checked against it.
What it can do
- Create notebook variantCopies a backtest or optimiser notebook into a new numbered file with updated parameters and title.
- Reset optimiser iterationsSets iterations to 18 in optimiser variants so the first run is quicker.
- Run notebookExecutes the notebook with the jupyter-execute-agent runner and reruns it after fixing bugs.
- Analyse resultsAdds a summary metrics table to the notebook and checks positions and equity curve jumps.
- Quantify single tradesUses curator.py to measure whether a result depends on one trade on one vault.
- Post GitHub PR commentPosts the results, charts and notebook viewer URL as a titled PR comment.
- Post chat summarySends the same results to the chat, with the equity curve image where images are supported.
What you need
- Poetry for running the repository commands
- A GitHub pull request, branch and worktree
- The notebook-static-server running on a tailnet URL
Try asking
- Create a variant of my last backtest notebook with a 20-day lookback and run it
- Turn this optimiser notebook into a variant that tests a new target function
- Run a variant of notebook 40 with a different trading universe and post the results to the PR
Good to know
- Notebook viewer URLs are internal tailnet URLs and must not be exposed through a public unauthenticated tunnel
- Optimiser iterations are reset to 18 for the first run, so the user must raise them later
- Results must be posted to a GitHub PR, which requires an open worktree, branch and PR
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/run-variant-cycle/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to run-variant-cycle
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
run-variant-cycle: common questions
What kind of notebook does this skill work on?
It works on backtesting or optimiser notebooks, usually a previous experiment notebook or one linked by the user. The source also covers other research notebooks.
Does it run the notebook automatically?
Yes. It runs the notebook with the jupyter-execute-agent runner, using a subagent, and reruns it after bug fixes.
Where are the results posted?
The results are posted as a GitHub PR comment and as a chat message, including the notebook viewer URL.
How do I install run-variant-cycle?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is run-variant-cycle free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is run-variant-cycle safe to use?
It scores 62 of 100. Grades: maintenance B, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to run-variant-cycle?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
