Claude Code skills for consulting other AI CLIs. Get a second opinion from Gemini or Codex without leaving your workflow.
| Skill | Description |
|---|---|
/gemini |
Query Google Gemini CLI for a second opinion |
/codex |
Query OpenAI Codex CLI for a second opinion |
/second-opinion |
Query both AIs with the same question and compare perspectives |
Install the CLIs you want to use:
npm install -g @anthropic-ai/claude-code # if you don't have it already
npm install -g @anthropic-ai/gemini-cli # for /gemini and /second-opinion
npm install -g @openai/codex # for /codex and /second-opinionAuthenticate each CLI before first use (gemini and codex will prompt you).
Copy the skills into your Claude Code skills directory — either globally or per-project:
# Global (available in all projects)
cp -r skills/* ~/.claude/skills/
# Per-project (version-controlled with your repo)
cp -r skills/* your-project/.claude/skills/Add these to your ~/.claude/settings.json to avoid approval prompts:
{
"permissions": {
"allow": [
"Bash(gemini:*)",
"Bash(codex:*)"
]
}
}# Quick Gemini consultation
/gemini What's the best way to handle optimistic updates in React Query?
# Quick Codex consultation
/codex Suggest alternative approaches for this caching strategy
# Get both perspectives with file context
/second-opinion Is this auth flow secure? server/auth.tsEach skill reads the CLI's config file for the current model:
- Gemini:
~/.gemini/settings.json - Codex:
~/.codex/config.toml
If no model is configured, the skill asks which frontier model to use. Your choice is reused for the rest of the session.
MIT