agy-headless

agy-headless is a skill for Claude Code from laurigates/claude-plugins. It costs 49 tokens per session (1,636 once invoked), scanned A, original, MIT.

A bridge for running Google Antigravity CLI, a command-line tool, from a Claude Code session. It can send bounded tasks to that tool, read structured results, and inspect an interactive session hosted in tmux.

In plain words
What is it for?
Use it to hand off a limited task to Antigravity CLI, check its status, or read a live Antigravity session.
Why use it?
It provides a defined way to delegate work and retrieve results without mixing another tool’s conversation into the current one.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the agent-patterns-plugin plugin — 26 skills shipped together

Good fit Use it to hand off a limited task to Antigravity CLI, check its status, or read a live Antigravity session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/laurigates/claude-plugins/agy-headless
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add laurigates/claude-plugins --skill agy-headless
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code.

Or install agent-patterns-plugin, the plugin that ships this one along with the rest of its 26 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agy-headless

README.md
[![agentmods](https://agentmods.dev/badge/skills/laurigates/claude-plugins/agy-headless/github.svg)](https://agentmods.dev/skills/laurigates/claude-plugins/agy-headless)
Your own site
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/agy-headless"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/agy-headless/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agy-headless

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/agy-headless"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/agy-headless.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01636
Opus 5.5 $0.00020 $0.00654
Sonnet 5.5 $0.00010 $0.00327
Haiku 4.5 $0.00005 $0.00164

Measured 2d ago against content hash 347aab378340, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agy-headless scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/agy.sh, scripts/tests/test-agy.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-patterns-plugin/skills/agy-headless/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

agy-headless

Run Google Antigravity CLI (agy) as a delegate from a Claude Code session and read its result as data. Every call goes through ${CLAUDE_SKILL_DIR}/scripts/agy.sh, which pins the output format, maps agy's JSON to KEY=VALUE lines, refuses to write into a conversation another agy process has open, and can host an interactive agy in tmux for live use.

When to Use This Skill

Use this skill when... Use instead when...
Handing a bounded task to agy and reading back its answer Asking several models for a design opinion: agent-patterns-plugin:multi-model-delegation
Checking which agy conversation is live and what it last ran Running this marketplace's skills inside agy: the Antigravity export doc in this repo

Execution

Step 1: Check the environment

bash "${CLAUDE_SKILL_DIR}/scripts/agy.sh" status

AGY_VERSION= empty or STATUS=ERROR means agy or jq is not on PATH; stop and report. Each LIVE=<id> pid=<pid> cmd=<cmd> line is a conversation an interactive agy holds open.

Step 2: Run one headless turn

bash "${CLAUDE_SKILL_DIR}/scripts/agy.sh" run --dir <workdir> --timeout 600s -- "<prompt>"

Options: --model <id> (ids from agy models), --resume <conversation-id>, --schema '<json-schema>' for structured output, --out <file> to keep the raw JSON, --yolo for --dangerously-skip-permissions.

Read the result:

Line Meaning
STATUS=SUCCESS, exit 0 The text after --- is agy's answer
STATUS=ERROR, exit 1 REASON= holds agy's first error line; RAW= the full JSON
STATUS=REFUSED, exit 2 The wrapper declined (live conversation, bad usage); nothing ran

Keep CONVERSATION_ID= to continue the same thread with --resume.

Step 3: Look at an open session without touching it

bash "${CLAUDE_SKILL_DIR}/scripts/agy.sh" peek <conversation-id> 10

Prints the last N tool calls (CommandLine, toolSummary) the conversation made, read from its SQLite store with sqlite3 -readonly. The store holds protobuf blobs and has no published schema, so treat this as a best-effort view of agy 1.5.x, not an API.

Read the full file on GitHub · 134 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 134 lines · 49 tokens per session scan A 347aab378340

Subscribe to this mod's changes

agy-headless is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 1,636 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-30.

Related

agy-headless compared with skills from other repositories

agy-headless next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agy-headlesslaurigates/claude-pluginsSkill60yesterdayMITA49Claude Code
dev-environment-bootstrappingshopwareLabs/ai-coding-toolsSkill482d agoMITA144Claude Code
phpunit-integration-to-unit-migratingshopwareLabs/ai-coding-toolsSkill482d agoMITA152Claude Code
generate-tree-structurejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA30Claude Code
verify-with-inline-testsjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA27Claude Code
performancekrzysztofsurdy/code-virtuosoSkill261mo agoMITA35Claude Code
divide-worktomoking2004/claude-pluginsSkill32d agoMITA219Claude Code