agentleFS
patrick-fupatrick-fu/awesome-skills/antigravity-coding-agent/SKILL.md

antigravity-coding-agent

Skill66 starsChanged 2 months agoMITView on GitHub

Run Google Antigravity CLI (`agy`) as an external coding executor. Use only when explicitly selected by name.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Antigravity only after the user or active workflow explicitly selects it as the external executor.

    line 10
  2. Very specific:

    Run <launcher> --help before composing version-sensitive flags.

    line 22
  3. Distinctive:

    Use monitor mode by default for any task that may take time.

    line 32
  4. Distinctive:

    Run from the intended repository or workspace, pass a bounded task contract, and wait for the external process to finish.

    line 34
  5. Distinctive:

    Use the highest tier only when its quality benefit justifies the extra latency or cost, and after checking whether that tier has additional …

    line 46
  6. Distinctive:

    Do not hardcode model names or effort levels from this skill.

    line 50
  7. Very specific:

    Place repeatable options such as --add-dir ahead of -p.

    line 69
  8. Distinctive:

    Start the command with the host's long-running process facility.

    line 74
  9. Distinctive:

    Do not kill a live process merely because it has produced no recent semantic event.

    line 93
  10. Very specific:

    Add --output-format json when the caller wants a single JSON object with status, response, and usage instead of prose.

    line 104
  11. Distinctive:

    Follow the current help and wrapper contract for sandbox and mode options.

    line 133
  12. Distinctive:

    Do not silently create worktrees, commit, push, deploy, or widen task scope.

    line 134
  13. Distinctive:

    Put optional captures in the system temporary directory.

    line 135

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Antigravity Coding Agent

Use Antigravity only after the user or active workflow explicitly selects it as the external executor.

Minimal Workflow

  1. Set <launcher> to the requested Antigravity binary, absolute path, alias, or wrapper. Preserve a provided wrapper; it may inject model, authentication, or permission settings, including bypass permissions. Treat wrappers as opaque: discover their contract only by invoking <launcher> --version or <launcher> --help; do not run inspection commands that may print an alias or function definition, open or print wrapper source, or dump its environment because it may contain credentials.
  2. Run <launcher> --help before composing version-sensitive flags. Use <launcher> models for the model catalog and other subcommand help only when the task needs it.
  3. Choose the model and thinking effort deliberately, following the guidance below and the choices currently exposed by the launcher. --model and --effort interact: a base catalog ID such as gemini-3.8-flash requires --effort with a tier the model supports, while a tiered ID such as gemini-3.8-flash-high already carries its effort and rejects a conflicting --effort. Copy the catalog entry exactly; when unsure, omit --effort.
  4. Use monitor mode by default for any task that may take time. Use final mode only when the task is clearly trivial and short.
  5. Run from the intended repository or workspace, pass a bounded task contract, and wait for the external process to finish.
  6. Inspect the resulting diff, tests, and final answer before claiming success.

Model and Effort

Honor explicit model or effort choices. Otherwise inspect current help and <launcher> models before launching:

  • For routine, bounded work, prefer a balanced model and moderate effort.
  • For deep review, ambiguous debugging, cross-module design, or other high-risk work, prefer a frontier model and high or maximum supported effort.
  • Use the highest tier only when its quality benefit justifies the extra latency or cost, and after checking whether that tier has additional behavior.

Do not hardcode model names or effort levels from this skill; the launcher's current help and model catalog are authoritative. In API-key mode the built-in default model may not exist on the configured endpoint and fails with a 400 unknown-provider error; pick a model the endpoint's catalog actually serves (references/api-mode.md). For reproducible comparisons or custom endpoints, pass the chosen --model explicitly and record the effective route without exposing credentials. An init event may omit model when the CLI default was used.

Monitor Mode (Default)

Pass the bounded task contract as the -p value and request the semantic JSONL stream:

<launcher> -p "$TASK_PROMPT" --output-format stream-json

The prompt must be the -p value; a trailing positional prompt exits 2. Place repeatable options such as --add-dir ahead of -p. Bound long tasks explicitly with a unit-bearing --print-timeout value such as 15m; a bare number is invalid. The current default 0s waits until the turn completes, with background tasks waited up to a 30-minute cap.

Start the command with the host's long-running process facility. Keep the task ID returned by the host, then use the host's wait, poll, or resume facility to read only newly available output while the process runs.

Reduce the stream to small liveness signals such as:

running — process alive
working — step started (step_type)
running — no new semantic event; process alive
turn ended — result.status SUCCESS

Ignore raw thinking/reasoning and token deltas. A successful terminal result and process exit only establish that the turn ended; verify the response, denied actions, stderr timeout warnings, and task-critical tool results before claiming task success. A --print-timeout can return partial output with exit 0. An error status with a non-empty answer still needs independent verification; preserve the error instead of counting the run as clean success. Do not kill a live process merely because it has produced no recent semantic event.

Final Mode

For a clearly trivial, short task, wait for one final response:

<launcher> -p "$TASK_PROMPT"

Add --output-format json when the caller wants a single JSON object with status, response, and usage instead of prose. Use stream-json when headless file or command tool execution must be verified; final text or JSON alone does not prove which tools ran.

Task Boundaries

  • For read-only review or explanation, keep the prompt findings-first and consider --mode plan, which researches and plans without making changes. In headless file reviews, list target paths host-side, add any external directories with --add-dir, and ask the agent to use view_file. In the stream-json output, confirm a view_file DONE event for each required path with usable tool_info.output and no tool_info.error; also require terminal success, a non-empty response, and no denied_actions. Plan mode does not grant shell permission or provide a host-enforced read-only boundary. For command-based review, prepare the diff and file list host-side where possible. If command execution is essential, enforce read-only access at the host before granting broader CLI permissions; do not treat --dangerously-skip-permissions as a read-only flag.
  • Headless runs cannot show permission prompts: any tool permission that is not pre-approved is auto-denied, and the process can still exit 0. Judge tool-dependent work by the terminal result and required tool results, never by exit code or a final-looking answer alone. Even a read-only run can no-op this way; see references/monitoring.md for the recovery pattern.
  • --dangerously-skip-permissions auto-approves every tool request and is the supported headless path for write tasks. Add it only when the user explicitly authorizes that execution scope for the task at hand. Use an isolated workspace for experiments and verify completed command events and their output or artifacts; a model's explanation alone is not experimental evidence.
  • Follow the current help and wrapper contract for sandbox and mode options.
  • Do not silently create worktrees, commit, push, deploy, or widen task scope.
  • Put optional captures in the system temporary directory. Cleanup is optional.

Account sign-in is the default authentication. For API-key or custom-endpoint setups, read references/api-mode.md. For event mapping, exit codes, headless permission behavior, session resume, and current capability discovery, read references/monitoring.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.