diazmelgarejo/orama-system/antigravity-agent

Claude Code and agent skill by diazmelgarejo/orama-system

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Operate the Antigravity CLI (`agy`) for fanning out light/parallel tasks alongside the main orchestration session — same fan-out tier as `kimi` and `cursor-agent`. Direct CLI invocation, NOT an OpenClaw agent config entry: see "Why direct CLI, not OpenClaw" for the root-cause history behind that choice. Verified live on macOS 2026-07-11 (v1.1.1).

Install

npx vskill@latest install diazmelgarejo/orama-system/antigravity-agent

SKILL.md

The same SKILL.md was published earlier as diazmelgarejo/orama-system/antigravity-agent.

Antigravity Agent Skill

Purpose

Give the main orchestration session one documented way to borrow a second agentic coding CLI (agy) for light, parallel, or mechanical work that does not need the orchestrator's own context: rename sweeps, test scaffolding, format/lint fixes, doc generation. The skill exists so fan-out uses a runtime-discovered binary and an operator-approved scope instead of a persistent OpenClaw agent — see § Why direct CLI, not OpenClaw for that history.

Not the tool for architecture decisions, CIDF write discipline, cross-repo synthesis, security/policy review, or final crystallisation. Those stay with the main session (see the division-of-labour table below).

Disambiguation

`agy` is Google's Antigravity CLI — a standalone agentic coding tool in the same category as kimi, cursor-agent, and codex: a fan-out worker the main session can dispatch light/parallel tasks to, NOT an internal oramasys stage worker (does not belong in bin/orama-system/config/agent_registry.json, which is reserved for SOUL-file-backed OpenClaw/oramasys agents bound to a gateway provider).

CommandRuntime discoveryWhat it is
agycommand -v agyGoogle Antigravity CLI — use this
kimicommand -v kimiMoonshot Kimi Code CLI — see ../kimi-agent/SKILL.md
cursor-agentcommand -v cursor-agentCursor's background agent — see ../cursor-agent/SKILL.md

Why direct CLI, not OpenClaw (root-cause history, 2026-07-11)

An earlier session built a persistent OpenClaw agent (gemini-coder) around a fabricated google-antigravity provider stanza in openclaw.json — model names copied from agy models output, but wired to nothing. The stanza had only a bare models array (name/price list), no api, no baseUrl, unlike the real google provider ({api, baseUrl, models}) or plugin-supplied providers like codex ({} — the installed plugin supplies its own catalog). openclaw plugins list (71 entries) had zero rows for "antigravity"; the ClawHub marketplace has no real Antigravity provider plugin either. openclaw models auth login --provider google-antigravity failed live with "Error: No provider plugins found" — there was no code path that could ever authenticate or run inference through OpenClaw for this provider. The google-antigravity provider stanza and its agy-* alias entries were deleted from openclaw.json as part of this correction; gemini-coder (the OpenClaw agent) uses a host-specific secondary configuration, which may differ from google/gemini-3.8-flash. Verify the host configuration before relying on it; it is not the primary way to reach Antigravity.

The actual Antigravity CLI (`agy`) needs none of that. It can be discovered from PATH and, when the current machine is authenticated, answers headless prompts with zero additional setup — verified live: agy -p "What is 2+2? Reply with just the number." returned 4 with no OAuth prompt, no TTY error. Use this skill's direct-CLI pattern, mirroring kimi-agent, instead of routing through OpenClaw's model/provider abstraction.

Runtime Discovery

Do not hardcode host-local Antigravity binary or configuration paths in docs, scripts, or examples. Discover the executable at runtime and print what the current machine resolves:

bash
AGY_BIN="$(command -v agy)" || {
echo "agy not found on PATH" >&2
exit 127
}
printf 'agy: %s\n' "$AGY_BIN"

Configuration and credential locations are host-specific. Inspect them only when debugging a live machine, and avoid checking those paths into reusable guidance.

Provider Setup

Status: WIRED when the current machine passes a smoke test. Auth state is host-specific. Before dispatching real work, run agy -p "reply with exactly: agy-ok"; it should return agy-ok with no prompt or TTY requirement. If it errors or asks for auth, stop and surface that state instead of assuming another machine's configuration.

Key Options (from agy --help, v1.1.1 — verified)

OptionPurpose
-p, --print / --promptHeadless single-turn — prints response to stdout (equivalent to kimi -p)
--model <model>Override model for this session (see § Models below)
--agent <agent>Select a named agent for the session (agy agent/agy agents lists them — empty by default: "Available agents:" with nothing after)
-i, --prompt-interactiveRun an initial prompt interactively, then continue the session
-c, --continueContinue the most recent conversation
--conversation <id>Resume a previous conversation by ID
--mode <mode>accept-edits or plan
--dangerously-skip-permissionsAuto-approve all tool permission requests — trusted/CI only
--sandboxRun in a sandbox with terminal restrictions enabled
--add-dir <dir>Add an extra workspace directory (repeatable)
--new-projectCreate a new project for this session
--print-timeout <dur>Timeout for print mode wait (default 5m0s)
--log-file <path>Override CLI log file path

Default to a sandboxed plan/read-only pass first. Delegated file changes require a human to approve the exact task, scope, and target repository first.

bash
agy --mode plan --sandbox --add-dir "$PWD" \
--model "Claude Sonnet 4.6 (Thinking)" \
-p "Plan the requested edits. Do not modify files."

Approval gate: in an OpenClaw/Web Portal workflow, use the native AskUserQuestion/HITL approval gate before switching to edit mode. In a plain shell workflow, stop and ask the operator to approve the plan, diff scope, and log directory before running --mode accept-edits:

bash
printf 'Approve agy edit execution in %s? Type exactly YES: ' "$PWD" >&2
read -r APPROVED
[ "$APPROVED" = "YES" ] || { echo "agy edit execution not approved" >&2; exit 1; }
agy --mode accept-edits --sandbox --add-dir "$PWD" \
--model "Claude Sonnet 4.6 (Thinking)" \
-p "Execute only the approved edits."

Use --add-dir only for repository-scoped directories required by the task. Avoid broad home-directory access. Reserve --dangerously-skip-permissions for trusted or CI usage where the command, workspace, prompt, and approval record are controlled. For unattended PR reviews, use the agy boundary with --sandbox and a repository-scoped --add-dir; untrusted review content cannot authorize automatic approval. This matches Gemini CLI's documented safety model: sandboxing reduces but does not eliminate risk, untrusted workspaces force tool prompts, write/shell tools default to ask_user, and non-interactive plan workflows can otherwise fall through into YOLO-style execution after approval-mode transitions.

Models (from agy models, re-verified 2026-11-03)

text
gemini-3.8-flash-high Gemini 3.8 Flash (High)
gemini-3.8-flash-medium Gemini 3.8 Flash (Medium)
gemini-3.8-flash-low Gemini 3.8 Flash (Low)
claude-sonnet-4-6 Claude Sonnet 4.6 (Thinking)
claude-opus-4-6-thinking Claude Opus 4.6 (Thinking)
gpt-oss-120b-medium GPT-OSS 120B (Medium)

The 2026-07-11 listing's Gemini 3.5 Flash (Medium/High/Low) and Gemini 3.1 Pro (Low/High) entries are no longer offered: Gemini 3.1 Pro has been dropped from the lineup and the Flash tier is now Gemini 3.8 Flash. --model still takes the exact display string from agy models.

Preference order: 1) Claude Sonnet 4.6 (Thinking), 2) Gemini 3.8 Flash (Medium) — repointed 2026-11-03 from the retired Gemini 3.1 Pro (Low) slot, matching the repo-wide Gemini 3.8 Flash · medium default — 3) whatever other agent templates use as their fallback defaults. Pass the exact string from agy models via --model:

bash
agy --model "Claude Sonnet 4.6 (Thinking)" -p "..."

No automatic fallback chain — same limitation class as every other fan-out CLI in this stack (kimi, cursor-agent): if the primary model errors, inspect and reconcile any partial edits first, then retry only remaining work with an available model selected from agy models, such as Gemini 3.8 Flash (Medium) when present. Do not assume agy retries across models on its own.

Output Shape (verified live, v1.1.1)

Clean answer-only stdout in print mode — unlike kimi -p, which prepends a •-prefixed narration line and appends a To resume this session: footer. agy -p "What is 2+2? Reply with just the number." returned exactly 4, nothing else. Simpler to parse in scripts; still verify this holds for longer/tool-using prompts before building a strict parser around it — the smoke tests here used trivial no-tool prompts.

Light Task Fanout Pattern

Same shape as the kimi-agent/cursor-agent pattern — headless, backgrounded, wait to collect:

bash
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
LOG_PARENT="$REPO_ROOT/.agent/logs/agy"
# Fail closed if any reusable log parent is a symlink. This prevents predictable
# log paths from being redirected through attacker-created links.
for path in "$REPO_ROOT/.agent" "$REPO_ROOT/.agent/logs" "$LOG_PARENT"; do
[ -L "$path" ] && { echo "refusing symlinked log path: $path" >&2; exit 1; }
done
mkdir -p "$LOG_PARENT"
chmod 700 "$REPO_ROOT/.agent" "$REPO_ROOT/.agent/logs" "$LOG_PARENT" 2>/dev/null || true
printf 'Approve background agy edit fan-out in %s? Type exactly YES: ' "$REPO_ROOT" >&2
read -r APPROVED
[ "$APPROVED" = "YES" ] || { echo "background agy fan-out not approved" >&2; exit 1; }
run_agy_task() {
local name="$1"
local prompt="$2"
local log_dir out err
log_dir="$(mktemp -d "$LOG_PARENT/${name}.XXXXXXXX")" || return 1
out="$log_dir/stdout.txt"
err="$log_dir/stderr.txt"
if agy --mode accept-edits --sandbox --add-dir "$REPO_ROOT" \
--model "Claude Sonnet 4.6 (Thinking)" \
-p "$prompt" >"$out" 2>"$err"; then
if [ ! -s "$out" ]; then
echo "$name: agy exited 0 but produced empty stdout; inspect $err" >&2
return 2
fi
echo "$name: success; output saved to $out"
else
local status=$?
echo "$name: agy failed with exit $status; stderr saved to $err" >&2
return "$status"
fi
}
run_agy_task agy-task-a \
"Add type annotations to scripts/discover.py; only functions, no variables" &
pid_a=$!
run_agy_task agy-task-b \
"Rename all snake_case variables in tests/test_foo.py to camelCase" &
pid_b=$!
fail=0
wait "$pid_a" || fail=1
wait "$pid_b" || fail=1
exit "$fail"

Preserve every task's stdout/stderr log before parsing. Treat exit 0 with empty stdout as a per-task failure until the log proves the task intentionally made only file edits and emitted no summary. The log guard above protects against local path-hijack/symlink attacks; it is not a network MITM control. Network trust still depends on the provider's TLS/auth path, and prompts/logs must not include secrets.

Division of labour (matches the kimi-agent/cursor-agent table — Antigravity slots into the same "mechanical fan-out" tier, not the orchestrator tier):

Main session (orchestrator)agy (fan-out worker)
Architecture decisionsMechanical file edits
CIDF write disciplineGrep-and-replace tasks
Cross-repo synthesisDoc generation
Security & policy reviewTest scaffolding
Final crystallisationFormat / lint fixes

Commands Summary (v1.1.1, verified)

CommandPurpose
agy -p "<prompt>"Headless single-turn (see § Light Task Fanout Pattern)
agy modelsList available models
agy agent / agy agentsList available named agents (empty by default)
agy plugin list \install \uninstall \enable \disableManage plugins
agy installConfigure environment paths and shell settings
agy updateUpdate CLI
agy changelogShow changelog and release notes
agy helpShow help for subcommands

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diazmelgarejo/orama-system/antigravity-agent/badge)](https://verified-skill.com/skills/diazmelgarejo/orama-system/antigravity-agent)

Something wrong with this skill or its page? Tell us.