# OpenCLI Agent Pack: Dive

Use this when an AI agent needs to work with `dive`.

## What this CLI is for
The official CLI from Anchore. Image layers, docker optimization, and container inspection from the terminal.

Best for: image layers, docker optimization, and container inspection from the terminal.

## Agent readiness
Human-first CLI (10/100)


## Install
```sh
brew install dive
```

## Verify before real work
```sh
dive --version
```
Expected signal: dive responds locally and is ready for the first real command.

## Safe starting commands
```sh
dive --version
```

```sh
dive node:20
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Expect prompts; keep a human in the loop for interactive flows.

## Suggested agent instruction
You may use Dive (`dive`) for image layers, docker optimization, and container inspection from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
