Ultracode Through Open Dynamic Workflows for Cursor
Use this skill when the user invokes /ultracode, says ultracode, says workflow:, or asks for large coding work that benefits from explicit planning, parallel agents, verification, budgets, or crash-resumable execution.
The ODW MCP tools should already be available from .cursor/mcp.json. The bridge scripts referenced below live next to this skill in scripts/.
Step 0: Check the daemon
Run:
node scripts/daemon-bridge.js --check
- Exit 0: use the daemon path.
- Exit 1 with auth guidance: tell the user to copy
~/.odw/daemon.tokenintoODW_DAEMON_TOKENor the host setting. - Exit 1 because the daemon is offline: tell the user to run
odw-daemon startorodw-daemon doctor cursor.
Daemon Path
- Prefer MCP tools when available: call
odw_health, thenodw_runfor direct execution orodw_planfirst when the user wants to review the plan, the task is expensive, or mutation risk is high. - If MCP tools are unavailable but the daemon is reachable, use the local bridge:
node scripts/daemon-bridge.js plan "<task>"node scripts/daemon-bridge.js exec plan.jsonnode scripts/daemon-bridge.js status <workflowId>node scripts/daemon-bridge.js result <workflowId>
- Report the workflow id, topology, agent count, cost/time estimate, and final synthesized result. Do not redo the same work manually while ODW is running it.
Cursor-Native Fallback
If the daemon is unavailable, state that full ultracode requires the daemon, then use Cursor Agent's native planning and editing flow: discovery -> parallel work -> adversarial verification -> synthesis.
Never include secrets in prompts, plans, logs, or workflow artifacts.