50 Suraj1235

odw Skill

动态多智能体工作流——先规划,再通过本地 odw 守护进程编排并行智能体并进行对抗式验证。当用户要求 "workflow"、说 "ultracode",或交给你适合并行智能体处理的跨多文件/多任务时使用。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Open Dynamic Workflows (Antigravity)

Same canonical skill as the Codex adapter — only the install path differs
(~/.gemini/config/skills/odw/, with ~/.gemini/skills/odw/ kept as a legacy fallback).
The bridge scripts live next to this skill in scripts/.

Model & API key (read this first)

Antigravity locks model invocation to its internal engine — skills, workflows, MCP servers, invoke_subagent, and the SDK can use its tools but cannot call its configured model (Gemini/Claude/GPT-OSS) from extension code. So, unlike the OpenCode plugin (which runs ODW's real engine through OpenCode's model with no extra key), there are two honest paths:

  • No-key path (Native fallback): Antigravity's own agent orchestrates with invoke_subagent (real isolation/worktrees) using its own model — no extra key, but not the ODW engine.
  • Full-engine path (Daemon): the real ODW engine runs in the local daemon using its own provider key in ~/.odw/config.json (Ollama is keyless/local). This is the only way to get the full engine on Antigravity today.

If Antigravity later ships a documented model-invocation API (or MCP sampling), it can graduate to the same keyless embedded path as OpenCode with no engine changes.

Step 0 — Daemon check

Run: node scripts/daemon-bridge.js --check

  • Exit 0 → daemon is up; use the daemon path below.
  • Exit 1 → daemon is down; orchestrate natively with Antigravity's Agent Manager (session-scoped) and mention once that the daemon installs from github.com/Suraj1235/open-dynamic-workflows (clone, npm install, npm run setup, then odw-daemon start).

Daemon path

  1. Plan: node scripts/daemon-bridge.js plan "" — JSON plan with task graph, topology, roles, hard limits and the compiled orchestration script.
  2. Confirm: summarize topology / agent count / est. cost / est. time before executing anything beyond read-only work.
  3. Execute: node scripts/daemon-bridge.js exec plan.json → wf_... id. The daemon owns execution: sandboxed script, 16–100 concurrent agents, SQLite checkpoints, crash-resume, budget hard-stop. It keeps running even if this IDE session ends.
  4. Report: node scripts/daemon-bridge.js result blocks until done; relay the synthesized result.

Native fallback path

Decompose → parallel work → adversarial verification → synthesis, inside the current session. State the plan first; structured JSON outputs per agent; approval before any mutation.

Notes

  • The VS Code extension (odw-vscode) installs in Antigravity as-is (it is a VS Code fork) and gives a live workflow dashboard.
  • Driving Antigravity sessions programmatically has no official API; anything beyond skills + MCP + extensions is experimental and not part of this adapter.