# OpenCLI Agent Pack: xh

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

## What this CLI is for
HTTP requests, curl alternative, and api testing from the terminal. Built by ducaale.

Best for: http requests, curl alternative, and api testing from the terminal.

## Agent readiness
Usable with guardrails (50/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.

## Install
```sh
brew install xh
```

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

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

```sh
xh https://api.github.com/repos/vercel/next.js
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Network access is required; avoid leaking secrets in logs.
- Start read-only, then ask before mutations.

## Suggested agent instruction
You may use xh (`xh`) for http requests, curl alternative, and api testing 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
