orquestate
Skill17 starsChanged 7 months agoMITView on GitHub
Orquestar cuentas MetaTrader 5 del workspace actual usando MQL5\Scripts\interface.py, archivos accounts/account_id/info.md, accounts/account_id/bots.ini y notificaciones Telegram. Use when Codex is asked to orchestrate accounts, coordinate account-specific bots, prepare or inspect bots.ini for an MT5 account, or notify the configured Telegram chat/channel about account orchestration status.
- Reads credentials
In this repository12 other files it gives its agents.
- analyzeSkill
- candles-and-seriesSkill
- captions-davinciSkill
- compile-mql5Skill
- edit-davinciSkill
- expert-advisorsSkill
- forgeSkill
- gitSkill
- interfaceSkill
- optimizationSkill
- paint-objectsSkill
- run-backtestsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 97
No crear bots.ini con conjeturas sobre bots, simbolos, timeframes, lotaje, riesgo o parametros.
- Very specific: line 98
No modificar bots.ini existente salvo que el usuario lo pida o confirme cambios concretos.
- Distinctive: line 101
No enviar credenciales por Telegram ni mostrarlas en la respuesta.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Orquestate
Flujo
Orquesta siempre desde la cuenta MT5 actualmente conectada. Trata cualquier orden o cambio de trading como una operacion live: no abras, cierres ni edites operaciones salvo que el usuario lo pida explicitamente.
- Consultar la cuenta actual con la skill
interface:
cd C:\Users\<user-id>\AppData\Roaming\MetaQuotes\Terminal\<terminal-id>\MQL5\Scripts
python interface.py --cmd=account --json- Extraer el id/login de la cuenta del JSON. Si el JSON no incluye una clave obvia, usar el login que muestre la salida de
--cmd=account. - Leer
accounts/<account_id>/info.mddesde la raiz del terminal. Si no existe, pedir al usuario los datos minimos antes de crear o modificar configuracion: proposito de la cuenta, riesgo permitido, restricciones, mercados, sesiones y cualquier regla operativa. - Comprobar
accounts/<account_id>/bots.ini. - Si
bots.inino existe, preguntar que bots quiere tener funcionando y que parametros necesita cada uno. No inventes bots, simbolos, timeframes, lotajes ni parametros de riesgo. Crear el archivo solo cuando el usuario haya dado la configuracion suficiente. - Si
bots.iniya existe, asumir que hay una configuracion de bots definida. No reescribirla salvo peticion expresa. Revisar su contenido y enviar un resumen por Telegram. - Enviar la notificacion con
scripts/send_telegram.py. La configuracion privada vive enaccounts/<account_id>/telegram.env.
Archivos De Cuenta
Usar esta estructura por cuenta:
accounts/
<account_id>/
info.md
bots.ini
telegram.envinfo.md contiene informacion humana de la cuenta: riesgo, objetivo, limites, mercados, broker, restricciones y notas operativas.
bots.ini contiene la configuracion que se usara para iniciar MT5 con los bots de esa cuenta. Si no hay formato previo en el workspace, crear un INI legible y estable:
[account]
id=123456
risk_profile=segun accounts/123456/info.md
[bot:mean-reversion-eurusd]
enabled=true
expert=MQL5\Experts\mean-reversion.ex5
symbol=EURUSD
timeframe=M15
risk=0.50
set_file=MQL5\Profiles\Tester\mean-reversion-eurusd.set
notes=Configuracion confirmada por el usuariotelegram.env debe estar ignorado por Git y contener:
TELEGRAM_API_KEY=123456:token
TELEGRAM_CHAT=-1001234567890
TELEGRAM_CHANNEL=@canal_opcionalTELEGRAM_API_KEY y TELEGRAM_CHAT son obligatorios para notificar. TELEGRAM_CHANNEL es opcional; si falta o esta vacio, ignorarlo. No imprimir tokens completos en respuestas.
Telegram
Enviar mensajes con el script incluido en esta skill:
python C:\Users\<user-id>\AppData\Roaming\MetaQuotes\Terminal\<terminal-id>\MQL5\skills\orquestate\scripts\send_telegram.py --account-id 123456 --message "Orquestacion revisada para la cuenta 123456"El script usa una peticion HTTP GET a https://api.telegram.org/bot<TOKEN>/sendMessage, igual que los EAs Telegram del workspace. Envia siempre a TELEGRAM_CHAT y, si TELEGRAM_CHANNEL existe, tambien a ese destino.
Para mensajes largos o con saltos de linea, usar --message-file:
python C:\Users\<user-id>\AppData\Roaming\MetaQuotes\Terminal\<terminal-id>\MQL5\skills\orquestate\scripts\send_telegram.py --account-id 123456 --message-file .\accounts\123456\last-orchestration-message.txtUsar --dry-run para validar el env y los destinos sin enviar:
python C:\Users\<user-id>\AppData\Roaming\MetaQuotes\Terminal\<terminal-id>\MQL5\skills\orquestate\scripts\send_telegram.py --account-id 123456 --message "Prueba" --dry-runReglas
- Preguntar al usuario que bots quiere tener funcionando si falta
accounts/<account_id>/bots.ini. - No crear
bots.inicon conjeturas sobre bots, simbolos, timeframes, lotaje, riesgo o parametros. - No modificar
bots.iniexistente salvo que el usuario lo pida o confirme cambios concretos. - Leer
info.mdantes de proponer configuracion para respetar el riesgo y las reglas de la cuenta. - Verificar que
.gitignorecontieneaccounts/*/telegram.envantes de pedir o crear credenciales. - No enviar credenciales por Telegram ni mostrarlas en la respuesta.
- Si Telegram falla, reportar codigo HTTP y respuesta resumida sin revelar el token.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

