--- name: ask description: Ask Google's Antigravity CLI (agy staffer, fast Gemini) a cheap one-shot question - the fast zero-tool mode and the post-install smoke test. Use when the user says /agy:ask, "ask agy", "quick second opinion from agy", or right after installing to verify the plugin works. argument-hint: '[--continue] [--model |--effort low|medium|high] [--timeout ] "question"' allowed-tools: Bash(node:*) --- # agy ask The quick mode: one question in, one answer out, ~3 seconds on the default `gemini-3.8-flash-low`. Zero tools by design (restricted profile, question-only prompt), so it needs no setup and works on a fresh install — run it first as the smoke test: `ask --prompt "reply with OK"`. ask is the only persona that runs in the foreground: the call blocks and the answer comes back on stdout. staffer, researcher, reviewer, and implementer instead return a background job id (see the jobs skill, `../jobs/SKILL.md`). ## Locating the companion This skill file lives at `/skills/ask/SKILL.md`; resolve the companion path relative to this skill directory: ```bash node "/../../companion/agy-companion.mjs" ask [flags] --prompt "question" ``` Pass the user's question verbatim via `--prompt`; use `--prompt-file ` or `--stdin` for a long question. > [!IMPORTANT] > Run this command **unsandboxed** — agy needs a localhost port and its OAuth token file, which harness sandboxes hide. In Codex, request escalated permissions for the command. Details: `../jobs/references/troubleshooting.md`. ## Flags (all optional) - `--prompt ` / `--prompt-file ` / `--stdin` — the question, from exactly one of these three sources. Use file/stdin for a long question. - `--continue` — reuse the last ask conversation; `--conversation ` targets a specific one. - `--model ` or `--effort low|medium|high` — default model is `gemini-3.8-flash-low`. - `--timeout ` — default 2m. ask is always restricted (it is tool-free, so there is nothing to unrestrict); `--unrestricted` is ignored with a note on stderr. That is fixed for ask alone — the tool-using personas default to unrestricted, where `--restricted` is an opt-in hardening flag. Execution style is likewise fixed per mode and no flag changes it. ## Rules - Pass the user's question through verbatim and return the answer verbatim. The `[agy-staff]` telemetry line arrives on stderr and is metadata for you, the calling agent — do not show it to the user; mention the follow-up ability in natural language when relevant, and give model/duration/token numbers only if asked. - If the answer says "not sure", relay it as-is; do not silently substitute your own answer. - Exit 5 means a resumable response timeout: explain it and ask whether the user wants to continue with the suggested timeout or stop. Continue only after explicit user confirmation, using the recorded conversation and configuration. For other companion errors, quote the error and add a concise diagnosis. Full failure protocol: `../jobs/SKILL.md`.