# OpenCLI Agent Pack: Prisma CLI

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

## What this CLI is for
The official CLI from Prisma. Schema design, migrations, and type-safe db workflows from the terminal.

Best for: schema design, migrations, and type-safe db workflows from the terminal.

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

## Install
```sh
npm i -g prisma
```

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

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

```sh
prisma init && prisma migrate dev
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.

## Suggested agent instruction
You may use Prisma CLI (`prisma`) for schema design, migrations, and type-safe db workflows 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
