This repository is intended to build a specialized worker for vibe-trading using:
- opencode
- oh-my-opencode
- pluggable MCP servers and SKILLS
The core goal is to support complex quantitative research and investment analysis workflows with reusable, automation-friendly components.
- Prioritize correctness over speed for quant or investment logic.
- Keep every change auditable: clear assumptions, data source boundaries, and reproducible steps.
- Prefer small, composable modules over large one-off scripts.
- When requirements are unclear, ask for missing constraints before implementing financial logic.
Use this default environment unless the user explicitly requests otherwise.
- OS
- linux-based environment (WSL, Docker, or native)
- Python runtime
- Conda environment:
legonanobot - Run Python with:
conda run -n legonanobot python <script.py>
- Tooling assumptions
- zsh shell available
- Project may rely on MCP servers and skill definitions; validate availability before wiring integrations
Follow this baseline loop for tasks in this repository.
- Clarify task scope
- Confirm strategy goal, asset scope, time horizon, and risk constraints.
- Inspect current workspace state
- Identify existing MCP/skills/instructions and any reusable components.
- Implement in small increments
- Add or update one focused unit at a time.
- Avoid broad refactors unless explicitly requested.
- Validate locally
- Run targeted checks or scripts in the
legonanobotenvironment. - Report what was validated and what was not validated.
- Summarize outcomes
- Provide changed files, key behavior changes, and remaining risks/assumptions.
- Never fabricate market data, backtest results, or performance metrics.
- Explicitly label assumptions and data limitations.
- Separate data collection, feature/signal logic, and execution/risk controls.
- Prefer deterministic scripts and config-driven parameters for repeatability.
As the repository grows, add focused customizations under .github/:
.github/instructions/*.instructions.mdfor language or folder specific rules.github/skills/<skill-name>/SKILL.mdfor repeatable multi-step workflows.github/agents/*.agent.mdfor specialized subagents with constrained tools