From agy
Internal helper contract for calling the agy-companion runtime from Claude Code
How this skill is triggered — by the user, by Claude, or both
Slash command
/agy:agy-cli-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill only inside the `agy:agy-explorer` subagent or the `agy:*` commands.
Use this skill only inside the agy:agy-explorer subagent or the agy:* commands.
Primary helper:
node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" <mode> "<raw arguments>"Modes:
explore — read-only codebase exploration. The companion injects a read-only frame
and never grants write permission. This is the default for the subagent.ask — general one-shot prompt, forwarded as written. Read-only unless --write.setup — diagnose the local agy install (binary, version, model list).Execution rules:
agy strings, direct file reads, or grep.Flags recognized inside the raw argument string (everything else is the prompt):
--model "<name>" — EXPERIMENTAL. Pass a model to agy. On agy v1.0.6 the display
names from agy models were observed to hang in --print mode. Leave unset to use
agy's fast default (a Gemini Flash tier); that is the recommended path.--add-dir <path> — add a directory to agy's workspace (repeatable).--timeout <dur> — Go duration for the print timeout (e.g. 90s, 10m). Default 5m.--write — (ask mode only) allow writes via --dangerously-skip-permissions.How the helper maps to agy:
agy --print --print-timeout <dur> [--model <name>] [--add-dir <path>]... [--dangerously-skip-permissions].-- cannot be misparsed as a native agy flag.--print runs a single prompt non-interactively and prints the response (no TUI).agy (not antigravity). Override with the AGY_BIN env var.--foo--timeout
stays in the prompt. --flag=value and quoted values are accepted.Safety rules:
explore never enables writes. Only ask --write does, and only on explicit request.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub sergiogmr/agy-plugin-cc --plugin agy