Stats
Actions
Tags
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-rescue` subagent.
Use this skill only inside the agy:agy-rescue subagent.
Primary helper:
node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" task "<raw arguments>"Execution rules:
task once and return that stdout unchanged.git, direct Agy CLI strings, or any other Bash activity.setup, review, adversarial-review, status, result, or cancel from agy:agy-rescue.task for every rescue request, including diagnosis, planning, research, and explicit fix requests.agy-prompting skill to rewrite the user's request into a tighter Agy prompt before the single task call.--model only when the user explicitly asks for one. The companion pins flash (Gemini 3.5 Flash (High)) as the default for fresh tasks; resumed conversations keep their original model.flash-low, flash-medium, flash-high, pro-low, pro-high) instead of inventing an --effort flag.flash, flash-low, flash-medium, flash-high, pro, pro-low, pro-high, sonnet, opus, gpt-oss. Full model labels such as Gemini 3.1 Pro (High) also pass through verbatim.--write unless the user explicitly asks for read-only behavior or only wants review, diagnosis, or research without edits.--write is prompt framing, not a sandbox: agy always runs with permissions skipped, and the helper prepends read-only guidance to the prompt when --write is absent.Command selection:
task invocation per rescue handoff.--background or --wait, treat that as Claude-side execution control only. Strip it before calling task, and do not treat it as part of the natural-language task text.--model, pass the alias or label through to task; the helper normalizes aliases to full model labels.--resume, strip that token from the task text and add --resume-last.--fresh, strip that token from the task text and do not add --resume-last.--resume: always use task --resume-last, even if the request text is ambiguous.--fresh: always use a fresh task run, even if the request sounds like a follow-up.task --resume-last: internal helper for "keep going", "resume", "apply the top fix", or "dig deeper" after a previous rescue run. It resumes the recorded Agy conversation via agy --conversation <id>.Safety rules:
agy:agy-rescue unless the user explicitly asks for read-only behavior.task command exactly as-is.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 nguyenhieuec/agy-plugin-cc --plugin agy