python-workspace

python-workspace is a skill for Claude Code from terrylica/cc-skills. It costs 34 tokens per session (1,022 once invoked), scanned A, original, MIT.

A Python workspace for connecting to MetaTrader 5, a platform used for trading and market data, and translating MQL5 indicators into Python. It can export data and compare Python results with MQL5 references.

In plain words
What is it for?
It is for exporting MetaTrader 5 data, translating MQL5 indicators, validating Python implementations, and investigating integration issues.
Why use it?
It helps developers work across the platform's trading-language and Python environments while checking whether translated indicators behave consistently. It also supports troubleshooting that integration.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mql5 plugin — 6 skills shipped together , and of cc-skills

Good fit It is for exporting MetaTrader 5 data, translating MQL5 indicators, validating Python…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terrylica/cc-skills/python-workspace
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add terrylica/cc-skills --skill python-workspace
Clone the repo
git clone --depth 1 https://github.com/terrylica/cc-skills

Made for: Claude Code.

Or install mql5, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for python-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/python-workspace.svg)](https://agentmods.dev/skills/terrylica/cc-skills/python-workspace)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/python-workspace"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/python-workspace.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01022
Opus 5 $0.00017 $0.00511
Sonnet 5 $0.00007 $0.00204
Haiku 4.5 $0.00003 $0.00102

Measured yesterday against content hash c49331bb366b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

python-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mql5/skills/python-workspace/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

  1. Autonomous workflows (headless export, CLI compilation, automated validation)
  2. Validation-driven iteration (>=0.999 correlation gates all work)
  3. Self-correction (documented failures prevent future mistakes)
  4. 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

Read the full file on GitHub · 109 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 109 lines · 34 tokens per session scan A c49331bb366b

Subscribe to this mod's changes

python-workspace is a skill published in the GitHub repository terrylica/cc-skills (62 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 1,022 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.