Skip to content
Skillpedia
General coding53k · #1802

code-mate-antigravity

Lets your agent analyze code and perform programming tasks. It's useful for reviewing or improving existing code.

What it does

This agent helps you use a tool called Antigravity CLI to analyze your code or perform coding tasks. It can be used to delegate work to Antigravity or compare its results with other coding assistants.

When to use it

  • ✓When you want Antigravity to analyze your code.
  • ✓When you want Antigravity to perform a coding task.
  • ✓When you want to compare Antigravity's output with another assistant.

Example of what to ask your AI

“Analyze this project using Antigravity CLI and tell me if there are any errors.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-antigravity/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-antigravity/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It runs the Antigravity CLI in the background without direct user interaction. It sets up the environment, executes the command with your instruction, and returns the result.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add CherryHQ/cherry-studio --skill code-mate-antigravity

Or download just the file:

curl -L https://raw.githubusercontent.com/CherryHQ/cherry-studio/main/resources/code-cli-skills/code-mate-antigravity/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Antigravity CLI

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v agy. If it is missing, stop and ask the user to install Antigravity CLI in Code Mate.
  3. Run one task and exit:
agy -p "<prompt>" --output-format json

Pass the prompt as one quoted argument. Print mode waits up to --print-timeout (5m by default); pass a shorter value when the caller's own timeout is tighter.

Parse the JSON result and read its status field: anything other than a success status is a failure, and error carries the reason. Treat unparseable output as failure too. Never start interactive Antigravity or an authentication flow.

Authentication And Permissions

Antigravity refuses to run headlessly until it is signed in — it returns status: "ERROR" with authentication failed or timed out and tells you to run agy to log in. Do not do that: stop and ask the user to finish Antigravity setup in Code Mate. Never request, read, print, or copy credentials.

Headless mode inherits the permission mode persisted in user settings, and reading and writing files inside the active workspace are auto-approved by default — the default is not a read-only boundary, and a prompt cannot make it one. Do not run it against a writable project for a read-only task. Use a disposable or read-only copy instead. Run against the real project only when the user explicitly requests workspace changes, constrain the directory, and inspect the diff afterward. Never pass --dangerously-skip-permissions, which auto-approves every tool request including outside the workspace.

Example: for an approved edit, ask Antigravity to touch only named files, run it in that project, parse the response and any reported error, and inspect the resulting diff before reporting success.

FAQ

What is Antigravity CLI?

It is a command-line tool for code analysis and programming tasks.

Do I need to install anything?

Yes, you need to have Antigravity CLI installed in your environment. If it's not installed, the agent will ask you to install it.

What happens if Antigravity is not set up?

If Antigravity is not set up or logged in, the agent will stop and ask you to complete the setup in Code Mate.

Details

Original description by the author

Runs Antigravity CLI headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to Antigravity CLI or compare its result with another coding agent.

repo: CherryHQ/cherry-studio

Popularity

GitHub stars
53k
Ranking position
#1802
License
AGPL-3.0
Updated
10/16/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills