---
title: "Run terminal-native repo analysis, edits, and command loops with Gemini in a bounded CLI workflow with Gemini CLI"
description: "Lets an agent use Gemini from the terminal to inspect repositories, edit files, run shell commands, and ground work with built-in search and local context."
verification: "security_reviewed"
source: "https://github.com/google-gemini/gemini-cli"
author: "Google"
publisher_type: "organization"
category:
  - "Developer Tools"
framework:
  - "Gemini"
tool_ecosystem:
  github_repo: "google-gemini/gemini-cli"
  github_stars: 101569
---

# Run terminal-native repo analysis, edits, and command loops with Gemini in a bounded CLI workflow with Gemini CLI

Lets an agent use Gemini from the terminal to inspect repositories, edit files, run shell commands, and ground work with built-in search and local context.

## Prerequisites

Node.js or npm, gemini-cli, Gemini account or API credentials

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Run npx @google/gemini-cli for a no-install start, or install gemini-cli globally with npm or Homebrew.
```

## Documentation

- https://geminicli.com

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-terminal-native-repo-analysis-edits-and-command-loops-with-gemini-in-a-bounded-cli-workflow-with-gemini-cli/)
