Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)260k · #439

antigravity-cli

Ce qu’il fait

Il s'agit d'un guide pour utiliser l'outil en ligne de commande agy, avec les étapes d'installation, de gestion des extensions et de correction des problèmes de connexion ou de bac à sable. Il s'adresse aux personnes qui utilisent Antigravity depuis un terminal.

Quand l’utiliser

  • ✓Quand vous devez installer ou mettre à jour l'outil en ligne de commande agy.
  • ✓Quand vous voulez exécuter agy comme commande ponctuelle, sans session interactive.
  • ✓Quand la connexion, le bac à sable ou les autorisations d'Antigravity ne fonctionnent pas.

Lien du skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/antigravity-cli/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/antigravity-cli/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Aide-moi à installer la CLI Antigravity et vérifie qu'elle fonctionne sur mon ordinateur.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent exécute des commandes agy dans le terminal et lit ses réglages et ses journaux pour trouver les problèmes. Il distingue les commandes du shell de celles qui ne fonctionnent qu'à l'intérieur d'une session ouverte.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Antigravity CLI (agy)

Operator guide for the Antigravity CLI, invoked as agy. Run all agy commands through the Hermes terminal tool; inspect its config and logs with read_file. This skill is reference + procedure — it does not wrap a network API, so there is nothing to authenticate from Hermes itself.

When to Use

  • Installing, updating, or smoke-testing the agy binary
  • Driving non-interactive agy --print / agy -p one-shots
  • Debugging Antigravity auth, sandbox, permissions, or plugin state
  • Reading Antigravity settings, keybindings, conversations, or logs

Mental model

Antigravity has two layers — keep them distinct or the guidance will be wrong:

  1. Shell wrapper commands — agy help, agy install, agy plugin, agy update, agy changelog. Run these through the terminal tool.
  2. Interactive in-session slash commands — /config, /permissions, /skills, /agents, etc. These only exist inside a running agy TUI session, not on the shell wrapper.

agy help shows the shell wrapper surface, NOT the in-session slash commands.

Prerequisites

  • The agy binary on PATH. Verify through the terminal tool: command -v agy && agy --version.
  • No env vars or API keys required by this skill — Antigravity manages its own auth via the OS keyring / browser sign-in (see Authentication below).

How to Run

Invoke every agy command through the terminal tool. Examples:

terminal(command="agy --version")
terminal(command="agy help")
terminal(command="agy plugin list")
terminal(command="agy --print 'Summarize the repo in 3 bullets'", workdir="/path/to/project")

For an interactive multi-turn TUI session, launch agy with pty=true (and tmux for capture/monitoring), the same pattern the codex / claude-code skills use. For one-shot smoke tests and scripted prompts, prefer agy --print (non-interactive).

To inspect Antigravity's own files, use read_file on the paths under Core paths below — do not cat them through the terminal.

Delegation patterns

agy is a coding-agent backend in the same family as codex / claude-code, so the same delegation shapes apply. Use these when handing real work (features, fixes, reviews, second opinions) to Antigravity rather than just smoke-testing.

One-shot (preferred for scripted prompts and second opinions)

terminal(command="agy -p 'Review this diff for bugs and security issues' --model 'Gemini 3.1 Pro (High)'", workdir="/path/to/repo", timeout=300)

-p is non-interactive: it runs the prompt and exits. Pick the engine with --model (run agy models for the exact display strings, e.g. 'Gemini 3.1 Pro (High)', 'Claude Opus 4.6 (Thinking)'). Add extra context roots with repeatable --add-dir.

Long / bounded runs (tests, builds, multi-file changes)

Background it and get notified on completion, the same as the codex skill:

terminal(command="agy -p 'Implement the change described in TASK.md and run the tests' --dangerously-skip-permissions", workdir="/path/to/repo", background=true, notify_on_complete=true)
# then: process(action="poll"/"log"/"wait", session_id=<id>)

Interactive multi-turn (PTY + tmux)

For a conversational session, launch agy -i (or bare agy) under pty=true with tmux for capture-pane / send-keys, exactly the pattern documented in the codex / claude-code skills. Resume later with --continue / -c or a specific --conversation <id>.

Parallel instances (batch sub-issue / worktree fan-out)

Create one git worktree per task and launch an independent agy -p in each (background), then collect results — same worktree fan-out the codex skill uses for batch issue fixing. Bound concurrency to what the machine and your review capacity can absorb.

Output + bounding caveat (differs from Claude Code)

  • agy -p returns plain text — there is no --output-format json and no result envelope with session_id / cost / turn count. Parse stdout directly; don't expect a JSON object.
  • There is no --max-turns. A print run is bounded by --print-timeout (default 5m). Raise it for long tasks: --print-timeout 20m. Pair with the terminal timeout= so the outer call doesn't cut the run short.

Orchestration boundary

Antigravity is a worker execution backend or third-opinion reviewer — an execution detail owned by the agent/profile running a task, NOT a first-class orchestration primitive. Do not put

Questions fréquentes

Faut-il une clé API ?

Non. La skill indique qu'Antigravity gère sa propre connexion via le trousseau du système d'exploitation ou un navigateur.

Puis-je exécuter agy dans un script ?

Oui. Elle couvre les commandes ponctuelles non interactives à l'aide de agy --print.

Pourquoi certaines commandes n'apparaissent-elles pas dans l'aide de agy ?

Les commandes de session comme /config n'existent qu'à l'intérieur d'une session agy en cours, et non dans l'aide du shell.

Détails

Description originale de l’auteur

Operate the Antigravity CLI (agy): plugins, auth, sandbox.

repo: NousResearch/hermes-agent

Popularité

Étoiles GitHub
260k
Position au classement
#439
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires