Passkey for AI vs Claude Code permissions
They are not rivals. Claude Code's permission rules decide which tools and commands need a prompt or are denied, and the prompt appears in the session you are running. Passkey for AI is a PreToolUse hook that adds a hardware check the session cannot answer, hard blocks for actions that should never happen, and amount-aware rules for Stripe. Keep your permission rules and add Passkey for the calls that can hurt.
Side by side
| Claude Code permissions | Passkey for AI | |
|---|---|---|
| What it is | Built-in allow, ask and deny rules and permission modes | A PreToolUse hook, one native Swift binary |
| Where the decision happens | In the terminal session the agent runs in | A separate macOS Touch ID sheet |
| Who can answer an ask | Whoever is at the keyboard, or an auto-accept mode you chose | Only a finger on the sensor. No password fallback. |
| Hard blocks with no prompt | Deny rules | Block rules, and block always wins |
| Understands amounts | No | Yes: Stripe amounts, an editable $1,000 limit, LIVE or test in the dialog |
| Reads shell structure | Command pattern matching | Quotes, variables, cd, globs, pipes, heredocs, sudo, env, xargs, find -exec |
| Protects its own config | Settings files you edit | Self-protecting: blocks edits, key reads and kills, and asks on any settings change |
| Audit log | Session transcripts | One line per decision in audit.log |
| Price | Included with Claude Code | Free for Stripe, $29 once for Pro |
Compared on 2026-11-30 against Claude Code's published permissions and hooks documentation. Claude Code changes often, so check its current docs.
Where a terminal prompt stops
A prompt in the agent's own session is a speed bump. It can be set to approve automatically, a long session trains you to press the key, and a prompt injection can talk the agent into a call you will skim past. None of that makes the prompt bad. It means the prompt is not a hardware check.
Where a Touch ID hook starts
Passkey moves the high-stakes decisions to your finger and a plain-words dialog. Things that should never run are blocked outright, so there is nothing to approve by habit. Everything else runs untouched, so normal coding stays fast.
Run both
Keep Claude Code's permission rules for the broad strokes. Add Passkey for money, pushes, deploys and deletes. A call has to pass both.
Neither is a sandbox. Hooks run as you, and Passkey says so: use --hardened, restricted API keys and branch protection with it.
Frequently asked questions
Do I need Passkey if I already use deny rules?
Deny rules are a good baseline for things you never want. Passkey adds a Touch ID step for things you sometimes want, amount-aware Stripe rules, shell parsing across wrappers and variables, protection for its own files and an audit log.
Does Passkey replace Claude Code's permission prompt?
No. It is a hook that runs in addition to it. A call can pass your permission rules and still hit a Touch ID sheet or a block from Passkey.
Can Claude Code settings turn Passkey off?
Changing any settings.json or settings.local.json always asks for Touch ID, and Passkey blocks the commands that uninstall or stop it. Removal needs your finger.