plugins/hypercore/skills/gemini/SKILL.md
[Hyper] Use when the user wants to invoke Google Gemini CLI (`gemini`) for reasoning, research, or AI assistance. Trigger phrases: "use gemini", "ask gemini", "run gemini", "call gemini", "gemini cli", "Google AI", "Gemini reasoning", or when users request Google's Gemini models, research with web search, plan-mode review, or want to resume a previous Gemini session. Do not use for generic writing, runbook cleanup, or local edits that do not require the Gemini CLI.
npx skillsauth add alpoxdev/hypercore geminiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@rules/routing.md
<output_language>
Default all user-facing deliverables, saved artifacts, reports, plans, generated docs, summaries, handoff notes, commit/message drafts, and validation notes to Korean, even when this canonical skill file is written in English.
Preserve source code identifiers, CLI commands, file paths, schema keys, JSON/YAML field names, API names, package names, proper nouns, and quoted source excerpts in their required or original language.
Use a different language only when the user explicitly requests it, an existing target artifact must stay in another language for consistency, or a machine-readable contract requires exact English tokens. If a localized template or reference exists (for example *.ko.md or *.ko.json), prefer it for user-facing artifacts.
</output_language>
Wrap the official Google Gemini CLI for reasoning, research, plan-mode review, and session continuation. The CLI must be invoked headlessly with -p / --prompt — positional prompts open the interactive REPL.
| Parameter | Default |
|-----------|---------|
| Model selection | Use the Gemini CLI default (-m auto) unless the user explicitly asks for -m pro, -m flash, -m flash-lite, or a specific id |
| Approval mode | --approval-mode default (prompts on every tool call) |
| Headless mode | -p / --prompt |
| Resume target | gemini --resume latest (or gemini -r for the most recent) |
| Output format | text (use --output-format json only when the caller needs structured output) |
Do NOT specify -m unless the user explicitly requested a model. Auto routing picks Pro for reasoning and Flash for execution.
Use this skill only when the request actually needs the Gemini CLI or a Gemini session.
Always use -p / --prompt for non-interactive Gemini runs. A positional prompt drops into the interactive REPL and blocks automation.
# Correct — non-interactive
gemini --approval-mode default -p "your prompt here"
# Interactive (do not use for automation)
gemini "your prompt here"
If you need to seed the prompt and then keep talking interactively, use -i / --prompt-interactive instead. -p is for one-shot, automated runs.
Read references/recipes.md for concrete command recipes before changing approval modes, adding sandboxing, picking a model, or resuming a session.
| Flag | When to use |
|------|-------------|
| --approval-mode default | General research, reasoning, and standard Gemini usage |
| --approval-mode auto_edit | Only when the user explicitly asks Gemini to edit files |
| --approval-mode plan | Read-only planning or analysis with no code modifications (write is restricted to Markdown in the plans directory) |
| --approval-mode yolo | Only after the user explicitly approves a full-auto run. Prefer this spelling — the bare --yolo flag is deprecated. |
gemini --approval-mode default -p "your prompt here".-m <pro|flash|flash-lite|auto|model-id> only when the user explicitly asks for a specific Gemini model.--approval-mode auto_edit for normal edits instead of full auto-approve.--approval-mode yolo. Prefer --approval-mode auto_edit or --sandbox first.--sandbox (-s) when the task is higher-risk or you want tighter local constraints.--include-directories /path/a,/path/b when Gemini needs context outside the current folder.--output-format json only when the caller will parse the response programmatically.gemini --resume latest -p "your follow-up prompt"
gemini --list-sessions
gemini --delete-session 2
--resume accepts latest, an index from --list-sessions, or a full session UUID. Inside an interactive session, use /resume to open the Session Browser and /rewind to step backward.
When resuming, keep the existing session behavior and do not change model or approval mode unless the user asks.
gemini --resume latest (or gemini -r).Treat Gemini as a colleague, not an authority.
Before building any command, verify the CLI is installed and on PATH:
command -v gemini >/dev/null 2>&1 || { echo "gemini CLI not found"; exit 1; }
If the check fails, route to the install handler in Error Handling below instead of constructing a gemini ... command.
command not found: gemini: tell the user to install with npm install -g @google/gemini-cli (or brew install gemini-cli).gemini and complete the sign-in flow, or set GEMINI_API_KEY. For Vertex AI, set GOOGLE_API_KEY and GOOGLE_GENAI_USE_VERTEXAI=true.-m, or pick pro/flash/flash-lite from gemini --help and the official docs.gemini --list-sessions.42 means input error (bad flag/prompt); 53 means turn limit exceeded.--yolo is deprecated; the canonical form is --approval-mode yolo.--approval-mode plan or /plan in-session.-p is supplied.development
[Hyper] Use when working on Vite + TanStack Router projects - enforces architecture rules (layers, routes, hooks, services, conventions) with mandatory validation before any code change. Triggers on file creation, route work, hook patterns, or any structural change in a Vite + TanStack Router codebase.
development
[Hyper] Update semantic versions across node/rust/python projects, keep discovered version files synchronized, and prefer the installed `git-commit` skill for the final git step with a direct fallback when it is unavailable.
development
[Hyper] Use when working on TanStack Start projects and the task involves auth, sessions, cookies, CSRF, secrets, env exposure, server functions/routes, headers/CSP, webhooks, or security review/fixes. Triggers on protecting routes, hardening auth flows, preventing secret leaks, securing server boundaries, or reviewing HTTP/security behavior in a TanStack Start app.
tools
[Hyper] Enforce TanStack Start architecture in existing Start projects, especially project/folder structure, route structure, nested shared folder organization, server functions, loader/client-server boundaries, importProtection, hooks, SSR/hydration, and hypercore conventions. Use before structural code changes, folder-structure reviews, route work, server function work, or architecture audits in TanStack Start codebases.