Execute a complete dawn strategy workflow: install/check CLI, authenticate, prepare funding, create and iterate strategy code, launch paper/live runs, monitor status, and stop safely when requested.
Use this skill when the user asks to:
Install dawn if needed:
npm install -g @dawnai/cli
Verify:
# Print current Dawn CLI version
dawn version
dawn --help
Local source workflow only:
cd dawn-cli
npm install
npm run build
./install.sh
Auth:
dawn auth logindawn auth statusdawn auth logoutAccount:
dawn account overviewdawn account funddawn account walletStrategy authoring:
dawn strategy listdawn strategy create "" dawn strategy status dawn strategy revise "" dawn strategy rules list dawn strategy rules approve dawn strategy rules approve-all dawn strategy code status dawn strategy code generate dawn strategy code export [--out ] [--json] dawn strategy code upload Launch and operations:
dawn strategy launch --budget [--live] [--hours N] dawn strategy positions [--strategy-id ] dawn run listdawn run status dawn run logs [--limit N] dawn run stop dawn auth login.dawn account fund (required for live runs).dawn strategy create "" and capture conversationId.strategy revise) and/or upload files (strategy code ... upload),--json for multi-file map).dawn strategy launch --budget 50 dawn strategy launch --budget 50 --live --hours Ndawn run status dawn strategy positions dawn run logs --limit N dawn run stop , then verify status again.For active monitoring sessions:
dawn run status .isRunning, status, and active strategy IDs.dawn strategy positions for holdings/PnL.dawn run logs --limit N for execution details."Not authenticated. Run: dawn auth login": run dawn auth login and retry."No strategy version found...": create/revise/upload strategy code, then relaunch."No strategies found for this agent" on stop: verify conversationId, then check dawn run status.dawn account fund.Dawn Strategy Runbook
- [ ] Preflight complete
- [ ] Auth complete
- [ ] Funding path checked (or user confirmed paper-only)
- [ ] conversationId captured
- [ ] Strategy code generated/uploaded
- [ ] Launch run completed (paper/live)
- [ ] strategyId captured (if launched)
- [ ] Monitoring snapshots collected
- [ ] Stop executed (if requested)
- [ ] Final status verified
Individual skills for each command:
| Skill | Purpose |
|---|---|
| ------- | --------- |
| dawn-auth | Install, authenticate, check status, logout |
| dawn-account | Account overview, funding, wallet balances |
| dawn-strategy-create | Create a strategy from plain-English prompt |
| dawn-strategy-list | List all strategies |
| dawn-strategy-status | Full strategy status and health |
| dawn-strategy-revise | Iterate on a strategy with revisions |
| dawn-strategy-rules | List, approve, and manage rules |
| dawn-strategy-code | Code generation, status, export, upload |
| dawn-strategy-launch | Launch paper or live runs |
| dawn-strategy-positions | View positions and PnL |
| dawn-run-monitor | List runs, check status, view logs |
| dawn-run-stop | Stop a running strategy |
When using this skill, always return:
conversationId,strategyId (if launched),共 1 个版本