agy

agy is a skill for Codex from phuongduyphan/cc-tmux-agents. It costs 42 tokens per session (1,423 once invoked), scanned A, original, MIT.

A delegate that starts an Antigravity CLI coding session inside a detached tmux terminal session. Tmux is a tool that keeps terminal programs running independently of the current window.

In plain words
What is it for?
Use it to start a separate Antigravity session, send follow-up instructions, inspect its latest output, wait for it to finish, or interrupt it.
Why use it?
It lets another coding agent work on a task while you remain in control of checking its progress, sending guidance, or stopping it.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it to start a separate Antigravity session, send follow-up instructions, inspect its latest output, wait for it to finish, or interrupt it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuongduyphan/cc-tmux-agents/agy
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 phuongduyphan/cc-tmux-agents --skill agy
Clone the repo
git clone --depth 1 https://github.com/phuongduyphan/cc-tmux-agents

Made for: Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/agy/github.svg)](https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/agy)
Your own site
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/agy"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/agy/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuongduyphan/cc-tmux-agents/agy"><img src="https://agentmods.dev/badge/skills/phuongduyphan/cc-tmux-agents/agy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,423 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.00042 $0.01423
Opus 5 $0.00021 $0.00711
Sonnet 5 $0.00008 $0.00285
Haiku 4.5 $0.00004 $0.00142

Measured 11d ago against content hash d7f939fd4f7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agy 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 11d ago.

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.

agents-skills/agy/SKILL.md · 80 lines

How it starts

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

$agy — delegate to agy (Antigravity CLI)

Spawns the agy CLI in a detached tmux session so Codex can offload work to it. The user stays in the loop: they ask Codex when to check progress, what guidance to send, and when to stop.

Primitive

All operations go through a single dispatcher:

~/.agents/skills/agy/bin/agy-agent [--session <name>] <verb> [args]

Verbs:

  • start [task...] — create session (default codex-agy), launch agy --dangerously-skip-permissions, type the task and press Enter. Returns immediately (non-blocking).
  • send <message> — type message + Enter. For follow-up guidance. Does not interrupt current generation; agy queues the input.
  • keys <name> — send a raw tmux key (Escape, C-c, Enter, etc.). Used for interrupts.
  • capture [lines] — print last N ANSI-stripped rendered lines (default 500). Read-only, non-destructive.
  • wait [stable] [timeout]block until the agent goes idle, then exit. Run it in the foreground to block until the sub-agent finishes (the mode for Codex and other CLI orchestrators; see "Wait for completion" below). stable = secs the working indicator must stay gone before declaring idle (default 6); timeout = overall cap in secs (default 1800).
  • stop/quit then kill-session. Destroys the tmux session.
  • list — list active codex-agy* sessions.

How to respond to the user

User says Do
$agy <task> / "delegate to agy" start <task>, then run wait in the foreground (blocks this turn until agy is idle); on return, capture + report.
$agy <task> + "tell me when it's done" / "notify me" Same as $agy <task>; foreground wait is already the default.
"check agy" / "progress" / "what's agy doing" / "ask agy for progress" capture. Show the relevant tail, add a one-line diagnosis (running / idle / error / prompt). Do not send ESC.
"interrupt agy" / "esc agy" keys Escapecapture.
"tell agy: X" / "send agy: X" send X.
"kill agy" / "stop agy" stop.

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file 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. 11d ago First seen · 80 lines · 42 tokens per session scan A d7f939fd4f7c

Subscribe to this mod's changes

agy is a skill published in the GitHub repository phuongduyphan/cc-tmux-agents (8 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,423 once invoked, about $0.0002 per session on Opus 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-08-31.