agy
Skill2 starsChanged 2 months agoMITView on GitHub
Delegate coding work to the Antigravity `agy` CLI agent (Google Antigravity, non-interactive print mode). Use this whenever the user says "agy", "antigravity", "antigravity se karwa", "spawn antigravity", "delegate to antigravity", asks you to "make antigravity build/fix/scaffold X", wants to change the antigravity model, or wants a large build/scaffold/refactor task offloaded to another coding agent while you orchestrate. Also use it to generate raster images — icons, illustrations, hero images, placeholder art, "image bana do", "generate an image/logo/icon" — since agy has a built-in image generation tool and you do not. Also use it when the user has previously said coding should go through antigravity and a new implementation task comes up.
- Reads credentials
10 other projects use a version of this.
Adopted by
Most recently taken up by
- luongtrz/agyrtheir own version, first seen Nov 22, 2026
- keli-wen/cospantheir own version, first seen Nov 22, 2026
- RohiRIK/skillstheir own version, first seen Nov 15, 2026
- d4rkwinz/agy-plugintheir own version, first seen Nov 8, 2026
- mustafarslan/skillstheir own version, first seen Nov 1, 2026
- darshitpp/x-agenttheir own version, first seen Oct 13, 2026
Used with
Projects with it also use opencode.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pepebot-spaceSkillopencode
Interact with OpenCode using the `opencode` CLI. Use `opencode run`, `opencode agent`, `opencode mcp`, and `opencode models` to execute automation workflows, manage agents, configure tools, and run headless coding tasks.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- keli-wen/cospan★ 85same name
- phuongduyphan/cc-tmux-agents★ 8same name
- luongtrz/agyr★ 3same name
- darshitpp/x-agent★ 2same name
- mustafarslan/skills★ 2same name
- ssv445/claude-skills★ 2same name
- d4rkwinz/agy-plugin★ 1same name
- dT-Tb-labs/babel-orchestration★ 1same name
- RohiRIK/skills★ 1same name
- laurentvv/agents-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
3
Distinctive
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
- Very specific: line 43
Do NOT pass --effort with Claude models — --effort is not supported for model "claude-opus-4-6-thinking".
- Distinctive: line 57
If a run dies with a quota/rate error, switch model rather than retrying the same one.
- Very specific: line 75
Keep decisions *made*, not open — agy can't ask you questions in print mode, it will guess.
- Very specific: line 76
Put the file in the project (e.g.
- Distinctive: line 103
If agy's quota dies mid-task, finish the remaining items yourself — don't leave the user with a half-built tree.
- Distinctive: line 125
Look at the result before using it: Read the PNG yourself. Image models misspell lettering and ignore negative instructions, so check the …
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
agy — delegating coding tasks to Antigravity
agy is the Antigravity CLI. In print mode (-p) it runs one autonomous coding turn in
a workspace and exits. You stay the orchestrator: you write the spec, spawn agy, verify
its output (build/tests/diff), and fix or re-prompt. agy does the bulk of the typing.
The command
agy -p "$(cat "<task-file>")" \
--model gemini-3.8-flash-high \
--dangerously-skip-permissions \
--print-timeout 50m \
--add-dir "<absolute-project-dir>"Or use the bundled runner, which does the same thing with less quoting risk:
bash ~/.claude/skills/agy/scripts/run_agy.sh <task-file> <project-dir> [model] [timeout]Why each flag matters:
-p/--print— non-interactive; without it agy opens a TUI and hangs your shell.$(cat task-file)— put the prompt in a file, never inline. Multi-line prompts with backticks,$, quotes or heredocs break bash quoting (unexpected EOF) and PowerShell mangles them worse. Write the file with the Write tool, thencatit.--model— pick explicitly (see below). Ask the user only if they haven't stated a preference in this session; otherwise reuse the last one they named.--dangerously-skip-permissions— agy auto-approves its own tool calls. Without it the run blocks on prompts nobody can answer. Confirm with the user the first time in a session; after that it's implied.--print-timeout 50m— default0waits forever; a stuck run would block you. 50m covers a full scaffold. Use the Bashtimeoutparam (max 600000 ms) withrun_in_background: truefor anything over a few minutes so you aren't blocked.--add-dir— agy's workspace root. It creates files relative to this dir, so point it at the exact folder you want output in (see "Where files land").- Do NOT pass
--effortwith Claude models —--effort is not supported for model "claude-opus-4-6-thinking". Gemini models encode effort in the model id (-high/-medium/-low) instead.
Models
agy models lists what's available. Known ids (Sept 2026):
| id | use for |
gemini-3.8-flash-high | default for builds/scaffolds — fast, generous quota |
gemini-3.1-pro-high | harder reasoning, slower |
claude-opus-4-6-thinking, claude-sonnet-4-6 | strongest, but quota is small and runs out mid-task; no --effort |
gpt-oss-120b-medium | cheap small edits |
If a run dies with a quota/rate error, switch model rather than retrying the same one. If the user says "model change karde X pe", use X for every subsequent run in the session.
Writing the task file
agy starts cold — it has none of your conversation context. The task file is its entire brief, so write it like a handoff to a competent contractor who has never seen the repo:
- Where — absolute working dir on the first line (
You are working in C:/…/project). - Read first — exact paths of spec, existing code and conventions it must match.
- Deliver — numbered list of files/features with concrete acceptance criteria
(
npm run buildandnpm testmust pass; function signatures stay identical; etc.). - Don't — what is not its job (e.g. "do not connect to any database, the orchestrator applies SQL via MCP"; "do not install X"). agy will otherwise wander into it.
- Finish — "End with a concise summary: files written, build/test results, anything you were unsure about." That summary is what comes back on stdout; it's your only view into what happened besides the diff.
Keep decisions made, not open — agy can't ask you questions in print mode, it will guess.
Put the file in the project (e.g. <area>/AGY_TASK.md) if the user may want to see/reuse it,
otherwise in the scratchpad.
See references/task-template.md for a fill-in template.
Where files land (Windows gotchas)
- agy scaffolds inside
--add-dir. If you wantproject/app/and pass--add-dir project, you may getproject/app/or agy may pick a name; check withlsandmvafter. - Moving the output folder can fail with
Device or resource busywhen your shell's cwd is inside it (or a dev server/agy is still running).cdout (or runmvwith absolute paths from another dir) and retry. - Paths in the task file: use forward slashes (
C:/Users/…) — both agy and Git Bash accept them.
After the run — always verify
agy reports success optimistically. Before telling the user it's done:
git status --short # what it actually touched
npm run build && npm test # or the project's equivalentTypical leftovers to fix yourself (faster than a re-prompt): unused imports (TS6133),
stubbed helpers left as TODO, .env committed, wrong folder. Re-prompt agy (new task file,
same command, or agy -c -p "…" to continue the last conversation) only for substantial gaps.
If agy's quota dies mid-task, finish the remaining items yourself — don't leave the user with a half-built tree.
Generating images
agy has a built-in generate_image tool; you don't. When a task needs a real raster image
(app icon, illustration, hero image, placeholder art), send just that image to agy
instead of drawing it with SVG or canvas code.
bash ~/.claude/skills/agy/scripts/gen_image_agy.sh <prompt-file> <out-dir>/<name>.png [model] [timeout]- The prompt file describes only the picture: subject, style, composition, colours,
what to leave empty, and "no text" unless you want lettering. The script adds the
instructions agy needs: use
generate_image, don't draw it with code, save under exactly this name, touch nothing else. - It runs agy inside the output folder, because agy saves relative to its workspace. It refuses to overwrite an existing file.
- It checks the file, not the summary. It exits
2if nothing was saved and3if the file isn't a PNG/JPEG/WebP (usually agy fell back to writing an SVG). On a non-zero exit, re-run once. Don't paper over it. - Look at the result before using it. Read the PNG yourself. Image models misspell lettering and ignore negative instructions, so check the details the task depends on.
- Output is 1024×1024 PNG by default, around 800 KB. Resize or compress for the web yourself; don't ship it raw as a favicon.
- One image per run. For a set (e.g. five feature illustrations), launch one run per image
with
run_in_background: truerather than asking one run for all five, so one failure doesn't cost the whole set. - Tested with
gemini-3.8-flash-high. Keep the default model unless it refuses or fails.
Inside a larger build task, you can also just write "generate public/hero.png with your
image generation tool — do not draw it with code" in the task file. Afterwards, check it's
a real image the same way (file public/hero.png).
Interactive / other modes
agy -i "<prompt>"starts interactive with a first prompt — only if the user wants to drive agy themselves; tell them to run it via! agy -i ….agy -c -p "…"continues the most recent agy conversation (keeps its context).agy --mode plan -p "…"for a plan-only pass when the task is fuzzy.--output-format jsonif you need to parse the result programmatically.
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
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.

