Skip to content
Skillpedia
General coding53k · #3373

code-mate-antigravity

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.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

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

5 new skills a week. 1 minute to read.

code-mate-antigravity: full guide

Sometimes you want a second opinion on your code from a different coding tool. Maybe you want to see whether Antigravity finds the same bug your main agent found, or you want it to attempt a task your main agent struggled with. Doing this by hand means opening a terminal, finding the right flags and reading raw output.

This skill lets your agent do that for you. It starts Antigravity CLI in one-shot mode, hands it your instruction, reads the structured result and tells you what happened. It also adds safety rules: no interactive sessions, no login flows, no auto-approve flag. It is for people who already have Antigravity set up in Code Mate and want to delegate or compare work without leaving their agent.

Use cases

Compare two agents on the same bug

Your checkout page crashes when the cart is empty. Claude Code gives you a fix. You ask the agent to send the same bug report to Antigravity, then you place both explanations next to each other and choose the one that matches how your code really works.

Read-only analysis of an unfamiliar repo

You inherited a project and want a summary of its folder structure and risky areas. Because Antigravity can write files by default, the skill says to run it on a disposable copy of the project, so a question about the code cannot change it.

Approved edit to named files

You decide that only config.yaml and README.md should change, and you want Antigravity to do it. You say so explicitly, and the agent runs it in that project, names those files in the prompt and shows you the diff afterwards.

Step by step

  1. 1Install Antigravity CLI and sign in to it through Code Mate. The skill will not do the login for you; it stops and asks you to finish setup there.
  2. 2Put the skill folder in ~/.claude/skills/code-mate-antigravity/ (or your project's .claude/skills/) so your agent can find it.
  3. 3Tell the agent the exact project folder and what you want Antigravity to do. Say clearly whether it may change files or must only read.
  4. 4Let the agent run the task. It checks that the agy command exists, sets a time limit of about 10 minutes and runs one non-interactive request.
  5. 5Read the answer the agent gives you. If changes were allowed, ask to see the diff before you accept anything.

Example

What to ask

“Use Antigravity to review the project in ~/projects/shop for error handling problems. Do not change any files, and show me what it finds.”

What you get

The agent copies the project to a temporary folder, runs Antigravity there with your request and reads the JSON reply. It reports that the status was successful and lists the places Antigravity flagged, such as an unchecked payment call. Your original project is untouched.

Tips

  • ✓The default is not read-only. Antigravity can write inside the project it runs in, so for a question-only task, ask the agent to use a copy of the project.
  • ✓If the run fails, ask the agent for the error text. Authentication errors mean you must sign in via Code Mate; the agent will not attempt it, and it never touches your credentials.
  • ✓Keep prompts for edits narrow, for example by naming the files. Then check the diff yourself, because the agent should not report success on the model's word alone.

Alternatives

  • diffs

    Pick it when you already have edits and want a clear, shareable view of exactly what changed, for example after an Antigravity run.

  • code-review

    Pick it when you want your own agent to review changes against your repo's standards instead of asking a second tool.

  • code-review

    Pick it when you need a step-by-step review of a pull request or local changes, especially in a Flutter-style workflow.

Questions and answers

Can I use Antigravity through this skill without signing in first?

No. Headless runs fail with an authentication error until you are signed in. The skill does not start a login flow. It stops and asks you to complete Antigravity setup in Code Mate, then you can retry.

How long can a task run?

The agent sets a time limit of normally 10 minutes. Antigravity's print mode also waits up to 5 minutes by default, and a shorter value can be set if your own limit is tighter.

Does it skip permission checks to finish faster?

No. The skill forbids the flag that auto-approves every tool request, including ones outside the project. Reading and writing inside the project are allowed by default, which is why you should limit edits and check the diff.

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.

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
#3373
License
AGPL-3.0
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills