This repo exposes a Prisma Codex plugin through .agents/plugins/marketplace.json.
Requires Codex CLI 0.125.0 or newer.
codex --versionIf your Codex CLI does not show the plugin command, update it first:
bun add -g @openai/codex@latestAfter this repo is published to GitHub, users can add the marketplace:
codex plugin marketplace add prisma/codex-pluginThen open Codex and install the plugin:
codex
/pluginsSelect the Prisma marketplace, open the prisma plugin, and choose install.
Users can also add the marketplace by URL:
codex plugin marketplace add https://github.com/prisma/codex-plugin.gitThe plugin lives at plugins/prisma and bundles:
- Prisma CLI guidance
- Prisma Client API guidance
- Database setup guidance
- Prisma Postgres guidance
- Prisma ORM v7 upgrade guidance
- Prisma remote MCP server config
For development, from this repo root:
codex plugin marketplace add ./The marketplace entry points to ./plugins/prisma.
Restart Codex after editing the plugin so the installed local copy refreshes.
Destructive Prisma actions such as migration resets still require explicit user consent and review.