agentleFS
jalejandrov93jalejandrov93/agent-hub/skills/agy-delegate/SKILL.md

agy-delegate

Skill1 starsChanged 6 days agoMITView on GitHub

Pointer to the agent-hub MCP delegation flow for Antigravity (`agy`) tasks — recon, symbol inventories, call-chain tracing, summarizing huge artifacts, second opinions, adversarial review via Claude Sonnet/Opus hosted inside Antigravity. Trigger: "agy", "antigravity", "gemini flash", "delegate this", "save tokens", "use my antigravity quota", "don't burn Claude", "cheap model", "second opinion".

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. amElnagdy/delegate-skills★ 2.6ksame name
    2. antorsae/dual-agent★ 18same name
    3. fritzprix/libr-agent★ 12same name
    4. HungNth/agent-skills★ 0same name
    5. lnopy96/claude-skills★ 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.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 0

    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
  1. Very specific:

    Prefer delegate({agent:'agy', model, task, cwd, mode, ...}) through the agent-hub MCP server.

    line 17
  2. Very specific:

    If agent-hub is not registered in this session, use the wrapper script directly:

    line 51
  3. Very specific:

    Never call agy directly — the wrapper's output contract is the difference between 108s/~27k tokens and 4s/233 tokens.

    line 66

“Common” is measured: kept by at least 6 in 10 of the 5 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Use agent-hub, not this skill directly

Prefer delegate({agent:'agy', model, task, cwd, mode, ...}) through the agent-hub MCP server. Read ~/.claude/skills/multi-agent-orchestrator/SKILL.md for the full loop (agents_status → route → delegate → job_wait/job_status → job_result → synthesize), the break-even rule, and the delegation map. Agy-specific models, health signals, measured latencies, and gotchas (silent CANCELED, --json-schema unreliability, GEMINI.md not auto-loaded, --add-dir requirement for hosted Claude models) live in ~/.claude/skills/multi-agent-orchestrator/references/agents/agy.md — that file is now canonical; this skill only points to it.

Read mode is not enforced by agy. Verified: agy --mode plan writes files with or without --dangerously-skip-permissions, so a plan turn can still edit its cwd. agent-hub handles it for you: an agy read job runs in a hub-managed scratch copy of your tree (a private shared clone under AGENT_HUB_HOME/scratch/ with your uncommitted and untracked files, removed when the job ends), so pass your own checkout as cwd and create no worktree yourself. Anything agy wrote in the copy is discarded: changed files are listed in isolation.discardedPaths, and git commits, branches or config it made there never reach your repository. The one write the copy cannot stop is to an absolute path in your tree: it shows up as readGuard.level:'warn', so avoid absolute paths of your checkout in the task text. Fan several agy reads out in parallel the same way (see the orchestrator skill's "Parallel reads"). isolation:'in-place' opts back into running in your tree with the strict guard (errorKind:'read_mode_violation' on any change). (opencode's plan agent did respect read mode in testing.)

Never ask agy to run tests/builds/dev servers itself. Its CLI auto-detaches a slow run_command into a background task and its own idle-exit kills it while still reporting SUCCESS — the work is silently lost. Through the MCP path, agent-hub already prepends a fixed guard to every agy prompt saying so (write code and an unexecuted RED test only); pass your verification commands as verify on delegate/dispatch instead and let the hub run them in the foreground once the job succeeds — see ~/.claude/skills/multi-agent-orchestrator/SKILL.md's "Verification" section and this repo's docs/verification.md. The agy-run.sh no-MCP fallback below calls agy directly and does not get that guard — restate the same instruction in --task yourself when using it.

No-MCP fallback

If agent-hub is not registered in this session, use the wrapper script directly:

~/.claude/skills/agy-delegate/scripts/agy-run.sh \
  --task "<question>" [--model low|medium|high|pro|sonnet|opus|oss] \
  [--max-lines N] [--timeout S] [--write] [--raw] [--cwd DIR]

Aliases resolve to gemini-4-hydrogen-{low,medium,high}, gemini-3.1-pro-high (pro), claude-sonnet-4-6 (sonnet), claude-opus-4-6-thinking (opus), gpt-oss-120b-medium (oss) — check them against your own agy models output, since agy's catalog moves over time. It writes the full response to the scratchpad and prints only a header (model · seconds · tokens · lines · mode), the file path, and the first --max-lines lines; injects <cwd>/GEMINI.md (if <8KB) as project rules since agy -p does not auto-load it; and always passes --dangerously-skip-permissions + --add-dir (required for the hosted Claude models). Never call agy directly — the wrapper's output contract is the difference between 108s/~27k tokens and 4s/233 tokens.

Author's setup (verified 2026-09-11 against agy 1.2.1's agy models output): the aliases above matched these exact ids.

Resources

  • Canonical agy reference (models, health, gotchas): ~/.claude/skills/multi-agent-orchestrator/references/agents/agy.md
  • Routing detail and anti-patterns: references/routing.md
  • Wrapper: scripts/agy-run.sh

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.