
algo-setup
Set up the Python environment for OpenAlgo execution skills - venv, openalgo[indicators], vectorbt, talib, scikit-learn, xgboost. Scaffolds strategies/ folder and .env.
- Installs
- 41
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/marketcalls/openalgo-execution-skills --skill algo-setup- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads algo-setup automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Set up the local Python environment for building and running OpenAlgo dual-mode trading strategies.
Arguments
$0 (optional) = python interpreter name (python, python3, python3.12). Default: python.
What to do
-
Detect the OS (Windows / macOS / Linux) via
uname -soros.name. Use OS-specific install commands for the TA-Lib C library (whichpip install ta-libdepends on). -
Create venv if not already present:
python -m venv venv -
Install TA-Lib C library (required by Python
ta-lib):- macOS:
brew install ta-lib - Ubuntu/Debian:
sudo apt install libta-lib-dev(may needsudo apt update) - Windows:
pip install ta-libuses pre-built wheels - no C library install needed
- macOS:
-
Activate venv and install Python packages from
requirements.txt:# Linux/macOS source venv/bin/activate pip install -r requirements.txt # Windows venv\Scripts\activate pip install -r requirements.txt -
Scaffold folders:
strategies/ (empty - generated strategies will land here) backtests/ (empty - generated backtest CSV/HTML output lands here) -
Create
.envby copying.env.sampleand prompt the user to fill inOPENALGO_API_KEY:cp .env.sample .env -
Verify the install by running:
from openalgo import api, ta import vectorbt as vbt import talib import sklearn import xgboost print("OK") -
Print next steps:
Setup complete. Next: 1. Edit .env and set OPENALGO_API_KEY 2. Make sure OpenAlgo is running at http://127.0.0.1:5000 3. Generate a strategy: /algo-strategy ema-crossover SBIN NSE 5m
Avoid
- Do not use icons/emojis in output
- Do not auto-run
OPENALGO_API_KEY=...in the shell - the user pastes it into.envmanually - Do not assume
pipexists outside the venv after step 4 - always activate first
When the user already has a venv
Skip step 2. Activate the existing venv, run pip install -r requirements.txt against it, and continue.
Failure modes
- TA-Lib install fails on Linux: tell the user to run
sudo apt update && sudo apt install build-essential libta-lib-dev. If that fails (older distros), suggest skipping TA-Lib and using onlyINDICATOR_LIB="openalgo"in strategies. - OpenAlgo not running: setup completes but the verify-install step's
from openalgo import apiworks (SDK installs without network). Real connection is verified in/algo-strategy.
FAQ
What does the algo-setup skill do?
Set up the Python environment for OpenAlgo execution skills - venv, openalgo[indicators], vectorbt, talib, scikit-learn, xgboost. Scaffolds strategies/ folder and .env.
How do I install algo-setup?
Run npx skills add https://github.com/marketcalls/openalgo-execution-skills --skill algo-setup in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/algo-setup/ (personal) or .claude/skills/algo-setup/ (project).
Which AI agents can use algo-setup?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is algo-setup safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains algo-setup?
It is published by marketcalls in marketcalls/openalgo-execution-skills. It has 41 recorded installs.
More from marketcalls/openalgo-execution-skills
algo-strategy
marketcalls/openalgo-execution-skills
Open the skill to read its SKILL.md instructions.
algo-options
marketcalls/openalgo-execution-skills
Open the skill to read its SKILL.md instructions.
algo-risk-test
marketcalls/openalgo-execution-skills
Open the skill to read its SKILL.md instructions.
algo-expert
marketcalls/openalgo-execution-skills
Open the skill to read its SKILL.md instructions.
algo-host
marketcalls/openalgo-execution-skills
Open the skill to read its SKILL.md instructions.
algo-portfolio
marketcalls/openalgo-execution-skills
Open the skill to read its SKILL.md instructions.
Popular education & science skills
teach
mattpocock/skills
Teach the user a new skill or concept, within this workspace.
scaffold-exercises
mattpocock/skills
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
paper-context-resolver
lllllllama/rigorpilot-skills
Rigor Paper Context helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacing README guidance by default.
caveman-learn
juliusbrussee/caveman
Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned. Use when asked to lower an agent's token cost, what caveman has saved, to trim a heavy CLAUDE.md, or to offload re-pasted context into cavemem.
gsap-plugins
greensock/gsap-skills
Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.
teach-impeccable
pbakaus/impeccable
DEPRECATED: Use /impeccable teach instead. This command has been folded into the impeccable skill.