Skip to content
Back to skills

Setup

ASecurity

Check Gemini CLI installation and authentication status.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 26, 2026
developmentgobashnodegitsecurity

Works with

  • terminal
  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned May 27, 2026

npx -y skills add KingGyuSuh/gemini-search-cc --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kinggyusuh-setup/badge)](https://www.skillsdirectory.com/skills/kinggyusuh-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Check Gemini CLI installation and authentication status.
argument-hint: ''
disable-model-invocation: true
allowed-tools: Bash AskUserQuestion
---
Check whether the Gemini CLI is installed and properly configured.

## Steps

1. Run the health check in JSON mode:
   ```bash
   node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" setup --json
   ```

2. Parse the JSON output to determine status:
   - `installed`: whether Gemini CLI binary exists on PATH
   - `version`: the installed version string
   - `loggedIn`: whether a minimal headless probe succeeds (verifies active auth, not just file existence)

3. **If Gemini CLI is NOT installed:**
   - Check if npm is available: `which npm`
   - If npm is available, use `AskUserQuestion` to ask:
     > Gemini CLI is not installed. Would you like to install it now?
     > - Install via npm (Recommended)
     > - Show manual installation instructions
   - If user chooses install: run `npm install -g @google/gemini-cli`
   - After install, re-run the health check to confirm.
   - If npm is not available, show manual install instructions:
     - Visit https://github.com/google/gemini-cli
     - Or install Node.js first, then `npm install -g @google/gemini-cli`

4. **If Gemini CLI is installed but NOT logged in:**
   - Instruct the user to run `gemini login` in their terminal.
   - Explain: authentication is required for Google Search to work.

5. **If everything is healthy**, confirm all available skills:
   - `/gemini:search` — Quick grounded Google Search
   - `/gemini:research` — Deep multi-step research (5 min timeout)
   - `/gemini:audit` — Security & dependency audit
   - `/gemini:fact-check` — Verify technical claims
   - `/gemini:changelog` — Latest release notes for a package
   - `/gemini:compare` — Compare technologies with real-time data

6. Run the human-readable health check for display:
   ```bash
   node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" setup
   ```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.