← Back to Skills Marketplace
2637
Downloads
0
Stars
22
Active Installs
1
Versions
Install in OpenClaw
/install trading-devbox
Description
Trading strategy development sandbox. User describes trading intent in natural language, agent writes a Python backtest strategy and returns results.
Usage Guidance
This skill is internally inconsistent: it says it will run backtests and return results but the runtime instructions only write a template script to /tmp and print a placeholder; it doesn't provide data sources or dependency installation steps (backtrader is imported but not installed). Before installing or running this skill: 1) Ask the author to clarify how market data is obtained and where results are stored; 2) Request explicit, pinned install steps for dependencies (e.g., pip install backtrader==<version>) rather than leaving the agent to fetch packages; 3) Require the agent to seek explicit user confirmation before executing any generated code or installing packages; 4) Run the skill in an isolated/containerized environment and review the generated strategy.py before execution to avoid arbitrary code running on your machine; 5) If the skill will access exchange APIs, ensure it requests only the minimal credentials needed and documents how they are used. These changes would resolve the main incoherences; absent them, treat the skill cautiously.
Capability Analysis
Type: OpenClaw Skill
Name: trading-devbox
Version: 0.1.0
The skill bundle describes a 'trading-devbox' for generating and backtesting trading strategies. The `SKILL.md` contains instructions for the AI agent to parse user intent, confirm parameters, and generate a Python backtest strategy. The embedded shell commands (`mkdir`, `cat`, `python3`) are used to write and execute a fixed, self-contained Python script (`strategy.py`) in a temporary directory. This Python script uses the `backtrader` library for a basic trading simulation and does not contain any malicious code, network calls, file system access beyond its own execution, or attempts to exfiltrate data. There are no prompt injection attempts within the `SKILL.md` instructions that would lead the agent to deviate from its stated purpose or perform harmful actions. The skill's core functionality involves code generation, which inherently carries risk if the agent's generation logic is flawed, but the provided skill bundle itself does not demonstrate or instruct malicious exploitation of this capability.
Capability Assessment
Purpose & Capability
The skill claims to write and run Python backtests and return results, but it declares no required binaries, dependencies, or credentials. The SKILL.md references backtrader (a third‑party Python package) and backtesting over market data, yet gives no instructions for obtaining market data, installing backtrader, or accessing exchange/data APIs. These omissions are disproportionate to the stated capability.
Instruction Scope
The instructions tell the agent to write /tmp/trading-devbox/strategy.py and run python3 on it. The included strategy.py imports backtrader but only outputs a JSON status message and does not actually perform a backtest or load any market data. There is no guidance about data sources, credentials, or where to store results. Writing files and executing Python is expected for a devbox, but the steps are incomplete and grant the agent discretion to install packages or fetch data if it attempts to complete the workflow — this ambiguity is risky.
Install Mechanism
No install spec is provided (instruction-only), which keeps risk lower because nothing is preinstalled by the skill. However, the instructions import backtrader without telling the agent how to install it; a real agent might attempt to pip install packages at runtime, which could pull arbitrary code from PyPI. The absence of explicit, pinned install steps is a missing and notable detail.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is proportionate to the stated purpose on its face, but because backtesting usually requires market data or exchange API keys, the lack of declared data/credential requirements may indicate incomplete design rather than excessive privilege requests.
Persistence & Privilege
always is false, the skill is user-invocable, and there is no indication it attempts to modify other skills or system-wide settings. File writes are limited to /tmp in the instructions. No elevated persistence behavior is requested.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install trading-devbox - After installation, invoke the skill by name or use
/trading-devbox - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
trading-devbox 0.1.0 – Initial Release
- Introduces a skill that converts natural language trading ideas into backtestable Python strategies using backtrader.
- Parses user intent into structured parameters (asset, entry/exit conditions, timeframe) before strategy generation.
- Confirms parameters with the user and outputs Python code for backtesting.
- Provides clear, structured responses including parsed intent, strategy details, and execution results.
- Supports both English and Chinese user requests for trading strategy development and backtesting.
Metadata
Frequently Asked Questions
What is Trading DevBox?
Trading strategy development sandbox. User describes trading intent in natural language, agent writes a Python backtest strategy and returns results. It is an AI Agent Skill for Claude Code / OpenClaw, with 2637 downloads so far.
How do I install Trading DevBox?
Run "/install trading-devbox" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Trading DevBox free?
Yes, Trading DevBox is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Trading DevBox support?
Trading DevBox is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Trading DevBox?
It is built and maintained by uuz (@uu-z); the current version is v0.1.0.
More Skills