Polymarket Bots by
by @njdawn
Runs the full Dawn CLI strategy lifecycle from authentication and funding through strategy creation, launch, monitoring, and termination. Use when the user a...
clawhub install prediction-market-bot-dawnπ About This Skill
name: prediction-market-bot description: Runs the full Dawn CLI strategy lifecycle from authentication and funding through strategy creation, launch, monitoring, and termination. Use when the user asks to create, launch, monitor, debug, or operate a strategy/agent using dawn-cli commands. tags: [trading, strategy, operations, prediction-market] metadata: openclaw: emoji: "π " homepage: https://dawn.ai requires: bins: [dawn] install: - kind: node package: "@dawnai/cli" bins: [dawn]
Run a Dawn strategy lifecycle
Goal
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.
When to use
Use this skill when the user asks to:
Install and preflight
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
Command map
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 Standard flow
1. Authenticate: dawn auth login.
2. Confirm funding path: dawn account fund (required for live runs).
3. Create strategy: dawn strategy create " and capture conversationId.
4. Iterate strategy:
- revise prompt (strategy revise) and/or upload files (strategy code ... upload),
- review/approve rules,
- generate code,
- export code when needed (--json for multi-file map).
5. Launch:
- paper: dawn strategy launch
- live: dawn strategy launch
- custom duration: add --hours N
6. Monitor:
- dawn run status
- dawn strategy positions
- dawn run logs
7. Stop when requested: dawn run stop , then verify status again.
Monitoring loop
For active monitoring sessions:
1. Query dawn run status .
2. Record timestamp, isRunning, status, and active strategy IDs.
3. Query dawn strategy positions for holdings/PnL.
4. Query dawn run logs for execution details.
5. If records look stale or missing, wait briefly and retry once.
Troubleshooting
"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.Run checklist
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
Skills
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 |
Required output
When using this skill, always return:
conversationId,strategyId (if launched),β‘ When to Use
π Tips & Best Practices
"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.