gemini-cli

officialscriptableai
$ npm i -g @google/gemini-cli
Summary

Coding agent, prompting, and terminal assistance from the terminal.

  • gemini fits local ai well, especially for coding agent, prompting, and terminal assistance from the terminal.
  • It is the official CLI from Google Gemini.
  • Verify with `gemini --help` first.
  • Good fit for coding-agent workflows and repeatable scripts.
  • Output is mostly text-first, so verify results before scripting around it.
ai-gemini-cli-SKILL.md

Gemini guide

The official CLI from Google Gemini. Coding agent, prompting, and terminal assistance from the terminal.

Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.

When to apply

  • coding agent, prompting, and terminal assistance from the terminal.
  • You work with AI models and inference and want a fast terminal interface.
  • You need coding agent.
  • You need prompting.
  • You need terminal assistance.

Quick reference

Installnpm i -g @google/gemini-cli
Verifygemini --help
First real commandgemini

Open CLI × skills.sh

Open CLI integrates gemini with the right skills.sh companions so you get the tool and the workflow together.

Prompt Engineering

Verified pairing

Open CLI integrates gemini with this skills.sh skill because it is the clearest fit for how gemini is usually used. Use sharper prompts so AI CLIs and agents produce more reliable results.

View on skills.sh
$ npx skills add https://github.com/inferen-sh/skills --skill prompt-engineering
Starter prompt

Use gemini together with the Prompt Engineering skills.sh skill. Start with a small prompt or read-only action, show the result, and propose the next loop before escalating scope.

Why this tool

  • gemini fits local ai well, especially for coding agent, prompting, and terminal assistance from the terminal.
  • It is the official CLI from Google Gemini.
  • Verify with `gemini --help` first.

Watch-outs

  • Sign in before real work.
  • Needs network access.
  • Automation can be brittle.

Example workflow

1. gemini

Safe start

Step 1

Install gemini.

Step 2

Run `gemini --help` first.

Step 3

Start with `gemini`.

Step 4

Authenticate gemini before asking the agent to do real work.

Alternatives worth considering