Skip to content
Back to skills

Agy Companion Reference

ASecurity

Shared reference for agy-companion subcommands and flags (models, doctor, task, review, handoff, --tier, --deep, usage, dry-run, quota). Used by both the Claude Code and Codex runtime skills.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentsgo

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Vit129/agent-bridge --skill agy-companion-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agy Companion Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agy Companion Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vit129-agy-companion-reference-agent-bridge/badge)](https://www.skillsdirectory.com/skills/vit129-agy-companion-reference-agent-bridge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agy-companion-reference
description: Shared reference for agy-companion subcommands and flags (models, doctor, task, review, handoff, --tier, --deep, usage, dry-run, quota). Used by both the Claude Code and Codex runtime skills.
user-invocable: false
---

# agy Companion Reference

The single source for what the companion accepts. Host-specific skills (`agy-cli-runtime` under `cc/skills/` for Claude Code, `codex/skills/` for Codex) say how to invoke it; this file says what it supports. Edit features here, not in the host skills.

## Subcommands and flags

Verified against `agy 1.5.16`. These hold on every host (Claude Code and Codex):

- `models [--json]` lists available agy models.
- `agents [--json]` lists available agy agents (raw `agy agents` passthrough).
- `doctor [--json]` verifies plugin manifest, host wiring, agy binary/auth, and model listing.
- `changelog [--json]` prints agy release notes (no agy task run, just `agy changelog`).
- `task` accepts `--model <name>`, `--effort <low|medium|high>`, `--conversation <id>`, `--project <id>` or `--new-project` (mutually exclusive), `--dangerously-skip-permissions`, repeatable `--add-dir <path>`, `--log-file <path>`, and `--print-timeout <duration>`.
- `route [--preferred <claude|agy>] [--model <name>] [--min-5h <n>] [--min-7d <n>] [--sessions <n> --cost <pct>] [--json]` reports the Auto-Route decision and, with `--sessions`, whether a job of that size fits each provider (`job.decision`: `stay`, `alternate`, `split`, `none`). The check compares the job's estimated usage against remaining quota in the 5h and 7d windows together.
- `plan [--from <agy|claude>] [--sessions <n>] [--cost <pct>] [--parts <n> | --tasks-file <json>] [--model <name>] [--prompt-file <path>] [--json] [prompt]` proposes a split plan for a job that `route` marked `split`, or for a task list. Tasks come from `--tasks-file` (a JSON array of `{text, sessions?, provider?, dependsOn?}`) or from one job spread over `--parts` tasks. It assigns tasks in order: each task spends quota for the tasks after it; an unpinned task prefers `--from` (default agy) and falls back to the other side; a task with `provider` set is pinned and never moved. It writes an editable proposal file under the shared Agent Usage state dir (`~/.local/state/agent-usage/plans/<workspace>/`, the same folder for both plugins), sends nothing and prints the file path.
- `task --split <plan-file> --confirm [--parallel <n>]` sends a confirmed proposal task by task to the provider each task names: agy tasks as tracked agy jobs, claude tasks through `claude -p` with edits allowed. Without `--confirm` it refuses and sends nothing. Before each task it re-checks that provider's quota with the load already running plus every earlier task, and stops (never moves a task) if it no longer fits; a failed task, or one whose `dependsOn` task did not complete, stops the run. `--parallel <n>` (1–8, default 1) starts tasks in plan order with up to n running at once; a task waits until its `dependsOn` tasks complete, and every started task counts against its provider before the next one is checked. Parallel tasks share the working tree, so give them `dependsOn` when they touch the same files. The agy-side plugin has the same commands as `plan` and `split <plan-file> --confirm [--parallel <n>]`.
- `review` and `adversarial-review` accept the same `--model`, `--effort`, `--project`/`--new-project`, `--dangerously-skip-permissions`, `--add-dir`, `--log-file`, and `--print-timeout` flags.
- `--tier <low|medium|high>` maps to `gemini-3.8-flash-low|medium|high` and cannot be combined with `--model`.
- `review` and `adversarial-review` accept `--deep`: agy also reads callers, surrounding code and tests of the changed symbols (read only).
- Replies longer than 12,000 characters are cut; the rendered output ends with a line naming the file that holds the full text.
- `handoff` accepts `--verify <cmd>`, `--tests <a,b>` (repeatable), `--fixups <n>` (default 1), `--requirement-file <path>`, `--model`/`--tier`, `--effort`, `--print-timeout` (default 60m), `--background`, `--dry-run`. Exit codes: 0 PASS, 4 FAIL, 5 AGY FAILED, 6 TEST FILES MODIFIED.
- `task`, `review`, `adversarial-review` and `handoff` call agy with `--output-format stream-json`; tool calls show up as job progress; the reply is unwrapped to plain text, token usage is stored on the job (shown by `status`) and appended to `usage.jsonl` in the state dir.
- `--model` is validated against a live `agy models` call before the run starts — an unrecognized name fails fast with the current model list instead of reaching agy.
- `--effort` is validated against the static `low|medium|high` enum agy itself defines — no CLI call needed for this one.
- `task`/`review`/`adversarial-review` accept `--dry-run`: prints the resolved options, the live `agy models` list (selected model marked), and current Antigravity quota (5-hour + weekly, Gemini and Claude/GPT pools) — then exits without calling agy. Use it to pick a model and confirm there's enough quota before committing to a real run.
- Quota comes from the separately-installed `codexbar` CLI (`codexbar usage --provider antigravity --json`), not from `agy` itself — `agy`'s own `/usage`/`/quota` are TUI-only and error under `--print`/non-interactive mode. If `codexbar` isn't installed, `--dry-run` shows an install hint instead of quota and everything else still works.

Treat these as routing flags. Strip them from natural-language prompt text before invoking the helper.

`--dangerously-skip-permissions` disables all agy tool-permission prompts for that run — only forward it when the user explicitly asked for it, never by default.

`/goal <...>` is not a CLI flag — it is a prompt-level directive agy's own agent parses out of the `--print` text. Passing a prompt that starts with `/goal` through `task` already works with no companion changes; it runs agy in autonomous goal mode (uncapped duration since agy 1.0.14) rather than a single turn.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.