Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By alliecatowov0.1.0MITIn 1 marketplace
Route Claude Code permission requests to your Flipper Zero for physical approval
You run one by typing its /name in Claude Code.
1 critical · 3 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Approve or deny Claude Code permission requests with the physical D-pad of a Flipper Zero.
When Claude Code wants to run a command or edit a file, your Flipper buzzes and shows the request. Press a button to allow or deny. No keyboard needed.
Photo/GIF coming soon.
Claude Code ──PermissionRequest hook──▶ scripts/permission_hook.py
│ Python + bleak
▼ BLE serial profile
Flipper Zero "Claude Controller" (FAP)
vibrates, shows "[RISK] Bash: ..."
│ D-pad press
▼
hook prints allow/deny decision JSON back to Claude Code
Three pieces:
flipper_app/claude_controller.c uses the Flipper BLE serial profile, shows the request, vibrates, and sends back a one-letter decision. It also tracks request/allow/deny counts.scripts/permission_hook.py formats a [LOW|MED|HIGH|CRIT] risk-scored summary (max 60 chars), sends it over BLE, waits for the Flipper's ACK, then waits up to 5 minutes for a button press. It retries flaky BLE connections.hooks/hooks.json registers the script as a PermissionRequest hook and returns the hookSpecificOutput decision JSON that Claude Code expects. Slash commands wrap small helper scripts.Also included: flipper_app_pager/ (a second, simpler Flipper app that just displays and vibrates for notifications) and scripts/pager_mcp.py (an MCP server that lets Claude send pages to it). Both are experimental. Hard-won BLE notes are in docs/BLE_LESSONS_LEARNED.md.
Requirements: Python 3.8+, Claude Code, a Flipper Zero (developed against Momentum firmware), a Bluetooth adapter on the host, and ufbt to build the app.
git clone https://github.com/alliecatowo/claude-flip.git
cd claude-flip
pip install -r requirements.txt
# Build and launch the Flipper app (Flipper connected over USB)
cd flipper_app && ufbt launch && cd ..
# Install as a Claude Code plugin
claude plugin install . --scope user
The hook needs your Flipper's BLE MAC address. It is never hardcoded; set it with an environment variable:
export CLAUDE_FLIP_MAC="AA:BB:CC:DD:EE:FF" # replace with your Flipper's address
or in ~/.config/claude-flip/config.json:
{ "address": "AA:BB:CC:DD:EE:FF" }
If it is unset, the scripts exit with a clear error (the legacy FLIPPER_ADDRESS variable is also honored).
To find the address: start the Claude Controller app on the Flipper, pair it with your host, then run bluetoothctl devices (Linux) or look at the Flipper's name in your OS Bluetooth settings (macOS: System Information > Bluetooth). Running python scripts/flipper_status.py after setting the variable confirms the connection.
[*].| Button | Action |
|---|---|
| Right / OK | Allow |
| Left | Deny |
| Up | Allow always (remember similar commands) |
| Down | Deny always |
| Back | Exit the app |
Slash commands: /flipper-status, /flipper-test, /flipper-enable, /flipper-disable, /flipper-risk (toggle risk labels on the display).
PermissionRequest events are routed; this is a convenience gate, not a sandbox.Early project. The core approve/deny loop works; the "mode switching" idea was removed. Hardware smoke tests with a real Flipper are still manual: the probes live in tests/hardware/ (they need a Flipper and the MAC configured) and are never collected by pytest.
python -m venv .venv && . .venv/bin/activate
pip install -r requirements.txt
python -m pytest # risk assessment, rule saving, hook decisions, BLE retry logic (no hardware needed)
CI runs the same commands on every push and pull request. Debug logging (FLIPPER_DEBUG=1 or "debug": true in the config file) writes to ~/.local/state/claude-flip/hook_debug.log (mode 0600), never to /tmp.
npx claudepluginhub alliecatowo/claude-flip --plugin claude-flipBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground