/apogee:second-opinionfrom apogee
Get an independent second opinion from another AI model via the locally installed `agy` CLI (antigravity-cli; defaults to a Gemini Pro model, can route to Gemini/GPT/Claude). Use in Plan Mode for large or critical tasks, when stuck on a debugging dead end, when weighing architecture trade-offs, for subtle edge cases in code review, or whenever an independent perspective would add value. Also use whenever the user explicitly asks for a "second opinion", "ask agy", "another perspective", "cross-check this", or "вторая точка зрения", even if they don't name the tool.
Ships in apogee. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Get an independent second opinion from a different model family via the locally installed agy
CLI (antigravity-cli). A genuinely different architecture and training makes it useful for catching
blind spots, validating reasoning on edge cases, or surfacing trade-offs you might miss.
agy has full read access to the project: it can read files, grep code, and explore the codebase,
secret files included (see the secrets rule in Step 1). You provide the specific question and any
focused context; agy handles the rest.
Don't use this for routine tasks: every call takes 30-90 seconds and has capacity limits. Reserve it for decisions where being wrong has real consequences.
The model comes from the APOGEE_SECOND_OPINION_MODEL environment variable, falling back to
Gemini 4 Argon (Low), a fast Pro-tier model. Set the variable in ~/.claude/settings.json
(env) to repin without editing this skill; agy models lists what is installed. The model name
is a human-readable string with spaces and parentheses, not an API id, so it is always quoted. A
non-Claude model keeps the opinion independent from this Claude session.
Do not fall back to a smaller or weaker model when the pinned one is unavailable. Report unavailability and continue with Claude-only analysis.
agy has NO access to your conversation history, but it CAN read project files. Structure your
prompt as:
agy to weigh in onagy can challenge itFor questions about existing project code, you can simply reference file paths; agy will read
them itself. Write the prompt in English (the project's language split: everything sent to
external tools is English).
Secrets never go into the prompt. The security-scan hook sees only the agy command line,
prompt included, and refuses the call when it carries a live credential; replace it with a
placeholder before retrying. It does not see the files agy opens itself, so never point agy
at, or ask it to explore, .env* (except .env.example), *.pem/*.key, or credential and
config files holding live values; put a redacted excerpt in the prompt instead. In an
infrastructure repo whose ordinary files carry real hostnames, node lists or subscription URLs,
do the same for those files: excerpt them with placeholders rather than letting agy read them.
Permission-free invocation pattern. The command MUST start with agy (matches the
Bash(agy:*) allow rule) and MUST NOT use $() command substitution or /tmp/ file redirects;
both trigger permission prompts. Run it in the foreground: a backgrounded agy -p never
flushes its output.
Standard call (agy reads project files itself; preferred):
agy --model "${APOGEE_SECOND_OPINION_MODEL:-Gemini 4 Argon (Low)}" --mode plan -p '<your question here>' 2>&1 | grep -viE '^(Warning|Loading|Registering|Scheduling|Data collection|Flushing|\[dotenv|True color)'
With context in the prompt (for code snippets, diffs, or focused excerpts):
agy --model "${APOGEE_SECOND_OPINION_MODEL:-Gemini 4 Argon (Low)}" --mode plan -p '<your question here>
Context:
<relevant code, diff, or excerpt; write each single quote as '\''>' 2>&1 | grep -viE '^(Warning|Loading|Registering|Scheduling|Data collection|Flushing|\[dotenv|True color)'
agy -p does not read stdin: piped or heredoc input never reaches the model, which then answers
that no code was provided. Context goes inside the quoted prompt, or agy reads it from the
project files you name.
The Bash tool captures all output directly; no file redirects needed. The grep -viE filter drops
agy's startup noise.
Reading the answer. agy usually prints the answer to stdout. For a long answer it may instead
print a short summary plus a file:// link to a file like
~/.gemini/antigravity-cli/brain/<id>/<name>.md; that file holds the full response, so read it.
Required flags, no exceptions:
| Flag | Why |
|---|---|
--model "..." | Pro-tier model; quoted because the name has spaces and parentheses |
--mode plan | Read-only: agy reads and searches the project but cannot write files or run commands |
-p | Non-interactive headless mode |
--mode plan replaces --dangerously-skip-permissions. Without either flag agy -p hangs on a
tool-approval prompt nobody can answer headless; plan mode needs no approval for reading, and
auto-approving every tool is what Claude Code's auto-mode classifier blocks. Never add
--dangerously-skip-permissions back: a second opinion needs to read, not to act. Ask for
analysis, not actions: asked to change something, agy in plan mode writes an implementation
plan under ~/.gemini/antigravity-cli/brain/ and stops for approval instead.
DO NOT use:
$() command substitution (triggers a permission prompt)/tmp/ file redirects (triggers a permission prompt)run_in_background (agy -p never flushes its output when backgrounded)Set a 600-second timeout on the Bash tool call (agy may need time to read files and reason;
its own --print-timeout is 5m).
When the topic warrants debate (architecture, design reviews, trade-off analysis), run the full
multi-turn conversation autonomously; do NOT ask the user for permission between rounds. Push
back on agy's points, let it push back on yours, iterate until you reach consensus or clearly
identify the disagreements. Typically 2-4 rounds.
Continue the same conversation instead of starting fresh, in the foreground, prompt in English:
agy -c --model "${APOGEE_SECOND_OPINION_MODEL:-Gemini 4 Argon (Low)}" --mode plan -p '<your English follow-up>' 2>&1 | grep -viE '^(Warning|Loading|Registering|Scheduling|Data collection|Flushing|\[dotenv|True color)'
-c (--continue) resumes the most recent conversation. If other agy sessions may run
concurrently, capture the conversation id from the first call and resume that exact one instead:
agy --conversation <id> --model "${APOGEE_SECOND_OPINION_MODEL:-Gemini 4 Argon (Low)}" --mode plan -p '<your English follow-up>' 2>&1 | grep -viE '^(Warning|Loading|Registering|Scheduling|Data collection|Flushing|\[dotenv|True color)'
The required-flags table applies to every follow-up round too. Run rounds sequentially; never
launch parallel agy calls.
When to use multi-turn:
agy's answer is vague: ask it to be specific about the part that mattersWhen NOT to use multi-turn:
-c)If multi-turn: present a consolidated synthesis: the key agreements, remaining disagreements, and your joint recommendation. Don't dump each round's raw output; the user wants the conclusion, not the transcript.
If single-turn: present agy's response, then add your own brief synthesis: where you agree,
where you disagree, and what the user should take away from both perspectives. The value is in
the synthesis, not just the raw second opinion.
If agy is unavailable (hangs past the timeout, returns nothing, errors, or isn't installed):
report that plainly and continue with your own analysis. Do NOT silently fall back to a weaker
model; a weak second opinion isn't worth the false confidence it creates. You may retry once with
a faster Pro-tier model from agy models. Tell the user which path you took.
'\''. For
long prompts, put the context after the question inside the same quoted argument; never pipe
it, agy -p ignores stdin.agy (matches Bash(agy:*)), run in the foreground, with
--mode plan, never --dangerously-skip-permissions. Never wrap in $() or redirect to
/tmp/.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
20 skills in this plugin
/ai-clean-roomPersonal black-box clean-room skill: build an independent product that reproduces the functionality of a closed-source reference application using only its public documentation, observed behavior and screenshots, without copying its code, texts, icons, design or name. Manual invocation only (/apogee:ai-clean-room)./brOfficial skill for beads_rust (`br`), a local-first, dependency-aware issue tracker for AI agents. Use when creating issues, triaging backlogs, managing dependencies, finding ready work, updating status, or exporting the local JSONL backup (br sync --flush-only)./cleanupReclaim disk space that agent work leaves behind: linked git worktrees (of the repository and of every submodule), the stale records of worktrees deleted by hand, orphaned worktree directories, and the build directories (Rust target/, DerivedData) that make each copy 5–35 GB. Inventories first with a read-only script, deletes only what the user picks. Use when the disk fills up, when worktrees pile up after parallel agents, or when the user asks to clean up, tidy up or free space, in any language. Offered by the session-start reminder and by /apogee:finish./finishClose the unit of work /apogee:start opened, and the only way work is closed in an Apogee project. feature/bugfix: review, docs, public docs, clean tree, git-flow finish into develop, push develop. hotfix: review, then the release preparation (version, CHANGELOG, gate, notes) and the operator's commands. research: check the note is complete, mark it done, propose the follow-up. Detects the type from the current branch./git-commitThis skill should be used whenever creating a git commit or writing a commit message — when the user asks to "commit", "create a commit", "git commit", "write a commit message", "commit my changes", or "conventional commit". Generates a Conventional Commits message from the staged diff (falling back to all changes), validates it against strict rules, and creates the commit. Commit messages are always written in English. Applies only inside a git repository./git-flowDrive the installed git flow binary (AVH Edition) for Git Flow branching: init a repo, start/finish/publish feature and bugfix branches, cut and finish a release with tag and back-merge, ship a hotfix, or open a support branch. Use when asked to run git flow, start or finish a feature/release/hotfix, cut a release, tag a version, or initialize Git Flow. Applies only inside a git repository.npx claudepluginhub mishagin-dev/apogee --plugin apogee