Claude Code slash command
Claude Code Ask Gemini
A Claude Code slash command that delegates prompts to Google Gemini — ideal for non-English copywriting where Gemini's tokenizer outperforms Claude's.
Install
brew install gemini-cli # or: npm i -g @google/gemini-cliFound in the project README. Check it for setup steps after installing.
git clone https://github.com/onatvural/claude-code-ask-gemini.gitFrom the README
claude-code-ask-gemini A Claude Code slash command that delegates a prompt to Google's Gemini 3 Flash Preview via the gemini CLI and returns the answer inline. 🇹🇷 Türkçe açıklama aşağıda. Why? Claude is excellent at reasoning, code, and English copywriting — but its tokenizer is heavily English-biased. For non-English copywriting (especially Turkish and other morphologically rich languages), Gemini tends to produce more natural, idiomatic, context-aware text. Instead of switching tools, this command lets you stay inside Claude Code and call out to Gemini whenever you want a second opinion or a better-localized text. Typical use cases: - Turkish (or other non-English) copywriting, marketing text, social posts - Localization that needs cultural nuance, not literal translation - Long-form content where Gemini's prose feels more natural in your target language - Quick "second opinion" on phrasing without leaving your editor Requirements - Claude Code installed - Gemini CLI installed and authenticated - Access to the gemini-3-flash-preview model (edit the command file to use a different model if needed) Installation Or just copy the single file: Restart Claude Code (or open a new session) — the command becomes available immediately. Usage Example: Claude Code will run the underlying shell command and stream Gemini's answer back into the conversation. How it works The command file (commands/ask_gemini.md) instructs Claude Code to execute: - $ARGUMENTS — everything you typed after /ask_gemini - printf '%s' — passes the prompt safely via stdin (no shell quoting / injection issues) - -p "" — non-interactive mode; the actual prompt is read from stdin - -m gemini-3-flash-preview — model selection (change this to use a different Gemini model) - --yolo —…
How custom slash commands work
- A slash command is a Markdown file. Put it in ~/.claude/commands (for you) or .claude/commands (for a project), and it becomes /file-name inside Claude Code. Claude Code now treats commands and skills the same way, so .claude/skills/name/SKILL.md also works.
- Arguments you type after the command are passed in as $ARGUMENTS.
- If the repo is a plugin marketplace, installing it from /plugin adds the commands for you.
Details
- Repository
- onatvural/claude-code-ask-gemini
- Type
- Slash commands
- License
- MIT
- Last updated
- 6 May 2026
FAQ
What is Claude Code Ask Gemini?
A Claude Code slash command that delegates prompts to Google Gemini — ideal for non-English copywriting where Gemini's tokenizer outperforms Claude's. It is a slash command for Claude Code, from onatvural/claude-code-ask-gemini on GitHub.
How do I install Claude Code Ask Gemini?
Run brew install gemini-cli # or: npm i -g @google/gemini-cli, then follow the setup in the README.
Is Claude Code Ask Gemini popular?
onatvural/claude-code-ask-gemini has 33 GitHub stars and 0 forks. It was last updated on 6 May 2026.
More slash commands
Platinum Seo Engine
27popiliadam/platinum-seo-engine
Schema-locked, drift-checked SEO automation as a Claude Code plugin — 49 skills, 29 slash commands, auditable agent workflows (GSC, DataForSEO, Screaming Frog, Scrapling)
Saas Tmplt
32ulfaslak/saas_tmplt
SaaS template for Claude Code agents — SvelteKit + Postgres + Drizzle skeleton with auth, multi-tenancy, and production deploy. Bundles the agent workflow (CLAUDE.md, DNA, slash commands) that drives end-to-end feature development.
Claude Security Audit
25afiqiqmal/claude-security-audit
Claude Code slash command for white-box security auditing with OWASP Top 10:2025 and NIST CSF 2.0 mapping
Articlefeed
27Okayamasenko/articlefeed
Academic paper reading system for Claude Code — find papers via Semantic Scholar, read with structured notes, discuss & track progress. 7 slash commands.
Proofread Stat Paper
36maweiruc/proofread-stat-paper
Claude Code slash commands for proofreading LaTeX statistics papers — grammar review (phrasing, spelling, punctuation) and technical review (assumptions, logic, notation).
Openclaw Memorybox
10Ramsbaby/openclaw-memorybox
Install once, forget about memory management. Zero-dependency maintenance CLI for OpenClaw agents. Works alongside Mem0, Supermemory, QMD.
Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.