Back to skills
SKILL.md
Quickstart
ASecurityAgent workflow for running Gemini CLI in deterministic headless mode with JSON outputs.
- 58 stars
- 0 votes
- 0 copies
- 0 views
- Added September 6, 2026
Works with
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add javimosch/supercli --skill quickstart --agent claude-codeAre you the author of Quickstart?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/javimosch-quickstart-a272f1e0)---
name: gemini.quickstart
description: Agent workflow for running Gemini CLI in deterministic headless mode with JSON outputs.
tags: gemini,ai,automation,headless,json
---
# gemini Quickstart
Use this when you need Gemini in scripts or agent workflows without interactive prompts.
## Commands
- `gemini <resource> <action>` — Execute gemini commands
- `gemini _ _` — Passthrough to gemini CLI
## 1) Install plugin and dependency
```bash
supercli plugins learn gemini
supercli plugins install gemini --json
npm install -g @google/gemini-cli
```
## 2) Validate setup
```bash
supercli gemini cli version
```
## 3) Headless modes
```bash
supercli gemini task text --prompt "Summarize this repository"
supercli gemini task ask --prompt "Summarize this repository as JSON"
supercli gemini task stream --prompt "Plan and execute test workflow"
```
## 4) Full passthrough for upstream flags
```bash
supercli gemini -p "Explain the architecture" --output-format json
supercli gemini -p "Run diagnostics" --output-format stream-json
```
## 5) Caveats
- Prefer non-interactive auth for automation (for example `GEMINI_API_KEY`) to avoid login prompts.
- `task stream` returns JSONL event lines; consume line-by-line.
- Use passthrough commands for advanced options not covered by wrappers.
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.