deepmodebot 0.0.0-stage → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/.claude-plugin/marketplace.json +26 -0
  2. package/.omp-plugin/marketplace.json +26 -0
  3. package/LICENSE +24 -0
  4. package/README.md +377 -2
  5. package/bin/deepmodebot.mjs +229 -0
  6. package/lib/autoupdate.mjs +47 -0
  7. package/lib/clients.mjs +139 -0
  8. package/lib/run.mjs +32 -0
  9. package/lib/state.mjs +52 -0
  10. package/lib/tree.mjs +48 -0
  11. package/package.json +44 -4
  12. package/plugins/deepmodebot/.antigravity-plugin/plugin.json +35 -0
  13. package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +13 -0
  14. package/plugins/deepmodebot/.antigravity-plugin/skills/land-pr/SKILL.md +23 -0
  15. package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +17 -0
  16. package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +16 -0
  17. package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +14 -0
  18. package/plugins/deepmodebot/.claude-plugin/plugin.json +27 -0
  19. package/plugins/deepmodebot/agents/reviewer/agent.md +33 -0
  20. package/plugins/deepmodebot/agents/scout/agent.md +34 -0
  21. package/plugins/deepmodebot/agents/security-reviewer/agent.md +30 -0
  22. package/plugins/deepmodebot/assets/logo.svg +8 -0
  23. package/plugins/deepmodebot/commands/contribute.md +8 -0
  24. package/plugins/deepmodebot/commands/deep.md +11 -0
  25. package/plugins/deepmodebot/commands/land-pr.md +12 -0
  26. package/plugins/deepmodebot/commands/pr-thread.md +14 -0
  27. package/plugins/deepmodebot/commands/project-brief.md +8 -0
  28. package/plugins/deepmodebot/commands/review-pr.md +10 -0
  29. package/plugins/deepmodebot/commands/tournament.md +12 -0
  30. package/plugins/deepmodebot/hooks/hooks.json +26 -0
  31. package/plugins/deepmodebot/hooks.json +24 -0
  32. package/plugins/deepmodebot/mcp_config.json +11 -0
  33. package/plugins/deepmodebot/scripts/antigravity-guard.mjs +413 -0
  34. package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +1091 -0
  35. package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +57 -0
  36. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +391 -0
  37. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check.ts +53 -0
  38. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +38 -0
  39. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_claude.mjs +11 -0
  40. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/package.json +11 -0
  41. package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/requirements.txt +1 -0
  42. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +190 -0
  43. package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +50 -0
  44. package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +108 -0
  45. package/plugins/deepmodebot/skills/agent-harnesses/references/claude-code.md +166 -0
  46. package/plugins/deepmodebot/skills/agent-harnesses/references/codex.md +151 -0
  47. package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +230 -0
  48. package/plugins/deepmodebot/skills/agent-harnesses/references/langchain-ecosystem.md +124 -0
  49. package/plugins/deepmodebot/skills/agent-harnesses/references/omp.md +183 -0
  50. package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +172 -0
  51. package/plugins/deepmodebot/skills/agent-harnesses/references/sdks.md +228 -0
  52. package/plugins/deepmodebot/skills/agent-harnesses/references/self-authoring.md +171 -0
  53. package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +24 -0
  54. package/plugins/deepmodebot/skills/cloud-devsecops/references/aws.md +264 -0
  55. package/plugins/deepmodebot/skills/cloud-devsecops/references/azure.md +261 -0
  56. package/plugins/deepmodebot/skills/cloud-devsecops/references/containers.md +96 -0
  57. package/plugins/deepmodebot/skills/cloud-devsecops/references/devops-tools.md +297 -0
  58. package/plugins/deepmodebot/skills/cloud-devsecops/references/devsecops-pipeline.md +258 -0
  59. package/plugins/deepmodebot/skills/cloud-devsecops/references/gcp.md +258 -0
  60. package/plugins/deepmodebot/skills/cloud-devsecops/references/kubernetes.md +74 -0
  61. package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +265 -0
  62. package/plugins/deepmodebot/skills/contribute/SKILL.md +134 -0
  63. package/plugins/deepmodebot/skills/create-verification-skill/LICENSE +21 -0
  64. package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +101 -0
  65. package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/README.md +47 -0
  66. package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/create-note.md +39 -0
  67. package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/search.md +45 -0
  68. package/plugins/deepmodebot/skills/deep-stack/SKILL.md +53 -0
  69. package/plugins/deepmodebot/skills/deep-stack/references/AGENTS.template.md +52 -0
  70. package/plugins/deepmodebot/skills/deep-stack/references/agentic-workflow.md +114 -0
  71. package/plugins/deepmodebot/skills/deep-stack/references/any-app-stack.md +51 -0
  72. package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +101 -0
  73. package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +23 -0
  74. package/plugins/deepmodebot/skills/deep-stack/references/philosophy.md +306 -0
  75. package/plugins/deepmodebot/skills/deep-stack/references/prove.md +31 -0
  76. package/plugins/deepmodebot/skills/deep-stack/references/stack.md +119 -0
  77. package/plugins/deepmodebot/skills/deep-stack/references/structure.md +22 -0
  78. package/plugins/deepmodebot/skills/deep-stack/references/unslop/LICENSE +21 -0
  79. package/plugins/deepmodebot/skills/deep-stack/references/unslop/unslop.md +80 -0
  80. package/plugins/deepmodebot/skills/deepmodebot/LICENSE +23 -0
  81. package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +198 -0
  82. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +207 -0
  83. package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +146 -0
  84. package/plugins/deepmodebot/skills/deepmodebot/assets/architecture-review/report-template.html +92 -0
  85. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +42 -0
  86. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +135 -0
  87. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain-link.ts +12 -0
  88. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +115 -0
  89. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +483 -0
  90. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +139 -0
  91. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +301 -0
  92. package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +602 -0
  93. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +242 -0
  94. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/evidence.py +293 -0
  95. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +387 -0
  96. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +339 -0
  97. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +69 -0
  98. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +160 -0
  99. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +180 -0
  100. package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +265 -0
  101. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +44 -0
  102. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +132 -0
  103. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +122 -0
  104. package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +192 -0
  105. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/bot.py +3037 -0
  106. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.json +11 -0
  107. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.py +51 -0
  108. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +361 -0
  109. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +274 -0
  110. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/local_updates.py +576 -0
  111. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/review_context.py +204 -0
  112. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +2182 -0
  113. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +19 -0
  114. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +691 -0
  115. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +127 -0
  116. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +496 -0
  117. package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/workspace_cleanup.py +351 -0
  118. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2394 -0
  119. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +583 -0
  120. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +1426 -0
  121. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +320 -0
  122. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +326 -0
  123. package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +244 -0
  124. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +165 -0
  125. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +240 -0
  126. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +55 -0
  127. package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +53 -0
  128. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +350 -0
  129. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +370 -0
  130. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +94 -0
  131. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.html +425 -0
  132. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +579 -0
  133. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena_tui.py +839 -0
  134. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/font8x8_basic.hex +1 -0
  135. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +329 -0
  136. package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +610 -0
  137. package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +637 -0
  138. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +250 -0
  139. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +1820 -0
  140. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +156 -0
  141. package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +54 -0
  142. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/audit-pr.sh +122 -0
  143. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/gate.cjs +155 -0
  144. package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/prompt.md +13 -0
  145. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +654 -0
  146. package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +1285 -0
  147. package/plugins/deepmodebot/skills/deepmodebot/assets/wizard/wizard.sh +234 -0
  148. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +879 -0
  149. package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +2436 -0
  150. package/plugins/deepmodebot/skills/deepmodebot/references/README.md +61 -0
  151. package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +105 -0
  152. package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +39 -0
  153. package/plugins/deepmodebot/skills/deepmodebot/references/factory-landscape.md +147 -0
  154. package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +50 -0
  155. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +37 -0
  156. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +77 -0
  157. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/bug-fix.md +34 -0
  158. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +50 -0
  159. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/eval.md +39 -0
  160. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +60 -0
  161. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/handoff.md +52 -0
  162. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +46 -0
  163. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +20 -0
  164. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +97 -0
  165. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/pause-safely.md +30 -0
  166. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +31 -0
  167. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/phased-build.md +146 -0
  168. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/prototype.md +31 -0
  169. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +60 -0
  170. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +45 -0
  171. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +143 -0
  172. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/runtime-forensics.md +22 -0
  173. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +130 -0
  174. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/session-pickup.md +33 -0
  175. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +105 -0
  176. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/shipping.md +52 -0
  177. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/spec.md +67 -0
  178. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/tickets.md +56 -0
  179. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/trace-forensics.md +24 -0
  180. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/triage.md +102 -0
  181. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +19 -0
  182. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/wayfinder.md +44 -0
  183. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +189 -0
  184. package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/worktree-cleanup.md +35 -0
  185. package/plugins/deepmodebot/skills/deepmodebot/references/principles/attack-the-premise.md +7 -0
  186. package/plugins/deepmodebot/skills/deepmodebot/references/principles/boundary-discipline.md +8 -0
  187. package/plugins/deepmodebot/skills/deepmodebot/references/principles/build-the-lever.md +8 -0
  188. package/plugins/deepmodebot/skills/deepmodebot/references/principles/encode-lessons-in-structure.md +6 -0
  189. package/plugins/deepmodebot/skills/deepmodebot/references/principles/exhaust-the-design-space.md +4 -0
  190. package/plugins/deepmodebot/skills/deepmodebot/references/principles/experience-first.md +7 -0
  191. package/plugins/deepmodebot/skills/deepmodebot/references/principles/explain-the-number.md +9 -0
  192. package/plugins/deepmodebot/skills/deepmodebot/references/principles/fix-root-causes.md +6 -0
  193. package/plugins/deepmodebot/skills/deepmodebot/references/principles/foundational-thinking.md +9 -0
  194. package/plugins/deepmodebot/skills/deepmodebot/references/principles/guard-the-context-window.md +7 -0
  195. package/plugins/deepmodebot/skills/deepmodebot/references/principles/laziness-protocol.md +6 -0
  196. package/plugins/deepmodebot/skills/deepmodebot/references/principles/make-operations-idempotent.md +7 -0
  197. package/plugins/deepmodebot/skills/deepmodebot/references/principles/migrate-callers-then-delete-legacy-apis.md +5 -0
  198. package/plugins/deepmodebot/skills/deepmodebot/references/principles/minimize-reader-load.md +7 -0
  199. package/plugins/deepmodebot/skills/deepmodebot/references/principles/model-the-domain.md +7 -0
  200. package/plugins/deepmodebot/skills/deepmodebot/references/principles/never-block-on-the-human.md +7 -0
  201. package/plugins/deepmodebot/skills/deepmodebot/references/principles/outcome-oriented-execution.md +6 -0
  202. package/plugins/deepmodebot/skills/deepmodebot/references/principles/prove-it-works.md +8 -0
  203. package/plugins/deepmodebot/skills/deepmodebot/references/principles/redesign-from-first-principles.md +7 -0
  204. package/plugins/deepmodebot/skills/deepmodebot/references/principles/separate-before-serializing-shared-state.md +6 -0
  205. package/plugins/deepmodebot/skills/deepmodebot/references/principles/sequence-verifiable-units.md +7 -0
  206. package/plugins/deepmodebot/skills/deepmodebot/references/principles/subtract-before-you-add.md +6 -0
  207. package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +7 -0
  208. package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +6 -0
  209. package/plugins/deepmodebot/skills/deepmodebot/references/rust-migration-case-studies.md +26 -0
  210. package/plugins/deepmodebot/skills/deepmodebot/references/startup-ideas.md +21 -0
  211. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/agent-collaboration.md +82 -0
  212. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +32 -0
  213. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +43 -0
  214. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +20 -0
  215. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/benchmark-checklist.md +31 -0
  216. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +19 -0
  217. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +20 -0
  218. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +47 -0
  219. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/coworkers.md +70 -0
  220. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/domain-model.md +69 -0
  221. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/figure-it-out.md +25 -0
  222. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/git-guardrails.md +44 -0
  223. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/github-app.md +160 -0
  224. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/goal-review.md +156 -0
  225. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +27 -0
  226. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +23 -0
  227. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/in-your-own-words.md +12 -0
  228. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +39 -0
  229. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/interrogate.md +16 -0
  230. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/issue-conversation.md +52 -0
  231. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +29 -0
  232. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/open-design-evidence.md +65 -0
  233. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +34 -0
  234. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-agent.md +39 -0
  235. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +135 -0
  236. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +138 -0
  237. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +31 -0
  238. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +44 -0
  239. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/questionnaire.md +46 -0
  240. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/re-explain.md +23 -0
  241. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +19 -0
  242. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reflect.md +20 -0
  243. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +99 -0
  244. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/retro.md +30 -0
  245. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/scrape.md +32 -0
  246. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +40 -0
  247. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +15 -0
  248. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +19 -0
  249. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +49 -0
  250. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +14 -0
  251. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +55 -0
  252. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +20 -0
  253. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/technical-writing.md +22 -0
  254. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tool-routing.md +85 -0
  255. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +44 -0
  256. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tracker.md +78 -0
  257. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/unslop.md +15 -0
  258. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +78 -0
  259. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/why.md +31 -0
  260. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/wizard.md +25 -0
  261. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/workspace-map.md +35 -0
  262. package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +66 -0
  263. package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +93 -0
  264. package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +598 -0
  265. package/plugins/deepmodebot/skills/domain-rules/SKILL.md +131 -0
  266. package/plugins/deepmodebot/skills/domain-rules/references/agent-engineering.md +105 -0
  267. package/plugins/deepmodebot/skills/domain-rules/references/ai-concepts.md +103 -0
  268. package/plugins/deepmodebot/skills/domain-rules/references/aws-networking.md +121 -0
  269. package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +162 -0
  270. package/plugins/deepmodebot/skills/domain-rules/references/data-structures-and-cache-optimization.md +48 -0
  271. package/plugins/deepmodebot/skills/domain-rules/references/devops-and-fundamentals.md +137 -0
  272. package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +100 -0
  273. package/plugins/deepmodebot/skills/domain-rules/references/high-scale-server-optimization.md +181 -0
  274. package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +56 -0
  275. package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +146 -0
  276. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/live-demos.md +38 -0
  277. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +28 -0
  278. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +269 -0
  279. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +62 -0
  280. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +217 -0
  281. package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-patterns.md +101 -0
  282. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +25 -0
  283. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +21 -0
  284. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +46 -0
  285. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +21 -0
  286. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +153 -0
  287. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +106 -0
  288. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +121 -0
  289. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +48 -0
  290. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +26 -0
  291. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +11 -0
  292. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +63 -0
  293. package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +13 -0
  294. package/plugins/deepmodebot/skills/maintain-verification-skill/LICENSE +21 -0
  295. package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +47 -0
  296. package/plugins/deepmodebot/skills/project-brief/SKILL.md +100 -0
  297. package/plugins/deepmodebot/skills/project-brief/assets/CONTRIBUTING.template.md +124 -0
  298. package/plugins/deepmodebot/skills/project-brief/assets/ISSUE_TEMPLATE/task.yml +61 -0
  299. package/plugins/deepmodebot/skills/project-brief/assets/PROJECT_BRIEF.template.md +98 -0
  300. package/plugins/deepmodebot/skills/project-brief/assets/PULL_REQUEST_TEMPLATE.md +35 -0
  301. package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +643 -0
  302. package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +314 -0
  303. package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +60 -0
  304. package/plugins/deepmodebot/skills/secrets-and-auth/references/agent-authentication.md +198 -0
  305. package/plugins/deepmodebot/skills/secrets-and-auth/references/leak-prevention.md +206 -0
  306. package/plugins/deepmodebot/skills/secrets-and-auth/references/logins-and-passwords.md +165 -0
  307. package/plugins/deepmodebot/skills/secrets-and-auth/references/secrets-and-env.md +182 -0
  308. package/plugins/deepmodebot/skills/software-architecture/SKILL.md +47 -0
  309. package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +273 -0
  310. package/plugins/deepmodebot/skills/software-architecture/references/databases.md +277 -0
  311. package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +210 -0
  312. package/plugins/deepmodebot/skills/software-architecture/references/ontology.md +287 -0
@@ -0,0 +1,11 @@
1
+ import { startup } from "@anthropic-ai/claude-agent-sdk";
2
+
3
+ const warm = await startup({
4
+ initializeTimeoutMs: 20000,
5
+ options: {
6
+ cwd: process.cwd(), tools: [], mcpServers: {}, settingSources: [],
7
+ permissionMode: "dontAsk", persistSession: false,
8
+ },
9
+ });
10
+ await warm[Symbol.asyncDispose]();
11
+ console.log("Claude Agent SDK: native initialization handshake PASS; no prompt sent");
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "deepmodebot-sdk-examples",
3
+ "private": true,
4
+ "type": "module",
5
+ "engines": { "bun": ">=1.4.4", "node": ">=18.14.0" },
6
+ "dependencies": {
7
+ "@anthropic-ai/claude-agent-sdk": "0.3.325",
8
+ "@openai/codex-sdk": "0.169.0",
9
+ "@oh-my-pi/pi-coding-agent": "18.20.0"
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ google-antigravity==0.1.23
@@ -0,0 +1,190 @@
1
+ # AI-native tooling across harnesses
2
+
3
+ Read when a task touches the conventions every coding agent now shares (AGENTS.md, Agent Skills, Agent Plugins and marketplaces, llms.txt), when deepmodebot runs in a harness beyond the four core harnesses (omp, Claude Code, Codex, and Antigravity — whose dedicated reference is `references/antigravity.md`; covered below: Gemini CLI, Cursor, Copilot, OpenCode, Amp, Goose, Zed, Devin, Kiro), or when you pick browser automation, docs lookup, worktree, sandbox or orchestrator tooling for agents. MCP and ACP wire details live in the protocols file of this folder.
4
+
5
+ Checked 2026-11-11 against the linked primary docs (Google Antigravity docs checked 2026-11-13). Local probes: omp 18.18.9, codex-cli 0.163.0, Claude Code 2.1.322. Specs: Agent Skills (agentskills.io), Agent Plugins 1.0.0 and 1.1.0, llms.txt v2.
6
+
7
+ ## Portable defaults
8
+
9
+ - Instructions: one `AGENTS.md` at the repo root, nested ones per package. It is the only context file every harness below reads.
10
+ - Skills: canonical copy in `.agents/skills/<name>/SKILL.md`. Mirror to `.claude/skills/<name>/` for Claude Code and `.kiro/skills/<name>/` for Kiro (neither documents reading `.agents/skills`).
11
+ - Frontmatter: stay inside the six spec fields unless one harness needs an extension; extensions are ignored or rejected elsewhere.
12
+ - Plugins: a Claude-format plugin (`.claude-plugin/plugin.json`) loads in Claude Code, omp, Codex, Copilot CLI, VS Code and Devin. A root Agent Plugins `plugin.json` is the format Cursor, Codex, Copilot, VS Code, Kiro and Antigravity all list as portable.
13
+ - Docs: fetch `/llms.txt` or the `.md` twin of a docs page before trusting model memory.
14
+
15
+ ## AGENTS.md
16
+
17
+ - Plain Markdown, no required fields or frontmatter. Nearest file to the edited file wins; explicit user prompts override all. Monorepos nest one per package ([agents.md](https://agents.md)).
18
+ - Stewarded by the Agentic AI Foundation under the Linux Foundation ([agents.md](https://agents.md)).
19
+ - Migration rule from the standard: rename the old file to `AGENTS.md` and symlink the old name to it ([agents.md](https://agents.md)).
20
+ - Claude Code 2.1.277+ reads `AGENTS.md` only when no `CLAUDE.md`, `.claude/CLAUDE.md` or `CLAUDE.local.md` exists in cwd or above. Adding a `CLAUDE.local.md` silently turns AGENTS.md off ([memory](https://code.claude.com/docs/en/memory)).
21
+ - Claude Code never reads `AGENTS.local.md`, `AGENTS.override.md`, or anything under `.agents/` as instructions ([memory](https://code.claude.com/docs/en/memory)).
22
+ - Safe bridge for Claude Code: a `CLAUDE.md` whose first line is `@AGENTS.md`. Prefer it over `ln -s AGENTS.md CLAUDE.md` on Windows: symlinks need admin or Developer Mode and Git checks them out as one-line text files unless `core.symlinks` is on ([memory](https://code.claude.com/docs/en/memory)).
23
+ - Codex reads `AGENTS.override.md` then `AGENTS.md` per directory from git root down to cwd, at most one per directory, capped at 32 KiB total (`project_doc_max_bytes`) ([Codex AGENTS.md](https://developers.openai.com/codex/guides/agents-md)).
24
+ - Gemini CLI reads `GEMINI.md` by default; set `{"context": {"fileName": "AGENTS.md"}}` in `.gemini/settings.json` ([agents.md](https://agents.md), [GEMINI.md docs](https://geminicli.com/docs/cli/gemini-md/)).
25
+ - Zed loads only the first match of `.rules`, `.cursorrules`, `.windsurfrules`, `.clinerules`, `.github/copilot-instructions.md`, `AGENT.md`, `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`. A stray `.cursorrules` hides `AGENTS.md` ([Zed instructions](https://zed.dev/docs/ai/instructions)).
26
+ - Amp and OpenCode fall back to `CLAUDE.md` only where no `AGENTS.md` exists ([Amp](https://ampcode.com/docs/customize/agents-md), [OpenCode](https://opencode.ai/docs/rules/)). Copilot CLI loads `AGENTS.md`, `CLAUDE.md`, `.claude/CLAUDE.md` and `GEMINI.md` together ([Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions)).
27
+ - `@path` imports work in Claude Code, Amp and Copilot CLI. Copilot refuses imports outside the repo, absolute paths and `~/`, and does not expand them in `GEMINI.md` ([Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions)).
28
+
29
+ ## Agent Skills (SKILL.md)
30
+
31
+ Format ([spec](https://agentskills.io/specification)):
32
+
33
+ - A skill is a directory with `SKILL.md`: YAML frontmatter, then Markdown. Optional `scripts/`, `references/`, `assets/`.
34
+ - Required: `name` (1-64 chars, `a-z0-9-`, no leading, trailing or double hyphen, must equal the parent directory name) and `description` (1-1024 chars, what it does and when to use it).
35
+ - Optional: `license`, `compatibility` (max 500 chars), `metadata` (string map), `allowed-tools` (space-separated, experimental).
36
+ - Progressive disclosure: catalog (`name` + `description`, about 100 tokens) at startup; full body on activation (keep under 500 lines, under 5000 tokens); resources only when read. Relative paths resolve from the skill root.
37
+ - Validate: `skills-ref validate ./my-skill` ([spec](https://agentskills.io/specification)).
38
+ - Cross-client discovery convention: `<project>/.agents/skills/` and `~/.agents/skills/`; project overrides user on name collision; gate project skills on folder trust ([client guide](https://agentskills.io/client-implementation/adding-skills-support)).
39
+
40
+ Where each harness looks (project | user | explicit invoke):
41
+
42
+ | Harness | Project dirs | User dirs | Invoke |
43
+ |---|---|---|---|
44
+ | Claude Code | `.claude/skills/` in cwd and parents to repo root; nested dirs load on first file touch | `~/.claude/skills/` | `/name` ([skills](https://code.claude.com/docs/en/skills)) |
45
+ | Codex | `.agents/skills/` in cwd and each parent to repo root; `/etc/codex/skills` admin | `~/.agents/skills/` | `$name` ([skills](https://developers.openai.com/codex/skills)) |
46
+ | omp | `.omp/skills/` up the tree, plus `.claude`, `.agents`, `.codex`, `.opencode`, `.github/skills` providers | `~/.omp/agent/skills/` | `/skill:name` ([skills](https://github.com/can1357/oh-my-pi/blob/main/docs/skills.md)) |
47
+ | Gemini CLI | `.gemini/skills/`, `.agents/skills/` (alias wins) | `~/.gemini/skills/`, `~/.agents/skills/` | `activate_skill` tool, `/skills` ([skills](https://geminicli.com/docs/cli/skills/)) |
48
+ | Antigravity (App, CLI `agy`, IDE) | `.agents/skills/` up to repo root; `.gemini/skills/` NOT read | `~/.gemini/config/skills/` (CLI `~/.gemini/skills/` outranks workspace) | `/name` ([skills](https://antigravity.google/docs/skills), [discovery](https://antigravity.google/docs/customization-discovery)) |
49
+ | Cursor | `.cursor/skills/`, `.agents/skills/` anywhere in repo (scoped to subtree), `.claude/skills/`, `.codex/skills/` | `~/.cursor/skills/`, `~/.agents/skills/`, `~/.claude/skills/`, `~/.codex/skills/` | `/name` ([skills](https://cursor.com/docs/skills)) |
50
+ | GitHub Copilot (CLI, cloud agent, VS Code, app) | `.github/skills/`, `.claude/skills/`, `.agents/skills/` | `~/.copilot/skills/`, `~/.agents/skills/` | `/name` ([skills](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)) |
51
+ | OpenCode | `.opencode/skills`, `.claude/skills`, `.agents/skills`, cwd up to root | `~/.config/opencode/skills`, `~/.claude/skills`, `~/.agents/skills` | `skill` tool, `@id` ([skills](https://opencode.ai/docs/skills/)) |
52
+ | Amp | `.agents/skills/`, `.claude/skills/` in project and parents | `~/.config/agents/skills/`, `~/.agents/skills/`, `~/.config/amp/skills/`, `~/.claude/skills/` | ask, `amp skills list` ([skills](https://ampcode.com/docs/customize/skills)) |
53
+ | Goose | `.agents/skills/` (+ `.goose/skills/`, `.claude/skills/`) | `~/.agents/skills/` (+ `~/.claude/skills/`) | `/skills name` ([skills](https://goose-docs.ai/docs/guides/context-engineering/using-skills/)) |
54
+ | Zed agent | `.agents/skills/` | `~/.agents/skills/` | `/name`, `@skill` ([skills](https://zed.dev/docs/ai/skills)) |
55
+ | Devin Desktop / CLI (ex-Windsurf) | `.devin/skills/`, `.agents/skills/`, `.windsurf/skills/` | `~/.config/devin/skills/`, `~/.agents/skills/` | `/name` ([customizations](https://docs.devin.ai/desktop/devin-local/customizations)) |
56
+ | Kiro | `.kiro/skills/` | `~/.kiro/skills/` | `/name` ([skills](https://kiro.dev/docs/skills/)) |
57
+
58
+ Frontmatter beyond the spec:
59
+
60
+ - `disable-model-invocation: true` (slash-only) is honored by Claude Code, Cursor, VS Code/Copilot, OpenCode and Zed ([Cursor](https://cursor.com/docs/skills), [VS Code](https://code.visualstudio.com/docs/agent-customization/agent-skills), [OpenCode](https://opencode.ai/docs/skills/), [Zed](https://zed.dev/docs/ai/skills)).
61
+ - Codex docs do not list it [inference: Codex ignores it]. Codex uses `agents/openai.yaml` with `policy: allow_implicit_invocation: false` inside the skill folder ([Codex skills](https://developers.openai.com/codex/skills)).
62
+ - Cursor adds `paths` globs; VS Code adds `user-invocable`, `argument-hint`, `context: fork` ([Cursor](https://cursor.com/docs/skills), [VS Code](https://code.visualstudio.com/docs/agent-customization/agent-skills)).
63
+ - claude.ai uploads, the Skills API and `package_skill.py` hard-fail on any non-spec key ([Claude skills](https://code.claude.com/docs/en/skills)).
64
+ - Never put `/` or `:` in `name`. VS Code silently drops the skill; plugins add the `plugin:` prefix themselves ([VS Code](https://code.visualstudio.com/docs/agent-customization/agent-skills)).
65
+ - OpenCode derives the skill ID from the path, not `name` ([OpenCode](https://opencode.ai/docs/skills/)).
66
+
67
+ Installers: `npx skills add <owner/repo>` (project by default, `-g` global, `-a <agent>`) ([vercel-labs/skills](https://github.com/vercel-labs/skills)); `gh skill` ([Copilot](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)); `gemini skills install <git-url>` ([Gemini](https://geminicli.com/docs/cli/skills/)); `amp skill add <source>` ([Amp](https://ampcode.com/docs/customize/skills)). Each writes files: under deepmodebot that is a config change, so install into the repo or ask.
68
+
69
+ ## Plugins and marketplaces
70
+
71
+ Agent Plugins 1.0 / 1.1 ([spec](https://github.com/agentplugins/agent-plugins-spec/blob/main/spec/1.0.0.md), [site](https://agent-plugins.org)):
72
+
73
+ - Root `plugin.json` with `"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json"`. Closed top-level fields: `$schema`, `name`, `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords`, `extensions`.
74
+ - Fixed component paths: `skills/<name>/SKILL.md` (immediate children only, no recursion) and root `mcp.json` with its own `$schema`. No inline components, no path overrides.
75
+ - stdio MCP `command` is one token (bare name or `./` path). `${PLUGIN_ROOT}` and `${PLUGIN_DATA}` expand in `args`, `env`, `cwd` only.
76
+ - Commands, agents, hooks, rules and LSP are client-specific. Put them under `extensions` keyed by reverse domain and a same-named top-level directory (e.g. `com.github.copilot/`) ([Copilot plugin ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference)).
77
+ - The spec defines no marketplace catalog [inference: no catalog section in spec 1.0.0 or 1.1.0].
78
+ - Listed clients: VS Code, Cursor, GitHub Copilot, ChatGPT and Codex, Kiro, Hermes Agent, OpenClaw, Grok Bot, NanoClaw, OpenHands, Perplexity Computer, Google Antigravity. Claude Code is not listed ([compatible clients](https://agent-plugins.org/compatible-clients)).
79
+
80
+ Claude-format plugins: `<plugin>/.claude-plugin/plugin.json` plus `skills/`, `commands/`, `agents/`, `hooks/`, `.mcp.json`. Repo catalog `.claude-plugin/marketplace.json` needs `name` (kebab-case), `owner`, `plugins[]` with each `name` and `source` (`./` relative, no `..`). Check with `claude plugin validate <dir>` ([Claude marketplaces](https://code.claude.com/docs/en/plugin-marketplaces), [Copilot plugin ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference)).
81
+
82
+ | Client | Plugin manifests read | Catalogs read | Add / install |
83
+ |---|---|---|---|
84
+ | Claude Code | `.claude-plugin/plugin.json` | `.claude-plugin/marketplace.json` | `claude plugin marketplace add <owner/repo>`, `/plugin install p@m` ([docs](https://code.claude.com/docs/en/plugin-marketplaces)) |
85
+ | omp | Claude format, root Agent Plugins `plugin.json`, `package.json` `omp.extensions` | `.omp-plugin/marketplace.json`, else `.claude-plugin/marketplace.json` | `/marketplace add <owner/repo>`, `omp plugin install` ([docs](https://github.com/can1357/oh-my-pi/blob/main/docs/marketplace.md)) |
86
+ | Codex / ChatGPT | root `plugin.json`, `.codex-plugin/plugin.json` fallback, Claude-compatible manifests | `.agents/plugins/marketplace.json`, `.claude-plugin/marketplace.json`, `~/.agents/plugins/marketplace.json` | `codex plugin marketplace add <src>`, `codex plugin add` ([docs](https://developers.openai.com/codex/plugins/build), codex-cli 0.163.0 --help) |
87
+ | Copilot CLI | root Agent Plugins; legacy `.plugin/`, `plugin.json`, `.github/plugin/`, `.claude-plugin/` | `marketplace.json`, `.plugin/`, `.github/plugin/`, `.claude-plugin/` | `copilot plugin marketplace add <owner/repo>`, `copilot plugin install p@m` ([ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference)) |
88
+ | VS Code | Agent Plugins, Copilot, Claude, legacy OpenPlugin | `chat.plugins.marketplaces` setting | Chat: Install Plugin From Source ([ref](https://code.visualstudio.com/docs/agents/reference/agent-plugin-reference)) |
89
+ | Cursor | root `plugin.json` or `.cursor-plugin/plugin.json` only | `.cursor-plugin/marketplace.json` | Customize page, team marketplaces, a local `plugins/local` folder under `~/.cursor` ([docs](https://cursor.com/docs/plugins)) |
90
+ | Devin | `.devin-plugin/` > `.claude-plugin/` > root `plugin.json` | team marketplace | `devin plugins` ([docs](https://docs.devin.ai/cli/extensibility/plugins/overview)) |
91
+ | Goose | `plugin.json`, `.plugin/`, `.goose-plugin/`, `gemini-extension.json` | none documented | ([docs](https://goose-docs.ai/docs/guides/context-engineering/plugins/)) |
92
+ | Gemini CLI | `gemini-extension.json` | GitHub URL or path | `gemini extensions install <url>` ([Gemini](https://geminicli.com/docs/extensions/)) |
93
+ | Google Antigravity | `.antigravity-plugin/plugin.json` (wins) or root `plugin.json` | `antigravity-plugins-official`, GitHub URL, or local path | `agy plugin install <name\|github-url\|path>`, `agy plugin validate --strict <dir>` into `~/.gemini/config/plugins/` ([plugins](https://antigravity.google/docs/plugins), [build-plugins](https://antigravity.google/docs/build-plugins)) |
94
+
95
+ - A root Agent Plugins `plugin.json` outranks `.claude-plugin/plugin.json` in Copilot CLI, and Agent Plugins components load only from fixed paths ([Copilot plugin ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference)). [inference: root `commands/` then stops loading in Copilot.]
96
+ - `${CLAUDE_PLUGIN_ROOT}` expands in Cursor, VS Code and Copilot. Cursor does not expand `${PLUGIN_ROOT}` or `${PLUGIN_DATA}` ([Cursor ref](https://cursor.com/docs/reference/plugins), [VS Code ref](https://code.visualstudio.com/docs/agents/reference/agent-plugin-reference)).
97
+ - Installed plugins run from a cache, not your checkout. Reinstall after editing (Copilot: `~/.copilot/installed-plugins/`; Codex: `~/.codex/plugins/cache/<marketplace>/<plugin>/<version>/`) ([Copilot](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating), [Codex](https://developers.openai.com/codex/plugins/build)).
98
+
99
+ ## Other harnesses at a glance
100
+
101
+ | Harness | Context files | Headless | MCP config | ACP |
102
+ |---|---|---|---|---|
103
+ | Gemini CLI | `GEMINI.md` (user `~/.gemini/GEMINI.md` + project tree), `context.fileName` | `gemini -p "..." --output-format json` | `mcpServers` in `settings.json` | `gemini --acp` ([headless](https://geminicli.com/docs/cli/headless/), [ACP](https://geminicli.com/docs/cli/acp-mode/), [MCP](https://geminicli.com/docs/tools/mcp-server/)) |
104
+ | Antigravity CLI `agy` | workspace `AGENTS.md` and `GEMINI.md`, `~/.gemini/config/`, `~/.gemini/AGENTS.md`, `~/.gemini/GEMINI.md` | `agy -p "..." --output-format json` or `stream-json` | `.agents/mcp_config.json`, `~/.gemini/config/mcp_config.json`, plugin `mcp_config.json` | `agy acp` (`agy acp --login`) ([headless](https://antigravity.google/docs/cli/headless), [ACP](https://antigravity.google/docs/cli/acp), [discovery](https://antigravity.google/docs/customization-discovery), [migration](https://antigravity.google/docs/cli/gcli-migration)) |
105
+ | Cursor IDE + CLI `agent` | `AGENTS.md` root and nested, `.cursor/rules/*.mdc` (plain `.md` ignored) | `agent -p "..."`; `--force` runs unapproved actions; `--output-format json` | `.cursor/mcp.json`, `~/.cursor/mcp.json` | `agent acp` ([rules](https://cursor.com/docs/rules), [headless](https://cursor.com/docs/cli/headless), [ACP](https://cursor.com/docs/cli/acp)) |
106
+ | Copilot CLI | `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `.github/copilot-instructions.md`, `.github/instructions/**`, `.claude/rules/**` | `copilot -p "..." -s`; `--allow-all-tools` or `--yolo` | `~/.copilot/mcp-config.json`; repo `.mcp.json` needs trust | `copilot --acp` ([CLI ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference)) |
107
+ | OpenCode | `AGENTS.md`, `CLAUDE.md` fallback, `~/.config/opencode/AGENTS.md` | `opencode run "..."` | `mcp` in `opencode.json(c)` | `opencode acp` ([rules](https://opencode.ai/docs/rules/), [CLI](https://opencode.ai/docs/cli/), [ACP](https://opencode.ai/docs/acp/)) |
108
+ | Amp | `AGENTS.md` cwd, parents, subtrees; `~/.config/amp/AGENTS.md` | `amp -x "..."`, `--stream-json`; `amp -ox` runs in a cloud orb | `amp.mcpServers`, `--mcp-config`, skill-bundled `mcp.json` | third-party `amp-acp` only ([execute](https://ampcode.com/docs/cli/execute-mode), [MCP](https://ampcode.com/docs/customize/mcp), [registry](https://agentclientprotocol.com/get-started/registry)) |
109
+ | Goose | `AGENTS.md`, `.goosehints`; `CONTEXT_FILE_NAMES` | `goose run -t "..."` | extensions in `~/.config/goose/config.yaml` | `goose acp` ([hints](https://goose-docs.ai/docs/guides/context-engineering/using-goosehints/), [CLI](https://goose-docs.ai/docs/guides/goose-cli-commands/)) |
110
+ | Zed agent | first match list above; `~/.config/zed/AGENTS.md` | none, editor only [inference] | `context_servers` in settings | ACP client; hosts Claude, Codex, Gemini, OpenCode, Copilot, Cursor ([external agents](https://zed.dev/docs/ai/external-agents)) |
111
+ | Devin Desktop / CLI | `AGENTS.md`, `AGENTS.local.md`, `AGENT.md` per dir; `.devin/rules/`; legacy `.windsurf/rules/` | `devin -p "..."` | `.devin/mcp_config.json`, `~/.config/devin/mcp_config.json` | `devin acp` ([customizations](https://docs.devin.ai/desktop/devin-local/customizations), [commands](https://docs.devin.ai/cli/essential-commands), [Zed](https://docs.devin.ai/cli/acp/zed)) |
112
+ | Kiro IDE + `kiro-cli` | `.kiro/steering/*.md`, `AGENTS.md` | `kiro-cli chat --no-interactive "..."`; `--trust-all-tools` | `.kiro/settings/mcp.json`, `~/.kiro/settings/mcp.json` | `kiro-cli acp` ([steering](https://kiro.dev/docs/steering/), [headless](https://kiro.dev/docs/cli/headless/), [ACP](https://kiro.dev/docs/cli/acp/)) |
113
+
114
+ - Gemini CLI stopped serving Google AI Pro, Ultra and free users on 2026-06-18; they move to Antigravity CLI. Paid API keys and Code Assist Standard or Enterprise keep Gemini CLI ([Google blog](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli)).
115
+ - Antigravity ignores `.gemini/skills/`; move workspace skills to `.agents/skills/`. `agy plugin import gemini` migrates extensions and MCP ([migration](https://antigravity.google/docs/cli/gcli-migration)).
116
+ - Windsurf docs now redirect to Devin Desktop; rule and skill dirs moved from `.windsurf/` to `.devin/`, legacy still read ([customizations](https://docs.devin.ai/desktop/devin-local/customizations)).
117
+ - Copilot CLI in `-p` mode skips workspace MCP, repo hooks and project extensions unless the folder is trusted or `GITHUB_COPILOT_PROMPT_MODE_WORKSPACE_MCP=true` / `_REPO_HOOKS=true` / `_EXTENSIONS=true` ([CLI ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference)).
118
+ - Cursor `agent -p` writes workspace files even without `--force` ([headless](https://cursor.com/docs/cli/headless)).
119
+ - Amp CI needs an `AMP_API_KEY` access token (`sgamp_...`); the `amp login` session token is rejected ([execute](https://ampcode.com/docs/cli/execute-mode)).
120
+
121
+ ## Browser automation for agents
122
+
123
+ - Playwright: `npx @playwright/mcp@latest`. Its README tells coding agents to prefer the CLI plus skills, which skips large tool schemas: `npm install -g @playwright/cli@latest`, then `playwright-cli install --skills` (global `npm install -g` is a host-level change — under deepmodebot, ask the user or use project-local/ephemeral `npx`) ([playwright-mcp](https://github.com/microsoft/playwright-mcp), [playwright-cli](https://github.com/microsoft/playwright-cli)).
124
+ - Playwright MCP flags: `--headless`, `--isolated` (profile in memory), `--user-data-dir`, `--storage-state`, `--output-dir`, `--caps=vision,pdf,devtools`. A persistent profile serves one browser at a time; parallel agents need `--isolated` or distinct `--user-data-dir` ([playwright-mcp](https://github.com/microsoft/playwright-mcp)).
125
+ - `playwright-cli` sessions: `-s=<name>` or `PLAYWRIGHT_CLI_SESSION=<name>` per agent; headless sessions exit after an hour idle ([playwright-cli](https://github.com/microsoft/playwright-cli)).
126
+ - Chrome DevTools MCP: `npx -y chrome-devtools-mcp@latest` for perf traces, network, console with source-mapped stacks. Flags `--headless`, `--isolated`, `--browser-url`, `--autoConnect`, `--slim`. Also ships a `chrome-devtools` CLI and skills ([repo](https://github.com/ChromeDevTools/chrome-devtools-mcp), [config](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md)).
127
+ - agent-browser (Vercel, Rust): `npm install -g agent-browser` (ask the user before global installs under deepmodebot, or run locally), `agent-browser install`, then `open <url>`, `snapshot -i`, `click @e1`. One daemon and browser per `--session`. `agent-browser skills get core` prints usage that matches the installed CLI ([repo](https://github.com/vercel-labs/agent-browser)).
128
+ - Proof rule: screenshots and traces are artifacts; name the file inside the repo (see containment section).
129
+
130
+ ## Docs for agents
131
+
132
+ - `llms.txt`: at `/llms.txt` or any subpath (`/docs/llms.txt`); the most specific file wins. Only an H1 is required; then a blockquote summary and H2 link lists. `## Optional` links are skippable. Pages may offer `page.md` or `page.html.md` twins ([llmstxt.org](https://llmstxt.org)).
133
+ - Observed 2026-11-11: agentskills.io, opencode.ai, code.claude.com and code.visualstudio.com serve `.md` page twins; cursor.com returns Markdown for `Accept: text/markdown`; ampcode.com serves `/docs/markdown/<page>`.
134
+ - Context7: remote MCP `https://mcp.context7.com/mcp` with `Authorization: Bearer <key>`; tools `resolve-library-id` then `query-docs`. CLI: `ctx7 library <name> <query>`, `ctx7 docs <libraryId> <query>`. `npx ctx7 setup` edits agent config ([context7](https://github.com/upstash/context7)).
135
+ - Prefer the vendor's own docs or changelog over a docs MCP when they disagree; cite the vendor page.
136
+
137
+ ## Isolation and orchestration
138
+
139
+ - Git worktrees give each agent its own checkout and branch. Fresh worktrees lack gitignored deps and `.env`; `.worktreeinclude` at the repo root lists gitignored files to copy (Claude Code and Orca) ([Claude worktrees](https://code.claude.com/docs/en/worktrees), [Orca worktrees](https://www.onorca.dev/docs/model/worktrees)).
140
+ - Orca (stablyai/orca): desktop ADE running Claude Code, Codex and other agents in parallel worktrees, local, SSH or cloud ([repo](https://github.com/stablyai/orca)). Share big gitignored dirs with `worktree.sharedDirectories` in `orca.yaml` ([worktrees](https://www.onorca.dev/docs/model/worktrees)).
141
+ - Orca CLI: `orca worktree create --repo id:<id> --name <n> --json`; `orca orchestration run-create --objective "..."`, `task-create --spec "..."`, `worker-start --task <id> --worktree new-child --agent codex|claude|antigravity`, `check --wait` ([CLI](https://www.onorca.dev/docs/cli/overview), [orchestration](https://www.onorca.dev/docs/cli/orchestration)).
142
+ - Conductor kept workspaces under `~/conductor/workspaces/<repo>/<name>`. Conductor Cloud shuts down 2026-11-20 per Orca's migration guide; conductor.build says it is joining Meta ([migration](https://www.onorca.dev/docs/migrate-from-conductor), [conductor.build](https://www.conductor.build)).
143
+ - Claude Code agent teams: experimental, `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`. Teammates share a task list and message each other; token cost is much higher than subagents ([agent teams](https://code.claude.com/docs/en/agent-teams)).
144
+ - Cloud sandboxes: Codex Cloud environments, Amp orbs, Cursor Cloud Agents, Copilot cloud agent, Kiro web, Devin Cloud. Only repo-level skills travel. User skills (`~/.agents/skills`, `~/.cursor/skills`) stay local unless synced ([client guide](https://agentskills.io/client-implementation/adding-skills-support), [Cursor](https://cursor.com/docs/skills), [Copilot](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills), [Codex Cloud](https://developers.openai.com/codex/cloud)).
145
+ - Devcontainers: `.devcontainer/devcontainer.json`; `npx @devcontainers/cli` (or user-approved `npm install -g @devcontainers/cli`), `devcontainer up --workspace-folder .`, `devcontainer exec`. Override the mount with `workspaceMount` plus `workspaceFolder` (each requires the other) ([spec](https://containers.dev/implementors/json_reference/), [CLI](https://github.com/devcontainers/cli)).
146
+
147
+ ## Containing writes to the project root
148
+
149
+ Worktree placement:
150
+
151
+ | Tool | Default worktree path | Inside repo? | Change it |
152
+ |---|---|---|---|
153
+ | Claude Code `--worktree` | `.claude/worktrees/<name>/`, branch `worktree-<name>` | yes; add `.claude/worktrees/` to ignores | default is fine ([worktrees](https://code.claude.com/docs/en/worktrees)) |
154
+ | Codex app | `$CODEX_HOME/worktrees` | no | Settings > Worktrees ([Codex worktrees](https://developers.openai.com/codex/app/worktrees)) |
155
+ | Orca | `~/orca/workspaces/<repo>/<name>` (nested) or flat `<dir>/<name>` | no | per-project Worktree Location ([issue #27015](https://github.com/stablyai/orca/issues/27015), user-filed [unverified in Orca docs]) |
156
+ | Conductor | `~/conductor/workspaces/<repo>/<name>`; older `.conductor/` in repo | no / yes | ([migration](https://www.onorca.dev/docs/migrate-from-conductor)) |
157
+ | plain git | wherever `git worktree add <path>` points | your choice | use `<repo>/.worktrees/<name>` ([git-worktree](https://git-scm.com/docs/git-worktree)) |
158
+
159
+ - Inside-repo worktrees must be ignored or they show as untracked ([Claude worktrees](https://code.claude.com/docs/en/worktrees)). deepmodebot puts a `.gitignore` of `*` inside `.worktrees/` and `.scratch/`, which needs no write under `.git/` (Codex's sandbox makes `.git` read-only). The local-only alternative is `echo '/.worktrees/' >> "$(git rev-parse --git-common-dir)/info/exclude"`.
160
+ - `$GIT_COMMON_DIR/info/exclude` is per-repo, uncommitted, shared by every linked worktree, and its patterns anchor at the repo root ([gitignore](https://git-scm.com/docs/gitignore)). Linked worktree admin data lives in `$GIT_DIR/worktrees/<id>` inside `.git` ([git-worktree](https://git-scm.com/docs/git-worktree)).
161
+ - ripgrep honors `.gitignore`, `.ignore`, `.rgignore`, `$GIT_DIR/info/exclude` and `core.excludesFile` ([ripgrep guide](https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md)). Watchers, build tools and test runners may still walk a nested worktree ([issue #27015](https://github.com/stablyai/orca/issues/27015)). Add it to each tool's own exclude (tsconfig `exclude`, test ignore patterns) [inference].
162
+ - Sibling layouts (`../app.worktrees/`, `~/orca/workspaces`, `$CODEX_HOME/worktrees`) sit outside the project root. Under deepmodebot, repoint them inside the repo or ask before using them.
163
+ - Temp files: Python `tempfile` uses `TMPDIR`, then `TEMP`, then `TMP`, before platform defaults like `/tmp` or `C:\TEMP` ([tempfile](https://docs.python.org/3/library/tempfile.html)). Export `TMPDIR`, `TEMP` and `TMP` as `<repo>/.scratch/tmp`. Other runtimes may ignore these variables [inference].
164
+ - Devcontainer: bind only the repo (`workspaceMount` `source=${localWorkspaceFolder},target=/workspaces/<name>,type=bind`). Container writes outside the mount never reach the host and vanish on rebuild [inference] ([spec](https://containers.dev/implementors/json_reference/)).
165
+ - Browser artifacts: Playwright MCP `--output-dir <repo>/.scratch/pw` covers auto-named files; explicit filenames resolve against the workspace root ([playwright-mcp](https://github.com/microsoft/playwright-mcp)). chrome-devtools-mcp `--isolated` puts its profile in a temp dir; pass `--user-data-dir <repo>/.scratch/chrome` instead ([config](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md)).
166
+ - Agent Plugins path containment covers package files only. It does not sandbox plugin subprocesses ([spec](https://github.com/agentplugins/agent-plugins-spec/blob/main/spec/1.0.0.md)).
167
+
168
+ Tool-owned state outside the repo (not yours; do not clean it, do not report it as a leak):
169
+
170
+ - Playwright MCP profile: `%USERPROFILE%\AppData\Local\ms-playwright\mcp-{channel}-{workspace-hash}`, `~/.cache/ms-playwright/...` on Linux ([playwright-mcp](https://github.com/microsoft/playwright-mcp)).
171
+ - chrome-devtools-mcp profile: `$HOME/.cache/chrome-devtools-mcp/chrome-profile` ([config](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md)).
172
+ - Copilot: `~/.copilot/installed-plugins/`, `~/.cache/copilot/marketplaces/`; Codex: `~/.codex/plugins/cache/`; Antigravity: `~/.gemini/config/plugins/`, `~/.gemini/antigravity*/brain/`, `${PLUGIN_DATA}`; Agent Plugins `PLUGIN_DATA` dirs ([Copilot ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference), [Codex](https://developers.openai.com/codex/plugins/build), [Antigravity](https://antigravity.google/docs/build-plugins)).
173
+
174
+ ## Traps for deepmodebot
175
+
176
+ - `.omp/skills/verify-<app>/` is invisible outside omp. Put verify skills in `.agents/skills/verify-<app>/` (read by Codex, Gemini, Antigravity, Cursor, Copilot, OpenCode, Amp, Goose, Zed, Devin and omp). Also mirror to `.claude/skills/` for Claude Code and `.kiro/skills/` for Kiro.
177
+ - Claude Code makes its own: `/run-skill-generator` writes `.claude/skills/run-<name>/`, and `/verify` writes `.claude/skills/verify/SKILL.md` ([Claude skills](https://code.claude.com/docs/en/skills)). Check those before creating a new verify skill.
178
+ - On Windows, mirror skills by copying, not symlinking. Git checks symlinks out as text files without `core.symlinks` ([memory](https://code.claude.com/docs/en/memory)). Harnesses that read both dirs may list a skill twice; omp drops identical copies ([omp skills](https://github.com/can1357/oh-my-pi/blob/main/docs/skills.md)).
179
+ - `.omp/RULES.md` reaches omp only. Rules every harness must see go in `AGENTS.md`. Delegates still need them restated in the brief.
180
+ - Adding `CLAUDE.md` or `CLAUDE.local.md` to an AGENTS.md repo hides AGENTS.md from Claude Code. Use a `CLAUDE.md` that starts with `@AGENTS.md`. In Zed, delete stray `.rules` or `.cursorrules` or AGENTS.md never loads.
181
+ - `skill://deepmodebot/...` resolves only in omp. Elsewhere resolve paths relative to the folder holding deepmodebot's `SKILL.md`; open the files with the normal read tool.
182
+ - `/skill:<name>` is omp syntax. Use `/name` (Claude Code, Cursor, Copilot, Zed, Kiro, Devin), `$name` (Codex), `@name` (OpenCode), `/skills name` (Goose).
183
+ - deepmodebot's `disable-model-invocation: true` is not a documented Codex field [inference: Codex may auto-invoke the skill]. Add `agents/openai.yaml` with `policy: allow_implicit_invocation: false` to keep it explicit-only there ([Codex skills](https://developers.openai.com/codex/skills)).
184
+ - `/deepmodebot:deep` comes from the Claude-format `commands/` dir. Agent Plugins defines no commands, and Cursor and Goose document no `.claude-plugin/` loading. Where the command is missing, invoke the deepmodebot skill directly.
185
+ - Adding a root Agent Plugins `plugin.json` makes Copilot CLI ignore the Claude-layout `commands/`. If you add one, put Copilot-specific components under `com.github.copilot/` ([Copilot plugin ref](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference)).
186
+ - `omp -p` on the subscription maps to `claude -p`, `codex exec`, `gemini -p` / `agy -p`, `agent -p`, `copilot -p`, `opencode run`, `amp -x`, `goose run -t`, `devin -p`, `kiro-cli chat --no-interactive`. Use each tool's signed-in login. Never mint a model API key; Amp CI tokens are account tokens.
187
+ - `todo`, `ask`, `task` with `agent: "scout"` or `reviewer` are omp tool names. Elsewhere use the harness's own plan or todo tool and subagents, or Orca orchestration workers when running under Orca.
188
+ - `local://` artifacts do not exist elsewhere. Write artifacts under the repo's `.scratch/` (self-ignoring), never system temp.
189
+ - Parallel browser proofs collide on one Playwright profile. Give each delegate `--isolated` or its own `-s=<session>`, `--session`, or `--user-data-dir` inside the repo.
190
+ - Running under Orca or the Codex app: the session cwd may already be a worktree outside the original checkout. Treat that worktree root as the project root and keep writes inside it.
@@ -0,0 +1,50 @@
1
+ # Choose an AI SDK by the missing capability
2
+
3
+ **Checked 2026-11-13 against the primary documentation below.** These are use-case recommendations, not measured speed, quality or cost rankings. No SDK inference, deployment or compatibility matrix was exercised. Recheck the language-specific docs and lockfile before implementation.
4
+
5
+ ## Choose the layer first
6
+
7
+ 1. **A model call:** use the application's existing provider client. A multi-agent framework is unnecessary for extraction or one response when the application already owns state and tool dispatch.
8
+ 2. **A coding harness:** retain the installed CLI/SDK and its permission model. ACP drives an agent; MCP exposes tools. Neither protocol creates a sandbox. Read `references/protocols.md`.
9
+ 3. **An application agent:** choose one owner for the model/tool loop. Add a graph or durable engine only for explicit transitions, parallel coordination, persisted waiting or recovery that the existing runtime cannot supply.
10
+ 4. **Evaluation or tracing:** choose those independently. A trace is evidence, not acceptance; sending traces to a vendor is a separate data/authorization decision.
11
+
12
+ For deepmodebot's own subscription-backed goal drafting and review, **keep the existing harness and ACP**. An SDK comparison is not permission to install packages, introduce API keys, enable external tracing or nest another autonomous repair loop.
13
+
14
+ ## Shortlist by application
15
+
16
+ | Need | Default candidate to evaluate | Documented reason | Important limit |
17
+ |---|---|---|---|
18
+ | Typed Python extraction and agent outputs, provider flexibility | **Pydantic AI** | Typed output validation, function tools/dependencies, model providers; separate Evals and Graph packages. [Overview](https://pydantic.dev/docs/ai/overview) | Type/schema validity does not prove the answer, business metric or permission is correct. Provider feature parity still needs a test. |
19
+ | TypeScript application with streaming chat UI | **Vercel AI SDK** | Core covers generation, structured output, tools and agents; UI covers chat hooks; Harnesses wraps existing coding harnesses. [Introduction](https://ai-sdk.dev/docs/introduction) | Choose Core versus Harnesses explicitly; do not run two competing loops or assume every provider supports every surface. |
20
+ | Small code-first agent runtime around OpenAI-oriented tools, handoffs and sessions | **OpenAI Agents SDK** | Agents, function tools, handoffs, guardrails, sessions and tracing; direct Responses API remains an alternative when the app owns the loop. [Overview](https://openai.github.io/openai-agents-python/) | Tracing is enabled by default and may include model/tool inputs and outputs. Review data destinations before the first call. |
21
+ | Explicit durable graph state, approval pauses or replay | **LangGraph**, with LangChain only where useful | Low-level graph execution, persistence and interrupt/resume semantics; LangChain supplies higher-level agent middleware. | Read `references/langchain-ecosystem.md`; checkpoints do not make external effects exactly-once. |
22
+ | Python/TypeScript application embedding Claude Code's execution harness | **Claude Agent SDK** | Runs the Claude Code binary with built-in tools, permissions, hooks and sessions. [Overview](https://code.claude.com/docs/en/agent-sdk/overview.md) | This is not just the Claude API client. Third-party products cannot assume claude.ai subscription authentication is permitted. |
23
+ | Gemini-centered agent app needing explicit workflows, developer UI and evaluation | **Google ADK** | LLM agents plus sequential/parallel/loop workflow agents, sessions/state, artifacts and evaluation tools. [Technical overview](https://adk.dev/get-started/about/) | Verify the selected language's feature support and model adapter. A `LoopAgent` is another controller to bound, not a reason to bypass the host's limits. |
24
+ | Existing Microsoft/.NET estate or migration from Semantic Kernel/AutoGen | **Microsoft Agent Framework** | Agents, harness, explicit workflows, providers and middleware; documented successor to Semantic Kernel and AutoGen. [Overview](https://learn.microsoft.com/en-us/agent-framework/overview/) | Language maturity differs: the inspected page marks Go public preview and lists missing features. Check the chosen package, not a framework-wide GA claim. |
25
+
26
+ These candidates overlap. Existing dependencies and demonstrated failure modes win over novelty. Keep an older framework when it meets the contract and migration cost exceeds a proven benefit; a vendor's successor announcement is not a migration mandate.
27
+
28
+ ## Apply the choice without guessing
29
+
30
+ Record a small decision packet:
31
+
32
+ - User outcome, current language/runtime and existing dependencies.
33
+ - Missing primitive: typed result, streaming UI, tools, coordination, durable state or harness embedding.
34
+ - Exact package/version and authoritative language-specific page; separate feature floor from installed version.
35
+ - Authentication mode, data destinations and who owns tools, retries, state, approvals and shutdown.
36
+ - One consumer-visible proof, one denial case and one timeout/recovery case; same workload and model when comparing SDKs.
37
+ - Baseline, target, observed result, adoption/rejection and rollback. Do not manufacture benchmark numbers.
38
+
39
+ Use the smallest adapter that passes those checks. If a material deployment, data-residency or budget preference is unknown, ask that question; discover repo facts yourself. Never substitute a different model or provider merely to make the sample work.
40
+
41
+ ## Data and execution traps
42
+
43
+ - OpenAI Agents SDK's [tracing guide](https://openai.github.io/openai-agents-python/tracing/) documents default export and sensitive-data capture. Disable or replace tracing before a run when external export is not approved. Turning tracing off later does not erase buffered records; adding a redaction processor does not remove the default exporter.
44
+ - Claude's [SDK overview](https://code.claude.com/docs/en/agent-sdk/overview.md) distinguishes local Agent SDK, direct Client SDK and hosted Managed Agents. Their execution and authentication boundaries are not interchangeable.
45
+ - Provider fallback, automatic retries and multi-agent calls must stay inside the user's selected model, spend and side-effect contract. Documentation advertising a fallback is not approval to use it.
46
+ - Tool arguments and structured model outputs are untrusted input. Validate types and domain constraints before effects; apply permissions at execution, not merely by hiding a tool from the model.
47
+ - Persisted sessions, checkpoint stores and durable queues preserve different things. Reconcile an unknown external outcome before replay. A successful SDK return is not proof of the human's goal.
48
+ - A local SDK initialization/import check proves startup only. Stub/offline models are useful tests, not evidence of live inference, tool enforcement or production reliability.
49
+
50
+ **Done when** the decision names the application-specific winner, the rejected alternative and evidence for the tradeoff; implementation claims include a pinned-package live proof. Research-only work must say that proof has not run.
@@ -0,0 +1,108 @@
1
+ # Google Antigravity harness reference
2
+
3
+ Read when deepmodebot runs inside Google Antigravity (the Antigravity App, Antigravity CLI `agy`, Antigravity IDE or IDE extensions, the Python SDK, or an ACP client driving `agy acp`), or when you must translate a deepmodebot instruction written for omp into Antigravity tools, files, and flags.
4
+
5
+ Checked: 2026-11-13 against [antigravity.google/docs](https://antigravity.google/docs/overview) (canonical docs site; index at [llms.txt](https://antigravity.google/llms.txt)).
6
+
7
+ ## Surfaces, auth, and models
8
+
9
+ - Surfaces share one customization model across the desktop **Antigravity App** (`~/.gemini/antigravity`), **Antigravity CLI** `agy` (`~/.gemini/antigravity-cli`, settings in `~/.gemini/antigravity-cli/settings.json`), **Antigravity IDE** (`~/.gemini/antigravity-ide`), **IDE extensions** (VS Code, JetBrains, Visual Studio, Zed, Xcode), and the Python **Antigravity SDK** ([overview](https://antigravity.google/docs/overview), [extensions](https://antigravity.google/docs/ide/extensions), [SDK](https://antigravity.google/docs/sdk/overview)).
10
+ - Gemini CLI stopped serving Google AI Pro, Ultra, and free accounts on 2026-06-18; those tiers moved to `agy` ([migration](https://antigravity.google/docs/cli/gcli-migration)).
11
+ - Auth: cached Google OAuth sign-in from interactive `agy` or `agy acp --login`, GCP project (`gcp` in `settings.json`), or `GEMINI_API_KEY` with `"modelProvider": "gemini"` ([install](https://antigravity.google/docs/install), [reference](https://antigravity.google/docs/cli/reference), [ACP](https://antigravity.google/docs/cli/acp)). Headless `agy -p` reuses cached credentials and exits immediately with `authentication required` if unauthenticated instead of opening a browser ([headless](https://antigravity.google/docs/cli/headless)).
12
+ - Models and effort: `agy models` lists available slugs; `--model <slug>` or `/model` selects one, and an unknown slug fails with exit `1` and `status: "ERROR"` ([headless](https://antigravity.google/docs/cli/headless), [reference](https://antigravity.google/docs/cli/reference)). `--effort low|medium|high|xhigh|max` or `/effort` sets reasoning effort; `agy agents` lists agents and `--agent <name>` selects the main agent ([reference](https://antigravity.google/docs/cli/reference)).
13
+
14
+ ## Discovery scopes, rules, and manifests
15
+
16
+ | Location | Scope |
17
+ | - | - |
18
+ | `.agents/` in cwd and parents up to repo root (`.git`); legacy `.agent/`, `_agents/`, `_agent/` | Workspace (`skills/`, `rules/`, `agents/`, `plugins/`, `hooks.json`, `mcp_config.json`, manifests) |
19
+ | `AGENTS.md` and `GEMINI.md` in cwd and parents up to repo root | Workspace instructions (always on; subfolders below cwd are not scanned) |
20
+ | `~/.gemini/config/` plus `~/.gemini/AGENTS.md` and `~/.gemini/GEMINI.md` | Personal global scope shared by App, CLI `agy`, and IDE |
21
+ | `.gemini/config.json` `{"personal_customization_dir": "people/{user}"}` | Shared-repo personal dir (`people/<user>/.agents/`, `USER` or Windows `USERNAME`) |
22
+ | `~/.gemini/antigravity-cli/skills/` and `~/.gemini/skills/` | **CLI-only** skill dirs (ignored by App; outrank workspace skills in `agy`) |
23
+
24
+ Source: [customization-discovery](https://antigravity.google/docs/customization-discovery).
25
+
26
+ - `.gemini/skills/` in a workspace is **not** read; use `.agents/skills/` ([migration](https://antigravity.google/docs/cli/gcli-migration)). Additional workspace roots come from CLI `--add-dir <path>` or `/add-dir` ([customization-discovery](https://antigravity.google/docs/customization-discovery)).
27
+ - One-level scan depth: `skills/<name>/SKILL.md`, `rules/<name>.md`, and `agents/<name>.md` (or `agents/<name>/agent.md`). Deeper nesting (`skills/group/x/SKILL.md`) is skipped unless pointed to by a discovery manifest ([customization-discovery](https://antigravity.google/docs/customization-discovery)).
28
+ - Discovery manifests: `skills.json`, `rules.json`, `agents.json`, and `plugins.json` inside `.agents/` or `~/.gemini/config/` declare `entries` (`[{ path, include_only?, exclude? }]`), `inherits`, and top-level `exclude` (`string[]`). Lists take exact names (no wildcards), and `~` is not expanded in manifest paths ([customization-discovery](https://antigravity.google/docs/customization-discovery)).
29
+ - Priority order for skills and custom agents (first wins): CLI-only `~/.gemini/antigravity-cli/skills/` and `~/.gemini/skills/` (in `agy` only, bypassing manifest `exclude` lists) > repo `personal_customization_dir` > workspace `.agents/` and manifests > personal `~/.gemini/config/` and manifests > built-ins ([customization-discovery](https://antigravity.google/docs/customization-discovery), [skills](https://antigravity.google/docs/skills)).
30
+ - Rules never replace each other: every matching rule loads, deduplicated by resolved file path ([customization-discovery](https://antigravity.google/docs/customization-discovery)).
31
+ - `AGENTS.md` and `GEMINI.md` (plus plugin `rules/AGENTS.md`) are plain Markdown and always active. Named `rules/<name>.md` files require YAML frontmatter `trigger`: `always_on`, `model_decision` (needs `description`), `glob` (needs `globs` as a **comma-separated string** `"**/*.ts, **/*.tsx"`, not a YAML array), or `manual` (`@<name>`) ([rules](https://antigravity.google/docs/rules), [build-plugins](https://antigravity.google/docs/build-plugins)).
32
+ - Reload: rules and skills re-read before each turn; in interactive `agy`, run `/skills reload` (or start a new session) to refresh slash-command completions ([customization-discovery](https://antigravity.google/docs/customization-discovery), [skills](https://antigravity.google/docs/skills)).
33
+
34
+ ## Skills and plugins
35
+
36
+ - Skills follow Agent Skills (`<name>/SKILL.md` with `name` and `description`); unknown frontmatter keys (such as Claude Code's `hooks:`) are ignored cleanly. Every discovered skill registers `/<skill-name>` in chat, while plugin skills carry internal ID `<plugin>:<skill>` so they do not collide with workspace skills ([skills](https://antigravity.google/docs/skills), [plugins](https://antigravity.google/docs/plugins), [customization-discovery](https://antigravity.google/docs/customization-discovery)).
37
+ - Plugin manifests: `<plugin-root>/.antigravity-plugin/plugin.json` or `<plugin-root>/plugin.json`. `.antigravity-plugin/plugin.json` takes precedence over root `plugin.json` so multi-harness plugins can coexist with `.claude-plugin/plugin.json` ([build-plugins](https://antigravity.google/docs/build-plugins)).
38
+ - Schema `https://antigravity.google/schemas/v1/plugin.json` enforces `additionalProperties: false` with keys `$schema`, `name` (required, kebab-case), `displayName`, `description`, `version`, `disabled`, `logo`, `suggestedPrompts` (max 3), `skills` (extra relative skill dir path or array), `author`, `homepage`, `repository`, `license`, `keywords`, `extensions` ([build-plugins](https://antigravity.google/docs/build-plugins)). Claude `commands/*.md` files are ignored.
39
+ - Install locations: `~/.gemini/config/plugins/<name>/` (global, staged by `agy plugin install` and shared by App and CLI) or `.agents/plugins/<name>/` (workspace) ([plugins](https://antigravity.google/docs/plugins), [build-plugins](https://antigravity.google/docs/build-plugins)).
40
+ - CLI management: `agy plugin install <name>[@antigravity-plugins-official]`, `agy plugin install https://github.com/<owner>/<repo>` (or `https://github.com/<owner>/<repo>/tree/<branch>/<subdir>` when `plugin.json` lives in a subfolder, e.g. `agy plugin install ./plugins/deepmodebot` from a clone), `agy plugin install <local-path>`, `agy plugin list [--json]`, `enable`, `disable`, `uninstall`, `validate [--strict] <dir>`, and `import [gemini|claude|<path>]`. Interactive TUI: `/plugin` (alias `/plugins`) ([plugins](https://antigravity.google/docs/plugins), [build-plugins](https://antigravity.google/docs/build-plugins), [marketplace](https://antigravity.google/docs/marketplace)).
41
+ - Only `antigravity-plugins-official` is accepted after `@`; third-party repos install directly from a GitHub URL or local path ([marketplace](https://antigravity.google/docs/marketplace)).
42
+ - Path variables: `${PLUGIN_ROOT}` (read-only `~/.gemini/config/plugins/<name>`, replaced on update) and `${PLUGIN_DATA}` (persistent writable dir outside the workspace). Antigravity expands them in `mcp_config.json` (`args`, `cwd`, custom `env`) and exports `PLUGIN_ROOT` and `PLUGIN_DATA` into plugin MCP servers and plugin command hooks ([build-plugins](https://antigravity.google/docs/build-plugins)).
43
+ - Do not redeclare `PLUGIN_ROOT` or `PLUGIN_DATA` inside `mcp_config.json` `env`, and use `./scripts/...` in `hooks.json` because hook `cwd` is already `<plugin-root>` ([build-plugins](https://antigravity.google/docs/build-plugins)).
44
+
45
+ ## Custom subagents and orchestrators
46
+
47
+ - Subagent tools: `invoke_subagent` spawns concurrent child sessions with clean context (`Workspace`: `inherit` default, `branch` isolated git worktree, `share` shared working copy); `define_subagent` defines a session-scoped subagent; `send_message` (`Recipient`, `Message`) wakes an `Idle` subagent with its history intact; `manage_subagents` supports `list`, `kill`, and `kill_all` ([subagents](https://antigravity.google/docs/subagents)).
48
+ - Built-in subagents: `research` (codebase exploration), `browser` (UI verification, screenshots, console and network inspection; `/browser`), and `self` (clone of the calling agent) ([subagents](https://antigravity.google/docs/subagents)).
49
+ - Custom subagent files live in `.agents/agents/<name>.md` (or `<name>/agent.md`), `~/.gemini/config/agents/`, or plugin `agents/<name>.md` / `agents/<name>/agent.md`. In multi-harness plugins shared with omp or Claude Code, use `agents/<name>/agent.md` so Antigravity loads the subagent while omp and Claude Code (`agents/*.md`) ignore it and keep their own built-ins.
50
+ - Frontmatter: `name` and `description` (required), `tools` (allowlist; `send_message` is always included), `mainAgent` (default `true`; selectable via `agy --agent <name>` or `/agents`), `subagent` (default `true`), `model` (`inherit` default, `flash_lite`, `flash`, `pro`), `commandExecutionPolicy` (`sandbox` default, `off`, `auto`, `eager`), `mcpServers`, `skills`, `plugins`, `inheritMcp` (`true`), and `inheritCustomizations` (`true`) ([subagents](https://antigravity.google/docs/subagents), [build-plugins](https://antigravity.google/docs/build-plugins)).
51
+ - **Tool-name hang warning:** unmapped or misspelled names in `tools:` frontmatter can cause the subagent process to hang during execution. List only verified Antigravity tool names (or omit `tools:` to inherit the default set) ([subagents](https://antigravity.google/docs/subagents)).
52
+ - Nesting is capped at 10 levels. Lifecycle states are `Running`, `Idle` (zero cost until messaged), and `Killed` (`kill` deletes temporary `branch`/`share` worktrees while retaining the JSONL transcript). CLI controls: `/agents`, `Alt+J` (jump to subagent awaiting approval), `Ctrl+K` (fast-path approve), `@<subagent>` (direct message), `/tasks` (`manage_task` for background shell jobs) ([subagents](https://antigravity.google/docs/subagents)).
53
+ - Native orchestrators: `/boost` (iterative `Orchestrator` -> `DeepCoder`/`DeepInvestigator` -> workers for hard problems; paid plans, [boost](https://antigravity.google/docs/boost)) and `/swarm` (coordinator + named workers + verifier on a shared `@mention` board where waiting workers cost zero tokens; AI Pro/Ultra, [swarm](https://antigravity.google/docs/swarm)).
54
+ - Also `/teamwork` (scoping interview + milestone gates with Critic, Challenger, and Auditor; paid plans, [teamwork](https://antigravity.google/docs/teamwork)) and `/run-workflow` (Python-scripted staged/parallel agent workflows with structured outputs, [dynamic-workflows](https://antigravity.google/docs/dynamic-workflows)).
55
+
56
+ ## Lifecycle hooks
57
+
58
+ - Locations: `.agents/hooks.json`, `~/.gemini/config/hooks.json`, or `<plugin-root>/hooks.json` (`~/.gemini/antigravity-cli/settings.json` hooks are not loaded). Inspect loaded hooks with `/hooks` ([hooks](https://antigravity.google/docs/hooks), [build-plugins](https://antigravity.google/docs/build-plugins)).
59
+ - Schema: top-level object mapping `<hook-group-name>` to `{ "enabled"?: true, "<Event>": ... }` (not Claude Code's `"hooks": { ... }` wrapper) ([hooks](https://antigravity.google/docs/hooks)).
60
+ - Six events: `PreToolUse` and `PostToolUse` take grouped matcher arrays `[{ "matcher": "<tool-regex>", "hooks": [{ "type": "command", "command": "...", "timeout": 30 }] }]`; `SessionStart`, `PreInvocation`, `PostInvocation`, and `Stop` take flat handler arrays `[{ "type": "command", "command": "...", "timeout": 30 }]` (matchers are ignored) ([hooks](https://antigravity.google/docs/hooks)).
61
+ - Shell and cwd: only synchronous `type: "command"` is supported, invoked via `sh -c` on Unix and `cmd /c` on Windows with process `cwd` set to the folder holding `hooks.json` (`<plugin-root>` for plugins). Prefer `node ./scripts/<handler>.mjs` over `.sh` for cross-platform plugins ([hooks](https://antigravity.google/docs/hooks), [build-plugins](https://antigravity.google/docs/build-plugins)).
62
+ - camelCase JSON stdin/stdout: stdin always includes `conversationId`, `workspacePaths`, `transcriptPath`, `artifactDirectoryPath`, `modelName`, `lastUserInput`, `hookEventName`, and `cwd` (the agent's workspace cwd) ([hooks](https://antigravity.google/docs/hooks)).
63
+ - `PreToolUse` stdin adds `toolCall: { id, name, args }` and `stepIdx`; stdout returns `{ "decision": "allow" | "auto_approve" | "deny" | "ask" | "force_ask" | "deny_unless_prior_grant", "reason"?: "...", "overwrite"?: {...}, "permissionOverrides"?: {...} }` (`overwrite` shallow-merges top-level `toolCall.args`).
64
+ - `PostToolUse` stdin provides `toolCall` and `error` (not tool output); stdout returns `{}`.
65
+ - `SessionStart`, `PreInvocation`, and `PostInvocation` stdout supports `injectSteps` (`systemMessage`, `userMessage`, `errorMessage`) plus `terminationBehavior` (`"terminate"` in Pre/Post, `"force_continue"` in Post).
66
+ - `Stop` stdin adds `executionNum`, `terminationReason`, `fullyIdle`, and `continuationActive`; stdout `{"decision": "continue", "reason": "..."}` resumes work (check `continuationActive` first to avoid infinite loops) ([hooks](https://antigravity.google/docs/hooks)).
67
+ - **Exit `0` required (fail-open rule):** hook commands must exit `0` and emit valid JSON on stdout. **Any non-zero exit code is logged as a hook error and ignored, failing open** — the opposite of Claude Code's blocking exit `2` ([hooks](https://antigravity.google/docs/hooks)).
68
+
69
+ ## MCP
70
+
71
+ - Config files: `~/.gemini/config/mcp_config.json`, `.agents/mcp_config.json`, and `<plugin-root>/mcp_config.json` under root key `mcpServers`. Interactive manager: `/mcp`. Plugin servers are namespaced `<plugin-name>_<server-key>` ([mcp](https://antigravity.google/docs/mcp), [build-plugins](https://antigravity.google/docs/build-plugins)).
72
+ - Transports and timeouts: local `stdio` (`command`, `args`, `env`, `cwd`) or remote **Streamable HTTP only** (`serverUrl` or `url`, `headers`; legacy HTTP+SSE and `httpUrl` are unsupported in `mcp_config.json`). `timeoutSeconds` defaults to `300`s connect and `180`s per tool call; a positive integer overrides both (e.g. `600`), and `-1` disables timeouts ([mcp](https://antigravity.google/docs/mcp)).
73
+ - Lazy vs eager tool loading: MCP tools lazy-load by default — schemas cache to `<app-data-dir>/mcp/<serverName>/<toolName>.json` and the agent calls them through `call_mcp_tool` (`ServerName`, `ToolName`, `Arguments`). Setting `"tools": { "<tool>": { "eager": true, "background"?: "off"|"always" } }` registers `mcp_<serverName>_<toolName>` directly in tool declarations at higher per-turn token cost. Filter tools with `enabledTools`, `disabledTools`, or `disabled` ([mcp](https://antigravity.google/docs/mcp)).
74
+ - Auth and `variables` trap: supports `authProviderType: "google_credentials"` (ADC) and OAuth 2.0 PKCE via CIMD, DCR, or manual `oauth` (`redirect_uri` `https://antigravity.google/oauth-callback`; tokens in `~/.gemini/antigravity/mcp_oauth_tokens.json`). Declaring `mcpServers.<server>.variables` causes `agy plugin install` to install the plugin **disabled** until the user fills in every variable in `/plugin` or App Customizations ([mcp](https://antigravity.google/docs/mcp), [build-plugins](https://antigravity.google/docs/build-plugins)).
75
+
76
+ ## Headless mode and ACP
77
+
78
+ - `agy -p "<prompt>"` (`--print` / `--prompt`) writes the response to `stdout` and diagnostics, errors, and permission notices to `stderr`. `--output-format text|json|stream-json`: `json` emits `{ conversation_id, status, response, error?, duration_seconds, num_turns, structured_output?, json_schema?, usage }`; `stream-json` emits NDJSON `init`, `step_update`, and `result`. `--json-schema '<schema-or-file>'` enforces structured output (`structured_output`) ([headless](https://antigravity.google/docs/cli/headless), [reference](https://antigravity.google/docs/cli/reference)).
79
+ - Multi-turn streaming: `agy --input-format stream-json --output-format stream-json` reads `{"event":"user","message":{"content":"..."}}` lines on `stdin` (omit `-p`; CLI-only slash commands like `/model` exit `2`; `usage`, `num_turns`, and `duration_seconds` are cumulative while `response` is per-turn; close `stdin` to exit `0`). Resume with `-c`/`--continue` or `--conversation <id>`; bound wall time with `--print-timeout 15m` (`0s` = unlimited); `--disable-slash-commands` treats leading `/` literally ([headless](https://antigravity.google/docs/cli/headless)).
80
+ - **Soft-deny headless trap:** in `agy -p`, actions matching an `Ask` rule are soft-denied with a stderr notice while the turn continues and can still exit `0`. Pre-allow required actions in `~/.gemini/antigravity-cli/settings.json` `permissions.allow`, or pass `--dangerously-skip-permissions` only inside an isolated container or VM ([headless](https://antigravity.google/docs/cli/headless), [permissions](https://antigravity.google/docs/permissions)).
81
+ - Native ACP server: `agy acp [flags]` runs an Agent Client Protocol agent over stdio JSON-RPC for Zed, JetBrains, VS Code, Xcode, and `acpx`. Authenticate once via interactive `agy` or `agy acp --login` ([ACP](https://antigravity.google/docs/cli/acp)).
82
+
83
+ ## Sandbox and permissions
84
+
85
+ - OS sandbox: Linux kernel namespaces, macOS `sandbox-exec` (Seatbelt), and Windows AppContainer process security environments (requires Windows 11 24H2 with the August 2026 update; folders outside the user profile stay readable on Windows). The sandbox blocks `~/.ssh` and `.env`, and blocks network access except domains allowed via `read_url(...)`. On unsupported hosts (`v1.4.4+`), `--sandbox` / `enableTerminalSandbox` is a no-op and `proceed-in-sandbox` falls back to `request-review` ([sandbox](https://antigravity.google/docs/sandbox)).
86
+ - Presets and CLI settings: App presets are `Request Review` (sandbox off, ask), `Default` (sandbox on, allow inside / ask outside), `Auto` (sandbox on, safe outside actions auto-approved; personal accounts only), and `Turbo` (sandbox off, unrestricted) ([sandbox](https://antigravity.google/docs/sandbox), [permissions](https://antigravity.google/docs/permissions)).
87
+ - CLI `~/.gemini/antigravity-cli/settings.json` sets `agentMode` (`""`, `"accept-edits"`, `"auto"`, `"plan"`, or `--mode`), `toolPermission` (`"request-review"`, `"proceed-in-sandbox"`, `"always-proceed"`, `"strict"`), `enableTerminalSandbox` (`false` unless `auto` or `--sandbox`), and `allowNonWorkspaceAccess` (`false` default) ([reference](https://antigravity.google/docs/cli/reference)).
88
+ - Fine-grained rules evaluate `Deny > Ask > Allow` with `action(target)`: `read_file(...)`, `write_file(...)` (implies `read_file`), `read_url(domain)`, `execute_url(domain)` (browser navigation; `read_url` does not grant `execute_url`; `localhost:port` isolated per port), `download_url(domain)`, `command(prefix)` or `command(regex:pattern)`, `unsandboxed(...)`, and `mcp(server/tool)` or `mcp(server/*)` (unconfigured MCP tools default to `Ask`) ([permissions](https://antigravity.google/docs/permissions)).
89
+ - Shell subcommand/substitution syntax (`$(...)`, backticks, brace expansion, `git -c core.pager=...`, unparseable Windows shell lines) disables prefix matching and requires an exact full-line or `regex:` rule; Windows file rules strip drive letters (`C:`) and normalize `\` to `/` ([permissions](https://antigravity.google/docs/permissions)).
90
+
91
+ ## Containing writes to the project root
92
+
93
+ - Keep workspace roots scoped to the repository (`allowNonWorkspaceAccess: false`, no outside `--add-dir`), enable `--sandbox` / `enableTerminalSandbox: true` where supported, and export `TMPDIR`, `TMP`, and `TEMP` to `<repo>/.scratch/tmp` in shell calls ([permissions](https://antigravity.google/docs/permissions), [sandbox](https://antigravity.google/docs/sandbox)).
94
+ - Path-blocking hook: `PreToolUse` with matcher `write_file|edit_file|write_to_file|replace_file_content|multi_replace_file_content` (surface/model variants pass `args.Path` on `write_file`/`edit_file` and `args.TargetFile` on `write_to_file`/`replace_file_content`/`multi_replace_file_content`). Normalize Windows drive letters and backslashes, compare against the workspace root, main checkout `.worktrees/`, `.deepmodebot.json` `extraWriteRoots`, and `artifactDirectoryPath`, and exit `0` with `{"decision":"deny","reason":"..."}` on violations ([hooks](https://antigravity.google/docs/hooks)).
95
+ - Antigravity's own state outside the repo (not yours; never clean or report it as a leak): `~/.gemini/config/`, `~/.gemini/antigravity/`, `~/.gemini/antigravity-cli/`, `~/.gemini/antigravity-ide/` (including `<app-data-dir>/brain/<conversationId>/` artifacts and `transcript.jsonl`, `<app-data-dir>/mcp/` cached tool schemas, and `mcp_oauth_tokens.json`), plus `${PLUGIN_DATA}` ([customization-discovery](https://antigravity.google/docs/customization-discovery), [hooks](https://antigravity.google/docs/hooks), [mcp](https://antigravity.google/docs/mcp)).
96
+
97
+ ## Traps for deepmodebot
98
+
99
+ - Claude `commands/*.md` files do not load in Antigravity. deepmodebot's `.antigravity-plugin/plugin.json` adds `./.antigravity-plugin/skills` (`/deep`, `/tournament`, `/review-pr`, `/land-pr`, `/pr-thread`) alongside `skills/` (which already provides `/contribute` and `/project-brief`), so slash commands work directly without a `/deepmodebot:` prefix.
100
+ - `skill://deepmodebot/...` URIs do not resolve natively: read files from `~/.gemini/config/plugins/deepmodebot/skills/<name>/` (or `.agents/plugins/deepmodebot/skills/<name>/`), or resolve them via `omp_resolve` on deepmodebot's bundled `omp` MCP server when omp is installed.
101
+ - Bundled containment & auto-map guard (`hooks.json` -> `node ./scripts/antigravity-guard.mjs`): `PreInvocation` marks sessions whose `lastUserInput` starts with `/deep`, `/deepmodebot`, `/tournament`, `/review-pr`, `/land-pr`, `/pr-thread`, `/contribute`, or `/project-brief` (persisting marks in `PLUGIN_DATA` or `~/.gemini/antigravity/deepmodebot-guard`), and inside git repos auto-injects a fast offline git-only `workspace-map` overview (`--fast --offline --no-orca`, `<= 1200 B`, writing `<main-checkout>/.scratch/workspace-map.db`; skipped on `/review-pr` when no DB exists) via `injectSteps`.
102
+ - `PreToolUse` denies file-tool writes outside the project root, main `.worktrees/`, `.deepmodebot.json` `extraWriteRoots`, and `artifactDirectoryPath`, always exiting `0` so it never fails open. Shell commands still require discipline.
103
+ - Bundled subagents (`agents/scout/agent.md`, `agents/reviewer/agent.md`, `agents/security-reviewer/agent.md`): omp `task` maps to `invoke_subagent` (`SubagentName: "scout" | "reviewer" | "security-reviewer"` or built-in `research` / `self`; keep `Workspace: "inherit"` with exclusive file ownership unless an isolated worktree is intended). Keep `tools:` lists restricted to verified Antigravity tool names so subagents never hang.
104
+ - Bundled `omp` MCP bridge (`mcp_config.json` -> `node ./scripts/omp-mcp-server.mjs`, namespaced `deepmodebot_omp`, `timeoutSeconds: 600`): exposes `omp_run` (`omp -p --mode json` with stdin prompt delivery and per-call `timeoutSeconds` + process-tree kill), `omp_task` (concurrent dispatch; `scout` defaults to `@smol`/`medium`, `reviewer` to `@slow`, optional `thinking`), and `omp_resolve` while stripping `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `OPENAI_API_KEY`, and `CODEX_API_KEY` by default so omp stays on its subscription login.
105
+ - Unconfigured MCP tools default to `Ask` in Antigravity; add `mcp(deepmodebot_omp/*)` to `permissions.allow` before unattended `agy -p` runs so calls are not soft-denied.
106
+ - CLI-only `~/.gemini/skills/` trap: stale copies in `~/.gemini/skills/` or `~/.gemini/antigravity-cli/skills/` outrank workspace `.agents/skills/` and plugins in `agy` while staying invisible in Antigravity App. Install via `agy plugin install` (`~/.gemini/config/plugins/`) or `.agents/skills/` instead.
107
+ - Project verify skills belong in `.agents/skills/verify-<app>/SKILL.md` (mirroring `.omp/skills/verify-<app>/`) so Antigravity App, CLI, and IDE all discover them.
108
+ - omp `todo` -> task artifact in Antigravity App or a repo checklist in CLI; omp `ask` -> `ask_question` interactively, or decide and log the assumption in `agy -p`.