
python-workspace
Python workspace for MQL5 integration. TRIGGERS - MetaTrader 5 Python, mt5 package, MQL5-Python setup.
- Installs
- 129
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/terrylica/cc-skills --skill python-workspace- 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 python-workspace 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.
MQL5-Python Translation Workspace Skill
Seamless MQL5 indicator translation to Python with autonomous validation and self-correction.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
When to Use This Skill
Use this skill when the user wants to:
- Export market data or indicator values from MetaTrader 5
- Translate MQL5 indicators to Python implementations
- Validate Python indicator accuracy against MQL5 reference
- Understand MQL5-Python workflow capabilities and limitations
- Troubleshoot common translation issues
Activation Phrases: "MQL5", "MetaTrader", "indicator translation", "Python validation", "export data", "mql5-crossover workspace"
Core Mission
Main Theme: Make MQL5-Python translation as seamless as possible through:
- Autonomous workflows (headless export, CLI compilation, automated validation)
- Validation-driven iteration (>=0.999 correlation gates all work)
- Self-correction (documented failures prevent future mistakes)
- Clear boundaries (what works vs what doesn't, with alternatives)
Project Root: ~/Library/Application Support/CrossOver/Bottles/MetaTrader 5/drive_c
Workspace Capabilities Matrix
WHAT THIS WORKSPACE CAN DO
1. Automated Headless Market Data Export (v3.0.0)
Status: PRODUCTION (0.999920 correlation validated)
What It Does:
- Fetches OHLCV data + built-in indicators (RSI, SMA) from any symbol/timeframe
- True headless via Wine Python + MetaTrader5 API
- No GUI initialization required (cold start supported)
- Execution time: 6-8 seconds for 5000 bars
Command Example:
CX_BOTTLE="MetaTrader 5" \
WINEPREFIX="$HOME/Library/Application Support/CrossOver/Bottles/MetaTrader 5" \
wine "C:\\Program Files\\Python312\\python.exe" \
"C:\\users\\crossover\\export_aligned.py" \
--symbol EURUSD --period M1 --bars 5000
Use When: User needs automated market data exports without GUI interaction
Limitations: Cannot access custom indicator buffers (API restriction)
Reference: /docs/guides/WINE_PYTHON_EXECUTION.md
Reference Documentation
For detailed information, see:
- Capabilities Detailed - In-depth capability documentation
- Complete Workflows - End-to-end user workflows
- Troubleshooting & Errors - Requirements, assumptions, error patterns
- Validation Metrics - Success metrics and version history
Troubleshooting
| Issue | Cause | Solution |
|---|---|---|
| Wine Python not found | CrossOver/Wine not installed | Install CrossOver, verify bottle path |
| MT5 API connection failed | MetaTrader not running | Launch MetaTrader 5 before running export |
| Correlation below 0.999 | Indicator mismatch | Verify warmup periods, check calculation alignment |
| Custom indicator not working | API restriction | Use CSV export from MT5, not Python API |
| UnicodeDecodeError | Windows path encoding | Use raw strings for Windows paths in Wine |
| Symbol not found | Wrong symbol format | Use exact MT5 symbol name (e.g., EURUSD not EUR/USD) |
| Timeout on export | Too many bars requested | Reduce bar count, default 5000 is safe |
| Permission denied | Wine prefix incorrect | Set WINEPREFIX to correct CrossOver bottle path |
Post-Execution Reflection
After this skill completes, check before closing:
- Did the command succeed? — If not, fix the instruction or error table that caused the failure.
- Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
- Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.
Only update if the issue is real and reproducible — not speculative.
FAQ
What does the python-workspace skill do?
Python workspace for MQL5 integration. TRIGGERS - MetaTrader 5 Python, mt5 package, MQL5-Python setup.
How do I install python-workspace?
Run npx skills add https://github.com/terrylica/cc-skills --skill python-workspace 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/python-workspace/ (personal) or .claude/skills/python-workspace/ (project).
Which AI agents can use python-workspace?
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 python-workspace 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 python-workspace?
It is published by terrylica in terrylica/cc-skills. It has 129 recorded installs.
More from terrylica/cc-skills
mise-tasks
terrylica/cc-skills
Orchestrate multi-step project workflows using mise task definitions with dependency management and argument handling. Use whenever the user.
pandoc-pdf-generation
terrylica/cc-skills
PDF generation from markdown via Pandoc/XeLaTeX. TRIGGERS - markdown for PDF, print document, pandoc
mql5-indicator-patterns
terrylica/cc-skills
MQL5 indicator development patterns. TRIGGERS - MQL5 indicator, OnCalculate, indicator buffers, MetaTrader 5.
python-logging-best-practices
terrylica/cc-skills
Open the skill to read its SKILL.md instructions.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.