원클릭으로
harness-antigravity
Dispatch patterns for Antigravity CLI (agy) as the coding engine.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Dispatch patterns for Antigravity CLI (agy) as the coding engine.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Branch, commit, push, and open PRs with humanized messages, then monitor GitHub Actions CI. Per-project autonomy gating; blocks direct pushes to the default branch and pushes with a dirty tree. Never auto-merges.
Dispatch patterns for Claude Code as the coding engine. Default harness. Implementation dispatches go through dispatch_coder.py (writes the dispatch receipt the commit gate requires).
Testing strategy, TDD enforcement, spec compliance, and regression checks.
Write implementation plans: bite-sized tasks for coding engine dispatch.
Automated fix loop for failed Quality/Reviewer checks. Parses failures, builds escalating prompts, dispatches through the active harness up to 3 times.
Run independent, file-disjoint plan tasks concurrently, each isolated in its own git worktree + branch. Collects per-task results; never auto-merges.
| name | harness-antigravity |
| description | Dispatch patterns for Antigravity CLI (agy) as the coding engine. |
| version | 1.0.0 |
| metadata | {"hermes":{"tags":["harness","antigravity","agy","dispatch"],"related_skills":["implementer","harness-claude-code","harness-opencode"]}} |
Dispatch patterns for using Antigravity CLI (agy) as the coding engine.
agy -p '<prompt>'
The -p / --print flag runs a single prompt non-interactively and prints the response.
terminal(
command="agy -p '<self-contained task prompt>' --dangerously-skip-permissions --print-timeout 5m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=300
)
terminal(
command="agy -p 'In <file>, update <function> to <change>. Run existing tests to verify.' --dangerously-skip-permissions --print-timeout 3m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=180
)
terminal(
command="agy -p 'Implement <feature> as described: <spec>. Create files in <location>. Write tests in <test-location>. Follow existing patterns in <example-file>.' --dangerously-skip-permissions --print-timeout 8m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=480
)
terminal(
command="agy -p 'Fix bug: <description>. Reproduce with: <repro-steps>. Root cause is likely in <file>. Add a regression test.' --dangerously-skip-permissions --print-timeout 5m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=300
)
terminal(
command="agy -p 'Refactor <component>: <goal>. Preserve all existing behavior. Run tests after each change.' --dangerously-skip-permissions --print-timeout 8m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=480
)
terminal(
command="agy -p '<review prompt>' --dangerously-skip-permissions --print-timeout 3m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=180
)
terminal(
command="agy -p 'You are an independent code reviewer. Review this git diff for security concerns and logic errors.
SECURITY (auto-FAIL): hardcoded secrets, shell injection, SQL injection, path traversal, eval with user input.
LOGIC (auto-FAIL): wrong conditionals, missing error handling for I/O, off-by-one, race conditions.
SUGGESTIONS (non-blocking): missing tests, style, performance, naming.
Run: git diff HEAD~1 HEAD
Report: list security concerns, logic errors, and suggestions.' --dangerously-skip-permissions --print-timeout 3m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=180
)
terminal(
command="agy -p 'Fix ONLY these specific issues. Do NOT refactor or change anything else:
<list of issues>
' --dangerously-skip-permissions --print-timeout 3m0s --add-dir <project-dir>",
workdir="<project-dir>",
timeout=180
)
| Flag | Purpose | When to Use |
|---|---|---|
-p / --print | One-shot non-interactive mode | Always for coordinator dispatch |
--print-timeout | Timeout for print mode (e.g., 5m0s) | Always — prevents hanging tasks |
--add-dir | Add directory to workspace (repeatable) | Always — set project directory |
--dangerously-skip-permissions | Auto-approve all tool use | When running unattended via coordinator |
--sandbox | Restrict terminal access | For read-only review tasks |
--print-timeoutagy -p '<prompt>' or similar terminal wrappers, any single quotes (such as customer's or 'party_size') inside the prompt string will break the outer shell's single-quote matching, causing bash syntax errors like unexpected token '(' or Permission denied when evaluating the command.\"), or rewrite the prose to avoid single quotes (e.g. use "guest name" instead of "guest's name").~/.antigravitycli) maps to a workspace with no project associated, the client fails to resolve the project ID and sends an empty string or UUID, causing the backend executor to reject the call.Ensure that the correct GCP project is set in the active gcloud configuration:
/Users/you/Downloads/google-cloud-sdk/bin/gcloud config set project <gcp-project-id>
Verify that the SDK's bin/ directory is appended to your environment $PATH so the silent authentication and keyring provider can resolve credentials and project state:
export PATH=$PATH:/Users/you/Downloads/google-cloud-sdk/bin
Ensure environment variables GOOGLE_CLOUD_PROJECT and CLOUDSDK_CORE_PROJECT are set to your active project ID (e.g., your-gcp-project-id).
customer's or inline single-quoted selectors) to the agy CLI via a shell command, the shell's string parser can choke, causing bash evaluation syntax errors (like syntax error near unexpected token '(' or Permission denied).agy have all single quotes removed or re-written, or wrap the prompt in double quotes while avoiding raw nested single quotes that conflict with bash expansion.harness/antigravity/SKILL.md) and the frontmatter name mismatch can cause standard skill_view calls with harness-antigravity or antigravity to fail.skill_view(name="harness:antigravity"). Alternatively, fall back to reading the file directly using the read_file tool with the path /Users/you/.hermes-coder/skills/harness/antigravity/SKILL.md.terminal() with agy -p '<prompt>', passing unescaped single quotes (e.g., customer's), backticks, or raw parentheses in the prompt text can cause Bash command evaluation or expansion errors, causing the terminal call to fail with syntax errors.the customer name), avoid raw backticks or unescaped parentheses in prompt descriptions, or wrap and escape prompts carefully before dispatching to avoid shell expansion conflicts.--sandbox as alternative for reviews)5m0s) not secondsFor a high-level review of a complex multi-language monorepo, dispatch one comprehensive, read-only agy -p analysis task that explicitly scopes every sub-component (each language layer, infra, frontends) and asks for findings evaluated by Impact, Level of Effort, and Risk, consolidated into the repo's existing backlog format. Project-specific review case studies live in the reviewed project's own repo under docs/hermes/.