explaingit

safemantella/claude-code-agy-cli-skill

0Audience · developerComplexity · 2/5ActiveSetup · easy

TLDR

Claude Code skill that teaches Claude when to delegate work to Google Antigravity CLI for web search, image generation, codebase mapping, and science databases.

Mindmap

mindmap
  root((agy-skill))
    Inputs
      User request
      agy binary path
    Outputs
      Delegated agy call
      Final answer to Claude
    Use Cases
      Web search with grounding
      Image generation
      Whole repo investigation
      Science database lookups
    Tech Stack
      Claude Code
      Antigravity CLI
      Markdown

Things people build with this

USE CASE 1

Let Claude Code call Google Search or image generation through agy

USE CASE 2

Delegate long codebase investigations to agy and act on the summary in Claude

USE CASE 3

Replace a broken gemini-cli skill with the agy equivalent

USE CASE 4

Run parallel research calls across PubMed, UniProt, and AlphaFold via agy

Tech stack

Claude CodeAntigravity CLIMarkdown

Getting it running

Difficulty · easy Time to first run · 30min

Requires the agy binary already installed and its full path pasted into SKILL.md.

In plain English

This repository is a plugin, called a skill, for Claude Code. Claude Code is Anthropic's command line coding assistant, and skills are folders that Claude Code loads at startup to learn new behaviors. The skill in this repo teaches Claude Code how to hand off certain tasks to another AI command line tool from Google called Antigravity CLI, whose binary is named agy. The motivation is that Claude Code and the agy tool have different strengths. Antigravity has access to features Claude Code does not, such as Google web search with grounding, image generation through a generate_image tool, a codebase investigator that maps a whole project in one pass, Chrome DevTools for browser debugging, and over forty scientific database integrations like gnomAD, UniProt, PubMed, AlphaFold, and ChEMBL. The skill lets Claude decide when a request would be better served by running agy and then reading just the final answer, instead of doing many tool calls itself. The README is pitched as a direct replacement for an earlier gemini-cli skill, since the Gemini CLI binary stops working on June 18, 2026. Installation puts the repo into ~/.claude/skills/antigravity-cli, which Claude Code reads automatically on startup. The user then needs to find the path to their installed agy binary and paste it into the SKILL.md file. To check the setup, the README suggests asking Claude something like researching recent Flask security advisories and watching Claude run agy in its tool calls. The skill folder contains several markdown files. SKILL.md holds the core triggers and command reference. templates.md provides twelve ready prompt templates. patterns.md describes eight orchestration patterns, including parallel delegation that runs multiple agy commands at once, conversational depth that keeps context across calls with the -c flag, and a research then decide then execute flow where agy gathers information and Claude acts on it. reference.md contains a comparison table of the two tools. There is also a rough rule of thumb for when delegation should happen. Tasks that take fewer than five tool calls stay in Claude, those between five and fifteen are candidates for delegation, and anything over fifteen is delegated. Tasks that need Google Search, image generation, or science databases are always delegated because Claude Code cannot do them at all. A .gemini/GEMINI.md file can be added to a project to give agy persistent context about the codebase.

Copy-paste prompts

Prompt 1
Install this skill into ~/.claude/skills/antigravity-cli and paste my agy binary path into SKILL.md
Prompt 2
Ask Claude to research recent Flask security advisories and confirm it calls agy with Google Search
Prompt 3
Add a project level .gemini/GEMINI.md that gives agy persistent context about my Rails app
Prompt 4
Use the parallel delegation pattern to run three agy queries on different gene symbols at once
Prompt 5
Tune the delegation rule of thumb in patterns.md so anything over ten tool calls goes to agy
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.