Skip to content
Back to skills

Cli

ASecurity

Use the non-interactive `gemini-app` CLI (`gemini-app-cli`) to ask Google Gemini (512k context Gemini Neon / Carbon (Ultra only) / Hydrogen / Flash Lite / Auto), run read-only codebase reviews (`--tools readonly`), enforce JSON Schema structured outputs (`--schema`), inspect local images (`-i`), run Google Search-grounded queries (`search`), or check Gemini quota without running an MCP server.

  • 168 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 28, 2026
ai-agentsgoshellbashnodegitapi

Works with

  • cli
  • api
  • mcp

Security analysis

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

Pro scans all 5 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add ShawTim/gemini-app2api --skill cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli?

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

Security grade badge for Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shawtim-cli/badge)](https://www.skillsdirectory.com/skills/shawtim-cli)

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
---
name: gemini-app-cli
description: Use the non-interactive `gemini-app` CLI (`gemini-app-cli`) to ask Google Gemini (512k context Gemini Neon / Carbon (Ultra only) / Hydrogen / Flash Lite / Auto), run read-only codebase reviews (`--tools readonly`), enforce JSON Schema structured outputs (`--schema`), inspect local images (`-i`), run Google Search-grounded queries (`search`), or check Gemini quota without running an MCP server.
---

# gemini-app CLI Skill

Use `gemini-app` (installed via `npm i -g gemini-app-cli` or run with `npx -y gemini-app-cli`) for fast non-interactive second opinions, read-only codebase reviews, structured JSON extraction, multimodal screenshot checks, or Google Search-grounded lookups via the user's Google Gemini subscription.

## Core Commands

- **Ask Gemini with stdin, files, or images**:
  ```bash
  git diff | gemini-app ask -m gemini-neon -t high "Find bugs and edge cases"
  gemini-app ask -f src/server.mjs -f package.json "Check for runtime issues"
  gemini-app ask -i screenshot.png "Identify visual defects in this UI"
  ```
- **Read-only workspace harness (`read`, `grep`, `find`, `ls` — zero writes, zero shell)**:
  ```bash
  gemini-app ask --tools readonly --cwd . --verbose "Audit auth token refresh and list bugs"
  gemini-app ask --tools read,grep,find --cwd . --max-turns 8 --json "Trace SSE delivery"
  ```
- **Validated JSON Schema Structured Outputs**:
  ```bash
  gemini-app ask --schema review.schema.json "Review this diff" < patch.diff
  gemini-app ask --tools readonly --schema audit.schema.json --json "Audit src/"
  ```
- **Google Search-grounded lookup (with verified citations)**:
  ```bash
  gemini-app search "Node.js 24 LTS release schedule"
  gemini-app search --json "Playwright latest version"
  ```
- **Check models, auth status, or remaining quota**:
  ```bash
  gemini-app models --json
  gemini-app status
  gemini-app quota --json
  ```

## Guidelines

1. Prefer `--json` or `--schema` when consuming output programmatically in scripts.
2. Use `--tools readonly --cwd <repo>` for multi-file read-only codebase reviews instead of manually concatenating dozens of files.
3. Pass `-f <path>` for targeted text files and `-i <path>` (up to 16 PNG/JPEG/WebP files) for image inspection.
4. If `gemini-app status` exits `1`, ask the user to run `gemini-app login`. Never print or inspect `~/.gemini-app2api-cli/auth.json`.

Files in this skill

  • README.md7.1 KB
  • SKILL.md2.3 KB
  • cli.js36.9 KB
  • package-meta.json988 B
  • readonly-tools.js33.1 KB

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 ai-agents →

Comments

Loading comments…

Newsletter

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