AGENT SKILL

prediction-market-bot

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.

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
prediction-market-bot
tags
[ "trading", "strategy", "operations", "prediction-market" ]
metadata
{ "openclaw": { "emoji": "🌅", "install": [ { "bins": [ "dawn" ], "kind": "node", "package": "@dawnai/cli" } ], "homepage": "https://dawn.ai", "requires": { "bins": [ "dawn" ] } } }
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.

03 SKILL.md 正文

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:

  • create a strategy from plain-English intent,
  • revise or upload strategy code,
  • launch paper or live strategy runs,
  • monitor run health/positions/logs,
  • stop or debug an active run.

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 login
  • dawn auth status
  • dawn auth logout

Account:

  • dawn account overview
  • dawn account fund
  • dawn account wallet

Strategy authoring:

  • dawn strategy list
  • dawn strategy create "<text>"
  • dawn strategy status <conversationId>
  • dawn strategy revise <conversationId> "<text>"
  • dawn strategy rules <conversationId> list
  • dawn strategy rules <conversationId> approve <rule-index>
  • dawn strategy rules <conversationId> approve-all
  • dawn strategy code <conversationId> status
  • dawn strategy code <conversationId> generate
  • dawn strategy code <conversationId> export [--out <path>] [--json]
  • dawn strategy code <conversationId> upload <path-to-file>

Launch and operations:

  • dawn strategy launch <conversationId> --budget <usd> [--live] [--hours N]
  • dawn strategy positions <conversationId> [--strategy-id <strategyId>]
  • dawn run list
  • dawn run status <conversationId>
  • dawn run logs <conversationId> [--limit N]
  • dawn run stop <conversationId>

Standard flow

  1. Authenticate: dawn auth login.
  2. Confirm funding path: dawn account fund (required for live runs).
  3. Create strategy: dawn strategy create "<request>" 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 <conversationId> --budget 50
    • live: dawn strategy launch <conversationId> --budget 50 --live
    • custom duration: add --hours N
  6. Monitor:
    • dawn run status <conversationId>
    • dawn strategy positions <conversationId>
    • dawn run logs <conversationId> --limit N
  7. Stop when requested: dawn run stop <conversationId>, then verify status again.

Monitoring loop

For active monitoring sessions:

  1. Query dawn run status <conversationId>.
  2. Record timestamp, isRunning, status, and active strategy IDs.
  3. Query dawn strategy positions <conversationId> for holdings/PnL.
  4. Query dawn run logs <conversationId> --limit N 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.
  • Auth callback completes but CLI appears stuck: interrupt once and retry login.
  • "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.
  • Live launch fails: re-check funding path with 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),
  • run mode (paper/live),
  • latest monitoring summary,
  • exact next command to run (or the last command run).

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0