# OpenCLI Agent Pack: preflight

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

## What this CLI is for
Review a git diff with coding agents, ci agent readiness, and strict dual-agent review from the terminal. Built by Geet Khosla. Start with `npx @khosla/preflight doctor --json` and go from there.

Best for: review a git diff with coding agents, ci agent readiness, and strict dual-agent review from the terminal.

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

## Install
```sh
npm install -g @khosla/preflight
```

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

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

```sh
preflight doctor
```

```sh
npx @khosla/preflight doctor --json
```

```sh
npx @khosla/preflight --json --auto
```

## 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.

## Suggested agent instruction
You may use preflight (`preflight`) for review a git diff with coding agents, ci agent readiness, and strict dual-agent review 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
