con un clic
generate-agent-code
Generates Python modules for the hybrid AI trading agent
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Generates Python modules for the hybrid AI trading agent
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Audits indicators, removes contradictions, and simplifies signals to a small coherent set
Implements confidence-weighted signal combination with dynamic weights and execution thresholds
Structures ERC-8004-style logs (identity, reputation, validation, intent) and produces deterministic hashes
Aligns risk gating (SL/TP, sizing, volatility, caps) with signal confidence to avoid blocking good trades
Ensures trades are executed only when confidence and risk checks pass; logs trades deterministically
Builds a dashboard to visualize trades, portfolio, and agent reasoning
| name | generate-agent-code |
| description | Generates Python modules for the hybrid AI trading agent |
modules/, risk/, dashboard/, validation/, simulation/, utils/risk_manager checks before any trade executionproof_logger hashes all trade inputs, outputs, and decisionsmain.py to tie everything together as the entry pointconfig/config.yaml or utils/config.py — never hardcode parameterslogging moduleWhen generating the full agent, ensure these files exist:
main.py — orchestration entry pointmodules/momentum.py — momentum trading strategymodules/mean_reversion.py — mean-reversion trading strategymodules/yield_optimizer.py — yield optimization strategymodules/ai_predictor.py — AI prediction ensemblemodules/strategy_manager.py — combines all strategy signalsrisk/risk_manager.py — risk validation and trade gatingsimulation/paper_trader.py — virtual trade executionvalidation/proof_logger.py — SHA256 proof hash loggingdashboard/dashboard.py — Streamlit/Flask visualizationutils/config.py — centralized configurationutils/data_loader.py — data ingestionutils/indicators.py — technical indicator calculationsutils/logger.py — logging setupInput: "Generate the full trading agent with all modules"
Output: Complete Python module files for every component listed above, each with:
Input: "Generate the momentum strategy module"
Output: modules/momentum.py with: