# OpenCLI Agent Pack: ngrok

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

## What this CLI is for
The official CLI from ngrok. Tunnels, webhooks, and local sharing from the terminal.

Best for: tunnels, webhooks, and local sharing 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 ngrok/ngrok/ngrok
```

## Verify before real work
```sh
ngrok --help
```
Expected signal: ngrok responds locally; authenticate before real work.

## Safe starting commands
```sh
ngrok --help
```

```sh
ngrok http 3000
```

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

## Suggested agent instruction
You may use ngrok (`ngrok`) for tunnels, webhooks, and local sharing 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
