# OpenCLI Agent Pack: bat

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

## What this CLI is for
File previews, syntax highlighting, and readable diffs from the terminal. Built by sharkdp.

Best for: file previews, syntax highlighting, and readable diffs from the terminal.

## Agent readiness
Human-first CLI (25/100)
- Supports non-interactive/scripted use.

## Install
```sh
brew install bat
```

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

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

```sh
bat README.md
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.

## Suggested agent instruction
You may use bat (`bat`) for file previews, syntax highlighting, and readable diffs 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
