PRism is a personal GitHub code review assistant. It shows AI-generated summaries next to code diffs on GitHub PR Files changed pages.
1) Install the CLI:
npm i -g prism-code-review2) Install the Chrome extension:
- Download the extension zip from the latest release
- Unzip
- Open
chrome://extensions, enable Developer mode - Click Load unpacked and select the unzipped folder
3) Use it (run inside a git repo):
prism review 42 # review PR #42 (default: codex)
prism review 42 --agent claude # use claude instead
prism review 42 --model gpt-4.1 # specify model
prism review 42 --lang cn # output summaries in Simplified Chinese
prism review 42 --lang jp # output summaries in Japaneseprism review defaults to --lang en. Supported values are en, cn, and jp.
Open any GitHub PR Files changed page to see PRism cards next to diff hunks.
- Node.js >= 20
- pnpm >= 9
- Chrome / Chromium
- Authenticated GitHub CLI:
gh auth login - One of the following analysis agents:
- Codex CLI (default)
- Claude Code (
--agent claude)
# terminal 1
pnpm --filter @prism/daemon dev
# terminal 2
pnpm --filter @prism/daemon smoke-test-
No cards appear
- Rebuild:
pnpm --filter @prism/extension build - Reload the extension in
chrome://extensions - Make sure you are on a
.../pull/<n>/filespage
- Rebuild:
-
Daemon is offline
- Start it with:
pnpm --filter @prism/daemon dev - Check:
curl http://127.0.0.1:19280/v1/health
- Start it with:
-
GitHub auth error
- Run
gh auth login - Restart the daemon
- Run
- Developer setup / scripts / fixtures / QA: CONTRIBUTING.md
- Design / architecture: DESIGN.md
