Jev Approvals
Your command + your policy → Jev → Allow, Deny, or Needs approval.
A local plugin for Codex and Claude Code, in both the CLI and the desktop apps.
When your agent is about to ask you to approve a shell command, Jev checks it against
your policy first. It allows it, denies it, or hands it to you as usual. One installer
sets up every agent you have, and they share one policy, API key, and history.
| You use | Supported | What the installer does |
|---|
| Codex CLI | Yes | Installs the plugin; you trust the hook once |
| Codex desktop app | Yes, through Codex CLI | Same as above; the app uses the CLI's plugins |
| Claude Code CLI | Yes | Installs and enables the plugin |
| Claude desktop app (Code tab) | Yes, no CLI needed | Installs and enables the plugin using the app's built-in claude |
1. Before installing
Download this repository using Code → Download ZIP and extract it anywhere,
or clone it. Keep the folder: both agents load the plugin from it, so moving or
deleting it disables Jev. No pip packages, npm dependencies, or build step are needed.
2. Install
macOS: open Terminal in the extracted folder:
cd "/path/to/jev-approvals"
python3 install.py
Windows: open PowerShell in the extracted folder (Python's py launcher must be installed):
cd "C:\path\to\jev-approvals"
py -3 install.py
Paste your TypeSafe API key when asked. Input is hidden. The installer sets up every
agent it finds and prints one line per agent. To install for one agent only, add
--agent codex or --agent claude-code.
On Windows, use py -3 instead of python3 in every command below.
3. Turn it on
Codex (CLI and desktop app)
- Run
codex, enter /hooks, and trust Jev Approvals under PermissionRequest.
Hook trust is deliberately left to you; installing the plugin doesn't trust it.
- Keep Ask for approval enabled.
- Start a new CLI chat, or restart the desktop app.
Claude Code (CLI and desktop app)
Nothing to trust: the installer already enabled the plugin.
- Start a new session. Sessions that were already open don't load new plugins.
- Use a permission mode that asks before running commands: Default or
Accept edits. In Auto or Bypass permissions mode Claude Code doesn't
ask, so Jev isn't consulted.
- Desktop app: pick the mode in the selector next to the message box.
- CLI: press
Shift+Tab to cycle modes, or start with claude --permission-mode default.
If the installer says it can't find Claude Code, run these inside the Claude Code CLI:
/plugin marketplace add /path/to/jev-approvals
/plugin install jev-approvals@jev-approvals
4. Check that it works
Jev only sees commands that would otherwise show you an approval card. Harmless
commands such as echo or ls, and anything allowed by your agent's own rules or
sandbox, run without asking, so they never reach Jev.
Ask your agent to explicitly request approval for a harmless command such as
printf 'Jev approval test\n'. If that command reaches the approval hook, the
default policy allows it and records the review in your history. If your agent
runs it without requesting approval, Jev won't receive that request; check history
after your next command that actually needs permission.
If the normal approval card appears with a Jev: needs approval note, Jev ran, but
wasn't certain enough to decide by itself. If the card appears with no Jev note and the
history stays empty, see Troubleshooting.
Set your rules
The installer prints the location of your editable system_prompt.md.
It applies across projects and both agents, and is read again on every approval request.
Defaults allow clear local inspection, harmless printing, known builds and tests;
deny destructive changes and secret exposure; and ask you about dependency
installs, pushes, deployments, unfamiliar execution, and unclear effects.
Edit the prompt to change those rules. Existing prompts and keys survive updates.
To replace your saved prompt with the shipped defaults:
python3 install.py --reset-policy
View history
python3 install.py --history
This opens a local HTML file with search, decision filters, review details, and
light/dark appearance. No server is needed. Reload the page to see new reviews.