deepmodebot 0.0.0-stage → 0.9.1
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.
- package/.claude-plugin/marketplace.json +26 -0
- package/.omp-plugin/marketplace.json +26 -0
- package/LICENSE +24 -0
- package/README.md +377 -2
- package/bin/deepmodebot.mjs +247 -0
- package/lib/autoupdate.mjs +47 -0
- package/lib/clients.mjs +139 -0
- package/lib/run.mjs +32 -0
- package/lib/state.mjs +52 -0
- package/lib/tree.mjs +48 -0
- package/lib/version.mjs +26 -0
- package/package.json +44 -4
- package/plugins/deepmodebot/.antigravity-plugin/plugin.json +35 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +13 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/land-pr/SKILL.md +23 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +17 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +16 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +14 -0
- package/plugins/deepmodebot/.claude-plugin/plugin.json +27 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +33 -0
- package/plugins/deepmodebot/agents/scout/agent.md +34 -0
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +30 -0
- package/plugins/deepmodebot/assets/logo.svg +8 -0
- package/plugins/deepmodebot/commands/contribute.md +8 -0
- package/plugins/deepmodebot/commands/deep.md +11 -0
- package/plugins/deepmodebot/commands/land-pr.md +12 -0
- package/plugins/deepmodebot/commands/pr-thread.md +14 -0
- package/plugins/deepmodebot/commands/project-brief.md +8 -0
- package/plugins/deepmodebot/commands/review-pr.md +10 -0
- package/plugins/deepmodebot/commands/tournament.md +12 -0
- package/plugins/deepmodebot/hooks/hooks.json +26 -0
- package/plugins/deepmodebot/hooks.json +24 -0
- package/plugins/deepmodebot/mcp_config.json +11 -0
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +413 -0
- package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +1091 -0
- package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +57 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +391 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check.ts +53 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +38 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_claude.mjs +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/package.json +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/requirements.txt +1 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +190 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +50 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +108 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/claude-code.md +166 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/codex.md +151 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +230 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/langchain-ecosystem.md +124 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/omp.md +183 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +172 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/sdks.md +228 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/self-authoring.md +171 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +24 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/aws.md +264 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/azure.md +261 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/containers.md +96 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devops-tools.md +297 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devsecops-pipeline.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/gcp.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/kubernetes.md +74 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +265 -0
- package/plugins/deepmodebot/skills/contribute/SKILL.md +134 -0
- package/plugins/deepmodebot/skills/create-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +101 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/README.md +47 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/create-note.md +39 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/search.md +45 -0
- package/plugins/deepmodebot/skills/deep-stack/SKILL.md +53 -0
- package/plugins/deepmodebot/skills/deep-stack/references/AGENTS.template.md +52 -0
- package/plugins/deepmodebot/skills/deep-stack/references/agentic-workflow.md +114 -0
- package/plugins/deepmodebot/skills/deep-stack/references/any-app-stack.md +51 -0
- package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +101 -0
- package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +23 -0
- package/plugins/deepmodebot/skills/deep-stack/references/philosophy.md +306 -0
- package/plugins/deepmodebot/skills/deep-stack/references/prove.md +31 -0
- package/plugins/deepmodebot/skills/deep-stack/references/stack.md +119 -0
- package/plugins/deepmodebot/skills/deep-stack/references/structure.md +22 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/LICENSE +21 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/unslop.md +80 -0
- package/plugins/deepmodebot/skills/deepmodebot/LICENSE +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +198 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +207 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/architecture-review/report-template.html +92 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +42 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain-link.ts +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +115 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +483 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +139 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +301 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +602 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +242 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/evidence.py +293 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +387 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +339 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +180 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +265 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +132 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +192 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/bot.py +3037 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.json +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.py +51 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +361 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +274 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/local_updates.py +576 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/review_context.py +204 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +2182 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +691 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +127 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +496 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/workspace_cleanup.py +351 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2394 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +583 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +1426 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +320 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +326 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +244 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +165 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +240 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +53 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +350 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +370 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +94 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.html +425 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +579 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena_tui.py +839 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/font8x8_basic.hex +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +610 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +637 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +250 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +1820 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +54 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/audit-pr.sh +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/gate.cjs +155 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/prompt.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +654 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +1285 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/wizard/wizard.sh +234 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +879 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +2436 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/README.md +61 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/factory-landscape.md +147 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +37 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +77 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/bug-fix.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/eval.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/handoff.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +97 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/pause-safely.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/phased-build.md +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/prototype.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +45 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +143 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/runtime-forensics.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +130 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/session-pickup.md +33 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/shipping.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/spec.md +67 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/tickets.md +56 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/trace-forensics.md +24 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/triage.md +102 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/wayfinder.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +189 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/worktree-cleanup.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/attack-the-premise.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/boundary-discipline.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/build-the-lever.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/encode-lessons-in-structure.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/exhaust-the-design-space.md +4 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/experience-first.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/explain-the-number.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/fix-root-causes.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/foundational-thinking.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/guard-the-context-window.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/laziness-protocol.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/make-operations-idempotent.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/migrate-callers-then-delete-legacy-apis.md +5 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/minimize-reader-load.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/model-the-domain.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/never-block-on-the-human.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/outcome-oriented-execution.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/prove-it-works.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/redesign-from-first-principles.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/separate-before-serializing-shared-state.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/sequence-verifiable-units.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/subtract-before-you-add.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/rust-migration-case-studies.md +26 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/startup-ideas.md +21 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/agent-collaboration.md +82 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +43 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/benchmark-checklist.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +47 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/coworkers.md +70 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/domain-model.md +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/figure-it-out.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/git-guardrails.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/github-app.md +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/goal-review.md +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +27 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/in-your-own-words.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/interrogate.md +16 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/issue-conversation.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +29 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/open-design-evidence.md +65 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-agent.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +138 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/questionnaire.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/re-explain.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reflect.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +99 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/retro.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/scrape.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +40 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +49 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/technical-writing.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tool-routing.md +85 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tracker.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/unslop.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/why.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/wizard.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/workspace-map.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +66 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +93 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +598 -0
- package/plugins/deepmodebot/skills/domain-rules/SKILL.md +131 -0
- package/plugins/deepmodebot/skills/domain-rules/references/agent-engineering.md +105 -0
- package/plugins/deepmodebot/skills/domain-rules/references/ai-concepts.md +103 -0
- package/plugins/deepmodebot/skills/domain-rules/references/aws-networking.md +121 -0
- package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +162 -0
- package/plugins/deepmodebot/skills/domain-rules/references/data-structures-and-cache-optimization.md +48 -0
- package/plugins/deepmodebot/skills/domain-rules/references/devops-and-fundamentals.md +137 -0
- package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +100 -0
- package/plugins/deepmodebot/skills/domain-rules/references/high-scale-server-optimization.md +181 -0
- package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +56 -0
- package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +146 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/live-demos.md +38 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +28 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +269 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +62 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +217 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-patterns.md +101 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +25 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +46 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +153 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +106 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +121 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +48 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +26 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +11 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +63 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +13 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/project-brief/SKILL.md +100 -0
- package/plugins/deepmodebot/skills/project-brief/assets/CONTRIBUTING.template.md +124 -0
- package/plugins/deepmodebot/skills/project-brief/assets/ISSUE_TEMPLATE/task.yml +61 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PROJECT_BRIEF.template.md +98 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PULL_REQUEST_TEMPLATE.md +35 -0
- package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +643 -0
- package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +314 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +60 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/agent-authentication.md +198 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/leak-prevention.md +206 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/logins-and-passwords.md +165 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/secrets-and-env.md +182 -0
- package/plugins/deepmodebot/skills/software-architecture/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +273 -0
- package/plugins/deepmodebot/skills/software-architecture/references/databases.md +277 -0
- package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +210 -0
- package/plugins/deepmodebot/skills/software-architecture/references/ontology.md +287 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Agent SDKs: install, use, and verify
|
|
2
|
+
|
|
3
|
+
Checked 2026-11-13. Use this reference when embedding Antigravity, Claude Code, Codex, or omp in an application. These are agent harness SDKs, not the lower-level Gemini, Anthropic, or OpenAI model clients. Installing an SDK neither signs in nor authorizes model calls, tool execution, or background automation.
|
|
4
|
+
|
|
5
|
+
## Choose the surface
|
|
6
|
+
|
|
7
|
+
| Harness | Official package | Runtime | Entry point |
|
|
8
|
+
|---|---|---|---|
|
|
9
|
+
| Google Antigravity | `google-antigravity` | Python 3.10+ and its platform wheel | `google.antigravity.Agent`, `LocalAgentConfig` |
|
|
10
|
+
| Claude Agent SDK (formerly Claude Code SDK) | `@anthropic-ai/claude-agent-sdk`; Python alternative `claude-agent-sdk` | Node 18.14+ or Python 3.10+ | `query()`; Python also has `ClaudeSDKClient` |
|
|
11
|
+
| OpenAI Codex | `@openai/codex-sdk` | Node 18+ and a Codex binary | `Codex`, `startThread()`, `run()` |
|
|
12
|
+
| omp | `@oh-my-pi/pi-coding-agent` | Bun 1.4.4+ | `createAgentSession()`, `SessionManager` |
|
|
13
|
+
|
|
14
|
+
Sources: [Antigravity setup](https://antigravity.google/docs/getting-started?tab=sdk), [Claude quickstart](https://code.claude.com/docs/en/agent-sdk/quickstart.md), [Codex SDK](https://github.com/openai/codex/tree/main/sdk/typescript), [omp SDK](https://github.com/can1357/oh-my-pi/blob/main/docs/sdk.md).
|
|
15
|
+
|
|
16
|
+
## Install the optional SDK workspace
|
|
17
|
+
|
|
18
|
+
The [SDK workspace](../assets/sdks/package.json) pins the three JavaScript packages; [requirements.txt](../assets/sdks/requirements.txt) pins Antigravity. This workspace is optional. The deepmodebot plugin and GitHub bot do not acquire these dependencies or switch execution backends merely because these files exist.
|
|
19
|
+
|
|
20
|
+
Start from the checkout root and copy the source-only kit into a fresh ignored workspace. The repository checker scans plugin assets, so keep installed dependencies under `.scratch/`, not inside the distributed plugin.
|
|
21
|
+
|
|
22
|
+
Windows PowerShell:
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
New-Item -ItemType Directory -Force .scratch | Out-Null
|
|
26
|
+
Copy-Item -Recurse plugins/deepmodebot/skills/agent-harnesses/assets/sdks .scratch/sdk-runtime
|
|
27
|
+
cd .scratch/sdk-runtime
|
|
28
|
+
py -3 -m venv .venv
|
|
29
|
+
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
|
|
30
|
+
bun install --frozen-lockfile
|
|
31
|
+
.\.venv\Scripts\python.exe -m pip check
|
|
32
|
+
.\.venv\Scripts\python.exe check_antigravity.py
|
|
33
|
+
bun check.ts
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
On macOS/Linux, first run `mkdir -p .scratch` and `cp -R plugins/deepmodebot/skills/agent-harnesses/assets/sdks .scratch/sdk-runtime`, then `cd .scratch/sdk-runtime`. Use `python3 -m venv .venv` and `.venv/bin/python` in place of the Windows Python commands. Bun commands are unchanged. Use a fresh target; do not overwrite an existing environment. Activation is not required.
|
|
37
|
+
|
|
38
|
+
Keep `.venv/` and `node_modules/` local. Do not install into the shared Python user environment. On the checked Windows host, a user-wide Antigravity install upgraded protobuf to 7.x, conflicting with existing `opentelemetry-proto` and `pywidevine` requirements for protobuf below 7. The isolated workspace avoids that conflict; it does not repair the shared environment.
|
|
39
|
+
|
|
40
|
+
`check_antigravity.py` and `check.ts` exercise installed SDK APIs without sending a model prompt. A passing check proves local package usability only, not provider authentication, inference, or agent tool permissions during a model turn.
|
|
41
|
+
|
|
42
|
+
For another app, install dependencies in that app's own environment. JavaScript modules are resolved from the importing file's project, not from a global installation. Copy the reviewed manifest/lock and examples as needed; do not import from a machine-specific worktree path.
|
|
43
|
+
|
|
44
|
+
## Google Antigravity CLI versus SDK
|
|
45
|
+
|
|
46
|
+
The [overview](https://antigravity.google/docs/overview?tab=cli) distinguishes the App, `agy` CLI, IDE extensions, and Python SDK. `pip install google-antigravity` installs the Python SDK and its runtime, not the interactive `agy` command.
|
|
47
|
+
|
|
48
|
+
The [CLI setup guide](https://antigravity.google/docs/getting-started?tab=cli) places Windows `agy.exe` in `%LOCALAPPDATA%\agy\bin`. If the installer completed but the terminal cannot find `agy`, use the existing executable directly or refresh only that terminal's PATH:
|
|
49
|
+
|
|
50
|
+
```powershell
|
|
51
|
+
& "$env:LOCALAPPDATA\agy\bin\agy.exe" --version
|
|
52
|
+
$env:Path = "$env:LOCALAPPDATA\agy\bin;$env:Path"
|
|
53
|
+
agy --help
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Add that directory to the user PATH for future terminals. Do not replace the entire PATH or reinstall the SDK to fix CLI command resolution. Interactive `agy` performs its own sign-in and workspace-trust flow. Headless usage is `agy -p "<approved task>" --output-format json`; see the [CLI reference](https://antigravity.google/docs/cli/reference/) and [headless guide](https://antigravity.google/docs/cli/headless/).
|
|
57
|
+
|
|
58
|
+
### Python SDK usage
|
|
59
|
+
|
|
60
|
+
The [SDK overview](https://antigravity.google/docs/sdk/overview/) documents `GEMINI_API_KEY`, or Gemini Enterprise/Vertex configuration and Application Default Credentials. Do not assume an `agy` Google AI subscription login authenticates the Python SDK. [Local model configurations](https://antigravity.google/docs/sdk/local-models/) are a separate keyless option when an actual local model/server is available; installing this workspace does not download or start one.
|
|
61
|
+
|
|
62
|
+
After the operator has approved the provider, input data, and spend, inject credentials into the process without putting values in source or command history. This example permits file reading but no shell, write, web, or subagent tools:
|
|
63
|
+
|
|
64
|
+
```python
|
|
65
|
+
import asyncio
|
|
66
|
+
from pathlib import Path
|
|
67
|
+
from google.antigravity import Agent, CapabilitiesConfig, LocalAgentConfig
|
|
68
|
+
from google.antigravity.types import BuiltinTools
|
|
69
|
+
|
|
70
|
+
def config():
|
|
71
|
+
return LocalAgentConfig(
|
|
72
|
+
workspaces=[str(Path.cwd())],
|
|
73
|
+
capabilities=CapabilitiesConfig(enabled_tools=[BuiltinTools.VIEW_FILE]),
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
async def main():
|
|
77
|
+
async with Agent(config()) as agent:
|
|
78
|
+
response = await agent.chat("Read README.md and summarize its purpose.")
|
|
79
|
+
print(await response.text())
|
|
80
|
+
|
|
81
|
+
if __name__ == "__main__":
|
|
82
|
+
asyncio.run(main())
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
[Tools and skills](https://antigravity.google/docs/sdk/tools/) documents:
|
|
86
|
+
|
|
87
|
+
- `tools=[python_function]` registers a custom tool using its signature and docstring. It executes in your Python process; inspect its side effects before exposing it.
|
|
88
|
+
- `CapabilitiesConfig(enabled_tools=[...])` selects built-in tools. `BuiltinTools.read_only()` is a broader group, not a claim of no network access.
|
|
89
|
+
- `skills_paths=["/absolute/path/to/skill"]` accepts a skill directory or a parent containing several skills. For this plugin, select the intended directories under `plugins/deepmodebot/skills/`.
|
|
90
|
+
- MCP configuration is separate from skills. Only connect reviewed servers; see [SDK MCP](https://antigravity.google/docs/sdk/mcp/).
|
|
91
|
+
- [Policies](https://antigravity.google/docs/sdk/policies/) add `allow`, `deny`, and `ask_user` hooks. Tool selection and approval policies are not an OS sandbox.
|
|
92
|
+
|
|
93
|
+
Example custom tool, with a deterministic local result rather than invented external data:
|
|
94
|
+
|
|
95
|
+
```python
|
|
96
|
+
from google.antigravity import LocalAgentConfig
|
|
97
|
+
|
|
98
|
+
def character_count(text: str) -> int:
|
|
99
|
+
"""Count Unicode code points in the supplied text."""
|
|
100
|
+
return len(text)
|
|
101
|
+
|
|
102
|
+
config = LocalAgentConfig(tools=[character_count])
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Claude Agent SDK
|
|
106
|
+
|
|
107
|
+
Install the current name, not the retired Claude Code SDK package. [TypeScript upstream](https://github.com/anthropics/claude-agent-sdk-typescript) confirms `@anthropic-ai/claude-agent-sdk`; [Python upstream](https://github.com/anthropics/claude-agent-sdk-python) confirms `claude-agent-sdk`. This workspace installs the TypeScript edition. Python consumers can install the alternative inside their own venv.
|
|
108
|
+
|
|
109
|
+
The [quickstart](https://code.claude.com/docs/en/agent-sdk/quickstart.md) documents `ANTHROPIC_API_KEY` and supported cloud-provider authentication. Both editions normally bundle Claude Code; keep optional dependencies enabled. An existing interactive CLI login is not evidence that a redistributed SDK product may use subscription credentials. The [SDK terms notice](https://code.claude.com/docs/en/agent-sdk/overview.md) prohibits offering claude.ai login or rate limits in third-party products without prior approval.
|
|
110
|
+
|
|
111
|
+
After separately approving authentication and spend:
|
|
112
|
+
|
|
113
|
+
```typescript
|
|
114
|
+
import { query } from "@anthropic-ai/claude-agent-sdk";
|
|
115
|
+
|
|
116
|
+
for await (const message of query({
|
|
117
|
+
prompt: "Read README.md and summarize its purpose. Do not change files.",
|
|
118
|
+
options: {
|
|
119
|
+
cwd: process.cwd(),
|
|
120
|
+
tools: ["Read"],
|
|
121
|
+
allowedTools: ["Read"],
|
|
122
|
+
permissionMode: "dontAsk",
|
|
123
|
+
settingSources: [],
|
|
124
|
+
mcpServers: {},
|
|
125
|
+
maxTurns: 3,
|
|
126
|
+
maxBudgetUsd: 0.25,
|
|
127
|
+
},
|
|
128
|
+
})) {
|
|
129
|
+
if (message.type === "result") {
|
|
130
|
+
if (message.subtype !== "success" || message.is_error) {
|
|
131
|
+
throw new Error(`Claude run failed: ${message.subtype}`);
|
|
132
|
+
}
|
|
133
|
+
console.log(message.result);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
`tools` limits the built-in set; `allowedTools` only pre-approves tools and is not an allowlist. `dontAsk` denies unapproved actions rather than bypassing permissions. `settingSources: []` avoids ambient settings; deliberately load project settings/plugins only after review. Source: [TypeScript reference](https://code.claude.com/docs/en/agent-sdk/typescript.md).
|
|
139
|
+
|
|
140
|
+
Consume result failures as failures, including budget/turn limits. Keep session IDs if resumability is intended; use SDK hooks and `createSdkMcpServer`/`tool` for custom tools rather than inventing a second agent loop. See [MCP](https://code.claude.com/docs/en/agent-sdk/mcp.md) and [sessions](https://code.claude.com/docs/en/agent-sdk/sessions.md).
|
|
141
|
+
|
|
142
|
+
## Codex SDK
|
|
143
|
+
|
|
144
|
+
The [official TypeScript SDK](https://github.com/openai/codex/tree/main/sdk/typescript) wraps a Codex subprocess and exchanges JSONL events. Its native platform dependency must be present; do not install with optional dependencies omitted. The SDK is not the `openai` model-client package.
|
|
145
|
+
|
|
146
|
+
After reviewing the selected Codex login/configuration and approving a run:
|
|
147
|
+
|
|
148
|
+
```typescript
|
|
149
|
+
import { Codex } from "@openai/codex-sdk";
|
|
150
|
+
|
|
151
|
+
const codex = new Codex();
|
|
152
|
+
const thread = codex.startThread({
|
|
153
|
+
workingDirectory: process.cwd(),
|
|
154
|
+
sandboxMode: "read-only",
|
|
155
|
+
approvalPolicy: "never",
|
|
156
|
+
networkAccessEnabled: false,
|
|
157
|
+
webSearchMode: "disabled",
|
|
158
|
+
});
|
|
159
|
+
const turn = await thread.run("Read README.md and summarize its purpose.");
|
|
160
|
+
console.log(turn.finalResponse);
|
|
161
|
+
console.log(turn.usage);
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Run inside the intended Git repository. `skipGitRepoCheck: true` deliberately permits a non-repository folder; do not enable it to hide a wrong cwd. Call `run()` again on the same thread for follow-up work, `runStreamed()` for structured events, and `resumeThread(id, options)` to resume with explicit restrictions. A resumed thread's security options must be supplied deliberately.
|
|
165
|
+
|
|
166
|
+
By default the subprocess inherits the environment. An SDK `apiKey` or `CODEX_API_KEY` can select API billing instead of a stored ChatGPT login. For subscription-only execution remove `OPENAI_API_KEY` and `CODEX_API_KEY` from a child environment and do not pass `apiKey`. Preserve the user's existing stores; never copy tokens into examples. Sources: [SDK environment controls](https://github.com/openai/codex/tree/main/sdk/typescript), [Codex authentication](https://learn.chatgpt.com/docs/auth).
|
|
167
|
+
|
|
168
|
+
## omp SDK
|
|
169
|
+
|
|
170
|
+
Use Bun, not Node, for the in-process SDK. The package root exports `createAgentSession`, `SessionManager`, `AuthStorage`, `ModelRegistry`, and `Settings`. The narrower `/sdk` entry does not export all of them. Source: [omp SDK](https://github.com/can1357/oh-my-pi/blob/main/docs/sdk.md).
|
|
171
|
+
|
|
172
|
+
The default `createAgentSession()` discovers user credentials, settings, skills, extensions, MCP, tools, and persistent sessions. It is useful for an intentional full harness, not a neutral import check. For an approved embedded run, select the exact model and narrow tools:
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
import { createAgentSession, SessionManager } from "@oh-my-pi/pi-coding-agent";
|
|
176
|
+
|
|
177
|
+
const modelPattern = process.env.OMP_SDK_MODEL;
|
|
178
|
+
if (!modelPattern) throw new Error("Set OMP_SDK_MODEL to an approved provider/model ID");
|
|
179
|
+
const { session, modelFallbackMessage } = await createAgentSession({
|
|
180
|
+
cwd: process.cwd(),
|
|
181
|
+
modelPattern,
|
|
182
|
+
sessionManager: SessionManager.inMemory(),
|
|
183
|
+
toolNames: ["read"],
|
|
184
|
+
restrictToolNames: true,
|
|
185
|
+
enableMCP: false,
|
|
186
|
+
enableLsp: false,
|
|
187
|
+
disableExtensionDiscovery: true,
|
|
188
|
+
});
|
|
189
|
+
try {
|
|
190
|
+
if (modelFallbackMessage) throw new Error(modelFallbackMessage);
|
|
191
|
+
const unsubscribe = session.subscribe(event => {
|
|
192
|
+
if (event.type === "message_update" && event.assistantMessageEvent.type === "text_delta") {
|
|
193
|
+
process.stdout.write(event.assistantMessageEvent.delta);
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
try {
|
|
197
|
+
await session.prompt("Read README.md and summarize its purpose.");
|
|
198
|
+
} finally {
|
|
199
|
+
unsubscribe();
|
|
200
|
+
}
|
|
201
|
+
} finally {
|
|
202
|
+
await session.dispose();
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
`toolNames` alone is not an allowlist; `restrictToolNames: true` enforces the restriction. In-memory sessions avoid transcript persistence, but do not prevent credential/config discovery or all harness state. Dispose sessions in `finally`. For multiple top-level sessions in one process, give each its own `AgentRegistry`. Use omp RPC instead when process/language isolation is required. Source: [SDK lifecycle and restricted tools](https://github.com/can1357/oh-my-pi/blob/main/docs/sdk.md).
|
|
207
|
+
|
|
208
|
+
## Acceptance and limits
|
|
209
|
+
|
|
210
|
+
- Install all four packages in the optional workspace and run both local checks plus `pip check`.
|
|
211
|
+
- Record actual versions, platform, command outputs, and which native runtimes launched.
|
|
212
|
+
- Model-backed examples require a separate approved run with credentials, a model, data boundaries, and a spend/time cap. Import success is not inference success.
|
|
213
|
+
- Keep the existing GitHub bot's ACP/subscription path unchanged. These SDKs are opt-in application dependencies, not four automatically configured bot backends.
|
|
214
|
+
|
|
215
|
+
### Local installation evidence, 2026-11-13
|
|
216
|
+
|
|
217
|
+
Exercised on Windows x64 with Python 3.13.3, Node 24.22.2, and Bun 1.4.4.
|
|
218
|
+
|
|
219
|
+
| Package | Installed version | Observed result |
|
|
220
|
+
|---|---|---|
|
|
221
|
+
| `google-antigravity` | 0.1.23 | Config construction and actual custom-tool dispatch returned 9 for `SDK check`; platform runtime file present |
|
|
222
|
+
| `@anthropic-ai/claude-agent-sdk` | 0.3.325 | Native Claude initialization handshake succeeded without a prompt; child process exited |
|
|
223
|
+
| `@openai/codex-sdk` | 0.169.0 | SDK thread constructed; bundled CLI returned `codex-cli 0.169.0` |
|
|
224
|
+
| `@oh-my-pi/pi-coding-agent` | 18.20.0 | In-memory message append/read succeeded without a model session |
|
|
225
|
+
|
|
226
|
+
The isolated venv's `python -m pip check` printed `No broken requirements found.` The Bun frozen-lock install reported no changes. `agy --version` separately returned `1.5.8`; this does not establish Python SDK authentication.
|
|
227
|
+
|
|
228
|
+
An initial combined Bun smoke completed its SDK checks but failed to remove its scratch directory with Windows `EBUSY` after Claude teardown. The final check runs Claude's SDK handshake in a separate Node process and waits for process exit before removing the directory; that run exited 0, including cleanup. Other operating systems and model-backed runs remain unverified.
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# Self-authoring research: prompts, skills, goals, loops (omp, Claude Code, Codex, Antigravity)
|
|
2
|
+
|
|
3
|
+
Read when writing a prompt, command, skill, goal, or loop from inside a session, or choosing between native goal and loop modes and `skill://deepmodebot/assets/loop/loop.py`. The steps are in `skill://deepmodebot/references/playbooks/self-authoring.md`; this file holds the cited per-harness facts.
|
|
4
|
+
|
|
5
|
+
Date: 2026-11-11 (Antigravity docs checked 2026-11-13). Versions probed: omp 18.18.9, claude 2.1.322, codex 0.163.0.
|
|
6
|
+
Exit codes are the reliable loop gate in headless runs: omp `--max-cost` exits 3; nonzero on terminal turn failures (omp://cli-reference.md).
|
|
7
|
+
Tags: `[unverified]` = not confirmed in a primary source this session; `[inference]` = derived, not stated.
|
|
8
|
+
|
|
9
|
+
## 1. Saved prompts / slash commands
|
|
10
|
+
|
|
11
|
+
### omp
|
|
12
|
+
- Project: `<cwd>/.omp/commands/*.md`; user: `~/.omp/agent/commands/*.md` (named profile: `~/.omp/profiles/<name>/agent/commands/*.md`). Project beats user on name collision (omp://slash-command-internals.md).
|
|
13
|
+
- omp also discovers foreign dirs: `.claude/commands/**/*.md` (recursive, `foo/bar.md` also aliased `foo:bar`), `.codex/commands/*.md`, `.opencode/commands/*.md`, `.agent(s)/commands/*.md` walking cwd up to repo root (omp://slash-command-internals.md).
|
|
14
|
+
- Format: Markdown + optional YAML frontmatter. `description` (else first body line, max 60 chars), `argument-hint`/`argumentHint`, `name` (Codex/OpenCode providers), `side: true` runs as a `/btw` side question (omp://slash-command-internals.md).
|
|
15
|
+
- Placeholders: `$1`, `$2`..., `$@[start]` / `$@[start:length]` (1-based), `$ARGUMENTS` and `$@`; args appended if template has no placeholder (omp://slash-command-internals.md).
|
|
16
|
+
- Discovery: rebuilt on interactive init, cwd change (`/move`), `/reload-plugins`, and session command-metadata notifications (settings changes, skill management). "There is no continuous file watcher for command directories" (omp://slash-command-internals.md). So a command written mid-session needs `/reload-plugins` or a new session [inference: `/reload-plugins` covers native dirs; doc lists it as an explicit refresh flow].
|
|
17
|
+
|
|
18
|
+
### Claude Code
|
|
19
|
+
- "Custom commands have been merged into skills." `.claude/commands/deploy.md` and `.claude/skills/deploy/SKILL.md` both create `/deploy`; skill wins on collision ([skills](https://code.claude.com/docs/en/skills)).
|
|
20
|
+
- Command files support the same frontmatter as skills except `name` and `paths`; prefer skills for new work ([skills](https://code.claude.com/docs/en/skills)).
|
|
21
|
+
- Placeholders: `$ARGUMENTS`, `$ARGUMENTS[N]` / `$N` (0-based), `$name` from `arguments:` frontmatter, `${CLAUDE_SESSION_ID}`, `${CLAUDE_EFFORT}`, `${CLAUDE_SKILL_DIR}`; escape with `\$1`. Unused args appended as `ARGUMENTS: <value>` ([skills](https://code.claude.com/docs/en/skills)).
|
|
22
|
+
- `` !`cmd` `` lines inject shell output before the model sees the skill (dynamic context injection) ([skills](https://code.claude.com/docs/en/skills)).
|
|
23
|
+
- Reload: skill dirs are watched (see 2); `.claude/commands/` in `--add-dir` dirs is NOT watched, restart needed ([skills](https://code.claude.com/docs/en/skills)). Live watch of a project `.claude/commands/` file: [unverified].
|
|
24
|
+
- `--disable-slash-commands` disables all skills and commands (claude 2.1.322 --help).
|
|
25
|
+
|
|
26
|
+
### Codex
|
|
27
|
+
- Custom prompts are DEPRECATED: "Use skills for reusable instructions" ([custom-prompts](https://learn.chatgpt.com/docs/custom-prompts.md)).
|
|
28
|
+
- Legacy location user-only: `~/.codex/prompts/*.md` (top level only, not shared via repo). Invoke `/prompts:<name>`. Frontmatter `description`, `argument-hint`. Placeholders `$1`..`$9`, `$ARGUMENTS`, named uppercase `$FILE` passed as `KEY=value`, `$$` literal. Restart Codex or open a new chat after edits ([custom-prompts](https://learn.chatgpt.com/docs/custom-prompts.md)).
|
|
29
|
+
- `/presets` saves and runs prompts or slash commands in the CLI ([slash-commands](https://learn.chatgpt.com/docs/cli/slash-commands.md)); storage format [unverified].
|
|
30
|
+
- Agent-authorable, repo-shareable path in Codex is therefore a skill in `.agents/skills/` [inference from deprecation note].
|
|
31
|
+
|
|
32
|
+
### Google Antigravity
|
|
33
|
+
- No separate `commands/` folder (Claude `commands/*.md` files are ignored). Every skill in `.agents/skills/<name>/SKILL.md` or `~/.gemini/config/skills/` registers `/<name>` directly in chat ([skills](https://antigravity.google/docs/skills), [build-plugins](https://antigravity.google/docs/build-plugins)).
|
|
34
|
+
- Reload: skills and rules re-read before each turn; run `/skills reload` in interactive `agy` to refresh slash-command completions ([skills](https://antigravity.google/docs/skills)).
|
|
35
|
+
|
|
36
|
+
## 2. Skills
|
|
37
|
+
|
|
38
|
+
### Common standard (agentskills.io)
|
|
39
|
+
- `skill-name/SKILL.md` + optional `scripts/`, `references/`, `assets/` ([spec](https://agentskills.io/specification)).
|
|
40
|
+
- Required: `name` (1-64 chars, `a-z0-9-`, no leading/trailing/double hyphen, must match parent dir) and `description` (1-1024 chars, what + when, include trigger keywords). Optional: `license`, `compatibility` (<=500 chars), `metadata` (string map), `allowed-tools` (experimental, space-separated) ([spec](https://agentskills.io/specification)).
|
|
41
|
+
- Progressive disclosure: metadata ~100 tokens loaded at startup; body <5000 tokens recommended; resources on demand. Keep `SKILL.md` under 500 lines; references one level deep, relative paths ([spec](https://agentskills.io/specification)).
|
|
42
|
+
- Validate: `skills-ref validate ./my-skill` from [agentskills/skills-ref](https://github.com/agentskills/agentskills/tree/main/skills-ref) (Python package: `pyproject.toml`, `src/`, `tests/` per GitHub API listing).
|
|
43
|
+
|
|
44
|
+
### omp
|
|
45
|
+
- Layout `<skills-root>/<skill-name>/SKILL.md`, non-recursive; nested `group/skill/SKILL.md` not discovered (omp://skills.md).
|
|
46
|
+
- Native provider (priority 100) loads `.omp` user/project skills (omp://skills.md); exact paths `.omp/skills/` and `~/.omp/agent/skills/` [inference from commands layout; doc names only "`.omp` user/project skills"].
|
|
47
|
+
- Also loads `.claude`, codex/agents, opencode, `.github/skills/<name>/SKILL.md` (project-only), plugin `skills/` dirs, `skills.customDirectories` (omp://skills.md).
|
|
48
|
+
- Frontmatter: `name` (defaults to dir name), `description` (REQUIRED for native `.omp`, omp-plugins, github, customDirectories), `globs`, `alwaysApply` (metadata only), `hide`, `disable-model-invocation`, `enabled: false` (omp://skills.md).
|
|
49
|
+
- Agent Plugins packages use strict Agent Skills validation: closed field set, `hide`/`enabled` rejected (omp://skills.md). Portable rule: stick to spec fields.
|
|
50
|
+
- Built-in creation tool `manage_skill` (create/update/delete) writes ONLY `~/.omp/agent/managed-skills/<name>/SKILL.md` (user-level, outside project); body without frontmatter; frontmatter generated with only `name` + `description`; cap 64,000 UTF-8 bytes; create fails if an authored skill owns the name; refreshes active skills immediately after success; tool gated by `autolearn.enabled` (omp://tools/manage_skill.md, omp://skills.md).
|
|
51
|
+
- Managed skills have priority 5 and always defer to a same-named authored skill (omp://skills.md).
|
|
52
|
+
- Registry CLI: `omp skill publish|install|update|uninstall|search|info|list ...`; `-g` user-global `skills.json`; `-y` installs script-shipping skills without asking; `--dry-run` packs and validates; `--allow-secrets` overrides credential scan (omp 18.18.9 `omp skill --help`). Pins in `.omp/skills.lock.json` (omp://skills.md).
|
|
53
|
+
- `skill://<name>` reads the skill's `SKILL.md`; `skill://<name>/<path>` reads inside it (omp://skills.md).
|
|
54
|
+
- Mid-session pickup of a hand-written (non-`manage_skill`) skill file: no file watcher documented [unverified]; safe path is `manage_skill` or a new session.
|
|
55
|
+
- Flags: `--no-skills`, `--skills=<globs>` (omp 18.18.9 --help).
|
|
56
|
+
|
|
57
|
+
### Claude Code
|
|
58
|
+
- Paths: personal `~/.claude/skills/<name>/SKILL.md`; project `.claude/skills/<name>/SKILL.md` (also every parent up to repo root); nested `<subdir>/.claude/skills/` loads when Claude touches files there; `--add-dir` dirs; plugin `<plugin>/skills/<name>/SKILL.md` as `/plugin:skill` ([skills](https://code.claude.com/docs/en/skills)).
|
|
59
|
+
- Precedence: enterprise > personal > project; your skill replaces a same-named bundled skill or built-in command (not aliases) ([skills](https://code.claude.com/docs/en/skills)).
|
|
60
|
+
- Reserved names: `synced`, `anthropic-skills*` ([skills](https://code.claude.com/docs/en/skills)).
|
|
61
|
+
- Frontmatter (Claude extensions beyond spec): `when_to_use`, `argument-hint`, `arguments`, `disable-model-invocation`, `user-invocable`, `allowed-tools`, `disallowed-tools`, `context: fork`, `agent`, `paths`. `description` + `when_to_use` truncated at 1,536 chars in listing (`skillListingMaxDescChars`); listing budget ~1% of context window ([skills](https://code.claude.com/docs/en/skills)).
|
|
62
|
+
- claude.ai / Skills API reject non-spec keys ("Unexpected key(s) in SKILL.md frontmatter"); restrict to the six spec fields for portability ([skills](https://code.claude.com/docs/en/skills)).
|
|
63
|
+
- Live reload: watches `~/.claude/skills/`, project `.claude/skills/`, `--add-dir` `.claude/skills/`; add/edit/remove picked up in-session without restart (not in bare mode). New top-level skills dir created mid-session needs `/reload-skills` (and again after each change there). Watch covers `SKILL.md` text only; plugin parts need `/reload-plugins` ([skills](https://code.claude.com/docs/en/skills)).
|
|
64
|
+
- Creation helpers: `skill-creator` plugin, `/plugin install skill-creator@claude-plugins-official`; stores tests in `evals/evals.json` inside the skill dir, runs isolated subagent per case, compares with/without skill ([skills](https://code.claude.com/docs/en/skills), [repo](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/skill-creator)). `claude plugin eval` gates plugin skills in CI, non-zero exit below threshold ([skills](https://code.claude.com/docs/en/skills)). Bundled `/run-skill-generator` writes `.claude/skills/run-<name>/`; `/verify` may write `.claude/skills/verify/SKILL.md` ([skills](https://code.claude.com/docs/en/skills)).
|
|
65
|
+
- A skill folder with `.claude-plugin/plugin.json` becomes a plugin with hooks/MCP; in project `.claude/skills/` requires accepting workspace trust ([skills](https://code.claude.com/docs/en/skills)).
|
|
66
|
+
|
|
67
|
+
### Codex
|
|
68
|
+
- Paths: `$CWD/.agents/skills`, each parent up to `$REPO_ROOT/.agents/skills` (REPO); `$HOME/.agents/skills` (USER); `/etc/codex/skills` (ADMIN); bundled SYSTEM skills `skill-creator`, `skill-installer` ([build-skills](https://learn.chatgpt.com/docs/build-skills.md)).
|
|
69
|
+
- Required frontmatter `name`, `description`; optional `agents/openai.yaml` (`interface.*`, `policy.allow_implicit_invocation`, `dependencies.tools`) ([build-skills](https://learn.chatgpt.com/docs/build-skills.md)).
|
|
70
|
+
- Invoke `$skill-name` or `/skills`; built-in creator `$skill-creator`; installer `$skill-installer <name>` ([build-skills](https://learn.chatgpt.com/docs/build-skills.md)).
|
|
71
|
+
- Initial skill list budget: 2% of context or 8,000 chars; `skills.max_context_tokens` up to 10,000 ([build-skills](https://learn.chatgpt.com/docs/build-skills.md)).
|
|
72
|
+
- "Codex detects skill changes automatically. If an update doesn't appear, restart Codex." Config changes (`[[skills.config]] enabled=false`, `[skills.bundled] enabled=false`) need restart ([build-skills](https://learn.chatgpt.com/docs/build-skills.md)).
|
|
73
|
+
- Same-name skills are not merged; both appear ([build-skills](https://learn.chatgpt.com/docs/build-skills.md)).
|
|
74
|
+
|
|
75
|
+
### Google Antigravity
|
|
76
|
+
- Paths: workspace `.agents/skills/<name>/SKILL.md` walking cwd up to repo root (`.gemini/skills/` in workspace is ignored); personal `~/.gemini/config/skills/<name>/SKILL.md` (shared by App, CLI `agy`, IDE); plugin `<plugin>/skills/<name>/SKILL.md` ([skills](https://antigravity.google/docs/skills), [discovery](https://antigravity.google/docs/customization-discovery)).
|
|
77
|
+
- Antigravity ignores Claude `commands/*.md`; every discovered skill registers `/<name>` directly (`/skills reload` refreshes completions in interactive `agy`). CLI-only `~/.gemini/skills/` and `~/.gemini/antigravity-cli/skills/` outrank workspace skills in `agy` while staying invisible in App ([discovery](https://antigravity.google/docs/customization-discovery)).
|
|
78
|
+
- Frontmatter parses `name` and `description` only; unknown keys (including `disable-model-invocation: true`) are silently ignored ([skills](https://antigravity.google/docs/skills)).
|
|
79
|
+
- Validate plugins, manifests, and bundled skills with `agy plugin validate [--strict] <dir>` ([build-plugins](https://antigravity.google/docs/build-plugins)).
|
|
80
|
+
|
|
81
|
+
### Cross-harness portable recipe [inference]
|
|
82
|
+
- One `<name>/SKILL.md` with only spec fields loads in all four harnesses if placed in `.agents/skills/<name>/` (omp, Codex, Antigravity) and mirrored to `.claude/skills/<name>/` (Claude Code; copy on Windows instead of symlinking).
|
|
83
|
+
|
|
84
|
+
## 3. Goals (native)
|
|
85
|
+
|
|
86
|
+
### omp
|
|
87
|
+
- `/goal <objective>` interactive; `omp --goal "<objective>"` starts fresh in goal mode. Requires setting `goal.enabled`; interactive only; rejected with positional prompt, stdin/@file, resume/continue/fork, `--plan-yolo`, `--no-tools`, startup plan mode (omp://cli-reference.md, omp 18.18.9 --help).
|
|
88
|
+
- Lifecycle (RPC mirrors `/goal`): create (non-empty `objective`, optional positive integer `token_budget`, no active/paused goal, not in plan mode) adds a `goal` tool; `pause`, `resume`, `drop`. Agent completes the goal via the `goal` tool, which is then removed (omp://rpc.md).
|
|
89
|
+
- Continuation: hidden `goal-continuation` turn after each terminal `agent_end` only if goal active, session idle, nothing queued, plan mode off, open todos not all blocked. Stops after a goal turn with no new tool activity; `abort` pauses the goal (omp://rpc.md).
|
|
90
|
+
- Over RPC, goals continue only if `goal.continuationModes` contains `"rpc"` (omp://rpc.md). Print mode (`-p`) continuation: [unverified].
|
|
91
|
+
- Goal restored at process start is paused until `goal resume` (omp://rpc.md).
|
|
92
|
+
- Related: `/autoresearch <goal>` mode (metric-driven experiment loop, see 4) (omp://autoresearch.md).
|
|
93
|
+
|
|
94
|
+
### Claude Code
|
|
95
|
+
- `/goal <condition>` (max 4,000 chars); one goal per session; `/goal` shows status (turns, token spend, last reason); `/goal clear` (aliases stop/off/reset/none/cancel) ([goal](https://code.claude.com/docs/en/goal)).
|
|
96
|
+
- Mechanism: session-scoped prompt-based Stop hook; small fast model judges Not yet met / Met / Impossible from the transcript only (no tools, no file reads) ([goal](https://code.claude.com/docs/en/goal)).
|
|
97
|
+
- Write conditions with one measurable end state, a stated check Claude will print (e.g. "`npm test` exits 0"), constraints, and a bound like "or stop after 20 turns" ([goal](https://code.claude.com/docs/en/goal)).
|
|
98
|
+
- Headless: `claude -p "/goal <condition>"` runs to completion; add `--output-format stream-json --verbose` to see progress ([goal](https://code.claude.com/docs/en/goal)).
|
|
99
|
+
- Anti-spin: no tool use for several turns stops the loop with goal still set; unrecoverable errors (auth, credits, context overflow) clear it; transient errors retry up to 3 then pause ([goal](https://code.claude.com/docs/en/goal)).
|
|
100
|
+
- Requires workspace trust (hooks rule); unavailable if `disableAllHooks` or `allowManagedHooksOnly` ([goal](https://code.claude.com/docs/en/goal)).
|
|
101
|
+
- Does not change permission mode; unattended needs auto mode ([goal](https://code.claude.com/docs/en/goal)).
|
|
102
|
+
|
|
103
|
+
### Codex
|
|
104
|
+
- Feature `goals` stable, enabled (`codex features list`, 0.163.0). Available since 0.128.0 ([cookbook](https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex.md)).
|
|
105
|
+
- `/goal <objective>`, `/goal` view, `/goal edit`, `/goal pause`, `/goal resume`, `/goal clear`; objective non-empty, max 4,000 chars, point at a file for longer ([slash-commands](https://learn.chatgpt.com/docs/cli/slash-commands.md)).
|
|
106
|
+
- Thread-scoped persisted state: active, paused, complete, budget-limited. Model may start a goal and mark complete only with evidence; pause/resume/clear/budget transitions belong to user or system. Continuation only when idle, no queued input; a continuation turn with no tool call suppresses the next continuation; interruptions pause ([cookbook](https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex.md)).
|
|
107
|
+
- Recommended template: `/goal <end state> verified by <evidence> while preserving <constraints>. Use <boundaries>. Between iterations, <policy>. If blocked, <report>.` ([cookbook](https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex.md)).
|
|
108
|
+
- Budget config key name for goals: [unverified].
|
|
109
|
+
- Structured one-shot: `codex exec --output-schema <FILE>` (JSON Schema for final message), `--json` JSONL events, `-o/--output-last-message <FILE>` (codex 0.163.0 exec --help).
|
|
110
|
+
|
|
111
|
+
### Google Antigravity
|
|
112
|
+
- Interactive `/goal` runs a thorough, long-running task until the objective is met; `/schedule` creates a one-shot timer or recurring cron schedule ([overview](https://antigravity.google/docs/overview)).
|
|
113
|
+
- Structured headless one-shot: `agy -p "<prompt>" --output-format json --json-schema '<schema-or-file>' --print-timeout 15m` ([headless](https://antigravity.google/docs/cli/headless)).
|
|
114
|
+
|
|
115
|
+
## 4. Loops
|
|
116
|
+
|
|
117
|
+
### omp
|
|
118
|
+
- Goal mode (above) and `/autoresearch <goal>`: loop is the `agent_end` hook sending a hidden `resume-message.md` turn; one iteration = edit, `run_experiment`, `log_experiment`; requires clean worktree, creates branch `autoresearch/<slug>-<YYYYMMDD>`; sessions store `max_iterations`, metric direction, scope and off-limits paths; experiment-limit shutdown writes `mode: "off"`; subagents cannot activate it (`runCommands: false`) (omp://autoresearch.md, omp://session.md).
|
|
119
|
+
- `/loop` exists with a condition evaluated in its own shell namespace `loop-condition:<id>`; settings `loop.*` (omp://bash-tool-runtime.md, omp://settings.md). Full `/loop` syntax not in docs read [unverified].
|
|
120
|
+
- Headless: `omp -p "<prompt>"`; `--wait-async` keeps the run alive and starts new turns as background jobs finish; `--max-time <dur>`; `--max-cost <usd>` stops new requests (exit status 3; in-flight request may exceed); `--warn-cost <usd>`; `--plan-yolo` auto-approves plan then executes (omp://cli-reference.md).
|
|
121
|
+
- Loop guards: settings `model.loopGuard.*`, `model.toolCallLoopGuard.*` exist (omp://settings.md); semantics [unverified].
|
|
122
|
+
- External loop: `while ...; do omp -p ... --max-cost N; done` with exit-code checks [inference].
|
|
123
|
+
|
|
124
|
+
### Claude Code
|
|
125
|
+
- `/goal` (condition, see 3). `/loop` bundled skill: `/loop 5m <prompt>` fixed cron (1 min granularity), `/loop <prompt>` self-paced (1 min to 1 h), bare `/loop` runs `.claude/loop.md` then `~/.claude/loop.md` (25,000 byte cap; edits apply next iteration) or a built-in maintenance prompt ([scheduled-tasks](https://code.claude.com/docs/en/scheduled-tasks)).
|
|
126
|
+
- Stop: self-paced via Esc or `ScheduleWakeup` with `stop: true`; fixed via `CronDelete`; recurring tasks expire after 7 days; max 50 tasks per session; `CLAUDE_CODE_DISABLE_CRON=1` disables ([scheduled-tasks](https://code.claude.com/docs/en/scheduled-tasks)).
|
|
127
|
+
- `/loop` only fires skills Claude may invoke itself (not `disable-model-invocation: true`) ([scheduled-tasks](https://code.claude.com/docs/en/scheduled-tasks)).
|
|
128
|
+
- Durable: Cloud routines (min 1 h, fresh clone, no `~/.claude/skills`), Desktop scheduled tasks (local), GitHub Actions ([scheduled-tasks](https://code.claude.com/docs/en/scheduled-tasks)).
|
|
129
|
+
- Stop hooks: return `"decision": "block"` with reason to continue; input has `stop_hook_active` (true when already continuing) and must be checked to avoid infinite loops; Claude Code overrides a Stop hook after 8 consecutive blocks with no tool call ([hooks](https://code.claude.com/docs/en/hooks), [hooks-guide](https://code.claude.com/docs/en/hooks-guide)). Prompt (`type: "prompt"`) and agent (`type: "agent"`) hooks evaluate with a model ([hooks](https://code.claude.com/docs/en/hooks)).
|
|
130
|
+
- `ralph-loop` official plugin: `/ralph-loop "<prompt>" --completion-promise "DONE" --max-iterations N`; `/cancel-ralph`. Stop hook `hooks/stop-hook.sh` re-feeds the SAME prompt; state lives in files and git. Default iterations unlimited; promise is exact string match; README says always set `--max-iterations`. Windows: bash may resolve to WSL; point hook at Git Bash ([README](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/ralph-loop)).
|
|
131
|
+
- Budgets: `--max-budget-usd <amount>` (claude 2.1.322 --help). `--max-turns` not present in 2.1.322 --help output [unverified whether hidden].
|
|
132
|
+
|
|
133
|
+
### Codex
|
|
134
|
+
- `/goal` (above). Scripted loop: `codex exec "<prompt>"` then `codex exec resume --last "<prompt>"` (or `resume <SESSION_ID>`; `-` reads prompt from stdin; `--all` disables cwd filter) (codex 0.163.0 exec resume --help). Gate each iteration on `--output-schema` JSON or `-o` file [inference].
|
|
135
|
+
- Hooks: `~/.codex/hooks.json`, `<repo>/.codex/hooks.json` or inline `[hooks]`; `Stop` event can continue the turn; `continue: false` ends without another model request ([hooks](https://learn.chatgpt.com/docs/hooks.md)).
|
|
136
|
+
- Scheduled tasks (app automations): ChatGPT desktop app runs them in the project dir or an isolated worktree; machine and app must be on; feature `in_app_local_automation` stable ([automations](https://learn.chatgpt.com/docs/automations.md), `codex features list`).
|
|
137
|
+
- `codex cloud` [EXPERIMENTAL]: browse Codex Cloud tasks and apply locally (codex 0.163.0 --help).
|
|
138
|
+
- `codex queue` queues a message to an existing session (codex 0.163.0 --help).
|
|
139
|
+
- No `--max-turns`/USD cap flag in `codex --help` 0.163.0; goal budget is the documented cap [inference].
|
|
140
|
+
|
|
141
|
+
### Google Antigravity
|
|
142
|
+
- Interactive `/goal` runs long-horizon tasks to completion; `/schedule` (`schedule` tool) runs one-shot timers or 5-field cron schedules ([overview](https://antigravity.google/docs/overview)); `/run-workflow` executes Python-orchestrated agent loops (`parallel`, `pipeline`, `phase`) ([dynamic-workflows](https://antigravity.google/docs/dynamic-workflows)).
|
|
143
|
+
- Headless loops: `agy -p "<prompt>" --output-format json --json-schema '<schema>' --print-timeout 15m` (`0s` = unlimited), resumed across iterations with `-c` or `--conversation <id>`, or multi-turn `agy --input-format stream-json --output-format stream-json` ([headless](https://antigravity.google/docs/cli/headless)).
|
|
144
|
+
- `Stop` hook in `.agents/hooks.json`, `~/.gemini/config/hooks.json`, or plugin `hooks.json` receives `continuationActive`, `executionNum`, `terminationReason`, and `fullyIdle`, and returns exit `0` with `{"decision": "continue", "reason": "..."}` to resume; check stdin `continuationActive` first to prevent infinite loops (non-zero fails open) ([hooks](https://antigravity.google/docs/hooks)).
|
|
145
|
+
|
|
146
|
+
## 5. Skill authoring best practice (Anthropic)
|
|
147
|
+
Source: [best-practices](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices).
|
|
148
|
+
- Concise is key: only metadata preloads; assume the model already knows general facts.
|
|
149
|
+
- Set degrees of freedom: "Match the level of specificity to the task's fragility and variability" (exact scripts for fragile ops, prose for open tasks).
|
|
150
|
+
- Descriptions: third person, what + when, key trigger words first.
|
|
151
|
+
- Names: gerund form suggested (`processing-pdfs`).
|
|
152
|
+
- `SKILL.md` body under 500 lines; references one level deep.
|
|
153
|
+
- "Create evaluations BEFORE writing extensive documentation."
|
|
154
|
+
- Test with every model you plan to use.
|
|
155
|
+
|
|
156
|
+
## 6. Self-improvement loop patterns
|
|
157
|
+
- Ralph (Huntley): "Ralph is a Bash loop": `while :; do cat PROMPT.md | claude-code ; done`. Rules: one prompt file; persistent plan file (`fix_plan.md`) updated each turn; one item per loop; single subagent for build/test backpressure; "no cheating" (no placeholders); tune the prompt when Ralph misbehaves ([ghuntley.com/ralph](https://ghuntley.com/ralph/)).
|
|
158
|
+
- Karpathy autoresearch: three files; `prepare.py` fixed (never modified), `train.py` the only agent-edited file, `program.md` human-edited instructions ("a super lightweight skill"). Fixed 5-minute budget, metric `val_bpb` lower is better ([README](https://github.com/karpathy/autoresearch)).
|
|
159
|
+
- autoresearch rules: log each run to untracked `results.tsv` (commit, metric, mem, keep|discard|crash, description); if metric improved keep commit else `git reset`; >10 min = crash and revert; simplicity criterion; NEVER STOP to ask ([program.md](https://github.com/karpathy/autoresearch/blob/master/program.md)).
|
|
160
|
+
- DSPy: latest release 3.5.0 (2026-11-10), MIT ([GitHub API](https://github.com/stanfordnlp/dspy)). GEPA (reflective prompt evolution): latest v0.1.4 (2026-07-15), MIT ([GitHub API](https://github.com/gepa-ai/gepa)). Optional tooling; need a dataset + metric.
|
|
161
|
+
- Eval before promotion: skill-creator with/without comparison and `claude plugin eval` threshold gate ([skills](https://code.claude.com/docs/en/skills)); agentskills [evaluating-skills](https://agentskills.io/skill-creation/evaluating-skills).
|
|
162
|
+
- Actionable rule set [inference from above]: fixed metric + fixed evaluator the agent cannot edit; one mutable artifact; keep/revert per run on a branch; append-only log; hard cap (iterations, time, USD); promote to user-level only after eval beats baseline.
|
|
163
|
+
|
|
164
|
+
## 7. Safety facts
|
|
165
|
+
- Writes outside the project: omp `manage_skill` (`~/.omp/agent/managed-skills/`), `omp skill install -g`, user commands `~/.omp/agent/commands/`; Claude `~/.claude/skills/`, `~/.claude/loop.md`, plugin cache `~/.claude/plugins/cache/...`; Codex `~/.codex/prompts/`, `$HOME/.agents/skills`, `~/.codex/config.toml`, `~/.codex/hooks.json`; Antigravity `~/.gemini/config/`, `~/.gemini/antigravity*/`, `~/.gemini/skills/`, `${PLUGIN_DATA}` (sources above).
|
|
166
|
+
- Restart/reload needed: omp commands (no watcher; `/reload-plugins` or new session); Claude new top-level skills dir (`/reload-skills`), plugin parts (`/reload-plugins`), `--add-dir` commands/agents (restart); Codex prompts (restart), skills config (restart), skills auto-detected else restart; Antigravity skills/rules reload each turn (`/skills reload` refreshes completions) (sources above).
|
|
167
|
+
- Trust gates: Claude `/goal` and project hooks need workspace trust; `-p` shows no trust prompt ([goal](https://code.claude.com/docs/en/goal), [security](https://code.claude.com/docs/en/security)). Codex non-managed hooks need review and are trusted by hash; changed hooks skipped until re-trusted; project hooks load only when `.codex/` layer trusted; `--dangerously-bypass-hook-trust` skips ([hooks](https://learn.chatgpt.com/docs/hooks.md), codex --help). omp hook trust model [unverified].
|
|
168
|
+
- Documented attack: repo-committed Claude Code project files (hooks, MCP settings) enabled RCE and API token exfiltration, CVE-2025-59536 and CVE-2026-21852 ([Check Point](https://research.checkpoint.com/2026/rce-and-api-token-exfiltration-through-claude-code-project-files-cve-2025-59536/)).
|
|
169
|
+
- Self-modification risk [inference]: an agent writing hooks, settings, or skills with `allowed-tools`/`!` shell injection can escalate its own permissions or persist across sessions; never let an agent author hooks/settings unattended; keep self-authored files in project scope, reviewed via git diff before promotion.
|
|
170
|
+
- omp `omp skill install -y` installs script-shipping skills without asking; publish scans for credentials unless `--allow-secrets` (omp skill --help).
|
|
171
|
+
- Loop runaway guards: omp `--max-cost`/`--max-time`, no-tool-activity stop; Claude 8-block cap, `stop_hook_active`, 7-day cron expiry, goal no-progress stop, `--max-budget-usd`; Codex no-tool-call suppression and budget-limited state; Antigravity `Stop` `continuationActive` check and `--print-timeout`; ralph-loop `--max-iterations` (sources above).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cloud-devsecops
|
|
3
|
+
description: "Docker, Compose, container images and runtimes, Kubernetes operations and ecosystem tooling; security and DevSecOps rules for AWS, Azure and Google Cloud, IAM, policy, pipelines, supply chain and IaC. Use when building or debugging containers, operating workloads, choosing container tools, or changing cloud access and deployment infrastructure."
|
|
4
|
+
metadata:
|
|
5
|
+
as-of: "2026-11-13"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Cloud security and DevSecOps reference
|
|
9
|
+
|
|
10
|
+
Condensed, agent-facing rules distilled on 2026-11-11 from the cited reports in `TimothyVang/cloud-devsecops` (private): https://github.com/TimothyVang/cloud-devsecops. Each file links its full report and keeps the primary-source links for the claims that matter most. `[unverified]` and `[inference]` marks carry over from the reports. Versions, prices, and dates go stale; recheck anything you act on.
|
|
11
|
+
Docker/container and Kubernetes references were checked against public primary documentation on 2026-11-13. Other references retain their own check dates.
|
|
12
|
+
|
|
13
|
+
| File | Read when |
|
|
14
|
+
|---|---|
|
|
15
|
+
| `references/aws.md` | AWS accounts and Organizations, SCP/RCP/declarative policies, IAM, detection (CloudTrail, GuardDuty, Security Hub, Config), KMS and S3, network controls, CI access to AWS, IaC scanning, AWS security cost |
|
|
16
|
+
| `references/azure.md` | Azure management groups and landing zones, Entra ID and workload identity federation, RBAC, Azure Policy, Defender for Cloud, Key Vault, Private Endpoints and DNS, logging, CI access to Azure, AKS |
|
|
17
|
+
| `references/gcp.md` | Google Cloud org and projects, IAM and service accounts, org policy constraints, VPC Service Controls, audit logs and SCC, Binary Authorization and SLSA, Workload Identity Federation, GKE |
|
|
18
|
+
| `references/devsecops-pipeline.md` | Pipeline security stages and gates, supply chain (SBOM, signing, provenance), scanners, policy as code, container and Kubernetes hardening, GitHub Actions hardening, standards map |
|
|
19
|
+
| `references/containers.md` | Docker Engine/Desktop, Compose, BuildKit/buildx, OCI runtimes, Podman, Testcontainers, devcontainers and bounded local container workflows |
|
|
20
|
+
| `references/kubernetes.md` | Kubernetes workloads, kubectl context/namespace, probes, Services, storage, Helm/Kustomize, local clusters, GitOps and bounded operational workflows |
|
|
21
|
+
| `references/local-emulators.md` | Testing cloud or IaC code without a real account: Floci (AWS, Azure, GCP), LocalStack, moto, Azurite, Google emulators; leak-to-real-cloud checks |
|
|
22
|
+
| `references/devops-tools.md` | Choosing terminal, container, Kubernetes, Terraform, observability, secrets, or code-review tooling (one creator's verdicts, DevOps Toolbox) |
|
|
23
|
+
|
|
24
|
+
Networking fundamentals for AWS (VPC, routing, gateways, flow-log debugging) stay in `skill://domain-rules/references/aws-networking.md`. Deepmodebot's principles, gates, and playbooks win any conflict.
|