# Allowbar > Allowbar is a Mac menu bar app for Claude Code and Codex. Permission requests appear at the top of your screen, you allow or block them with one click, and you follow every agent, task and usage limit while you do something else. Key facts: - Mac only (macOS 14 or later), native SwiftUI app that lives in the menu bar. Works with or without a notch. - Supports Claude Code and Codex through their official hooks (~/.claude/settings.json and ~/.codex/hooks.json). Usage tracking also covers Cursor, including Grok Bot. - Never approves anything automatically: every permission request waits for a click (Allow, Block or Terminal). If Allowbar is closed or the countdown ends, the agent asks in the terminal. - Hook events go to a local server on the Mac; the activity log stays on the Mac. - Price: $29.90 one-time purchase, lifetime license, no subscription. Launch price: $9.99. - Status: private beta in preparation; join the waitlist at https://allowbar.com/#waitlist. - Made by William Souef, independent developer (https://x.com/WillRogS). ## Product - [Home](https://allowbar.com/): what Allowbar does, with demo videos - [Pricing](https://allowbar.com/pricing): $9.99 at launch, then $29.90, one-time - [FAQ](https://allowbar.com/faq): 17 answers about safety, privacy, features and pricing - [Full content for LLMs](https://allowbar.com/llms-full.txt): every guide in Markdown ## Guides for Claude Code and Codex - [How to allow specific commands in Claude Code](https://allowbar.com/guides/claude-code-allow-commands): To stop Claude Code from asking about a command, add an allow rule such as Bash(npm test) or Bash(npm run *) to permissions.allow in settings.json, or pick "Yes, and don't ask again" on the prompt. Keep rules narrow, put the wildcard after the subcommand, and never allow broad patterns like Bash(git *) or Bash(curl *). - [Claude Code hooks, the complete guide with examples](https://allowbar.com/guides/claude-code-hooks): Claude Code hooks are shell commands (or HTTP calls, prompts and agents) that Claude Code runs automatically at fixed points such as PreToolUse, PermissionRequest, Notification and Stop. You define them in the hooks block of settings.json, each hook receives the event as JSON on stdin, and it answers with an exit code (2 blocks) or a JSON object on stdout. - [Why does Claude Code keep asking for permission?](https://allowbar.com/guides/stop-claude-code-asking-permission): Claude Code keeps asking because, in Manual mode, every shell command, file edit and web fetch outside its read-only set needs approval, and some approvals are not saved or are overridden by ask and deny rules. Fix it from safest to riskiest, with narrow allow rules, acceptEdits mode, the sandbox, auto mode, and only in an isolated container, bypass mode. - [How to get Claude Code notifications on your Mac](https://allowbar.com/guides/claude-code-notifications-mac): On macOS, Claude Code already sends a desktop notification in Ghostty, Kitty and iTerm2 (after you enable iTerm2 alerts), and you can force a terminal bell with preferredNotifChannel set to terminal_bell. For full control, add a Notification hook (fires when Claude waits for permission or input) and a Stop hook (fires when Claude finishes a reply) that run osascript, afplay or terminal-notifier. - [Claude Code permission modes, explained one by one](https://allowbar.com/guides/claude-code-permission-modes): Claude Code has six permission modes. default (Manual) asks before edits and commands, acceptEdits auto-approves file edits, plan explores without editing, auto lets a classifier review actions, dontAsk denies anything not pre-approved, and bypassPermissions skips prompts for isolated environments. Switch with Shift+Tab, --permission-mode, or permissions.defaultMode. - [The Claude Code PermissionRequest hook explained](https://allowbar.com/guides/claude-code-permission-request-hook): The Claude Code PermissionRequest hook runs when Claude Code is about to show you a permission prompt. It receives the tool name and input as JSON on stdin and can answer by printing a decision object with behavior allow or deny; exit code 2 is ignored on this event. It can approve requests for you, which is exactly why it should be used with a narrow matcher or not at all for approvals. - [Claude Code permissions, the complete guide](https://allowbar.com/guides/claude-code-permissions): Claude Code asks before it runs shell commands, edits files or fetches web pages, unless a rule or a permission mode says otherwise. You control this with allow, ask and deny rules in settings.json (deny always wins), with permission modes such as Manual, acceptEdits, plan and auto, and with the /permissions command. - [Claude Code settings.json, a practical reference for permissions and hooks](https://allowbar.com/guides/claude-code-settings-json): Claude Code reads settings.json from four places, ~/.claude/settings.json (user), .claude/settings.json (shared project), .claude/settings.local.json (personal project) and a managed file deployed by your organization. Single values follow managed, command line, local, project, user precedence, while permission lists merge and deny rules always win. - [Claude Code usage limits, how they work and how to make them last](https://allowbar.com/guides/claude-code-usage-limits): On Pro and Max plans, Claude Code usage counts against a five-hour session limit and a weekly limit that are shared with Claude chat and the desktop app. The five-hour window starts with your first message, and weekly limits reset at a fixed time assigned to your account. Run /usage in Claude Code to see your plan usage bars, and when you hit a limit you can wait for the reset, add usage credits or upgrade. - [Codex CLI approval modes, the approval policy and sandbox explained](https://allowbar.com/guides/codex-cli-approval-modes): Codex CLI controls what the agent may do with two settings that work together. The sandbox mode (read-only, workspace-write or danger-full-access) sets what commands can technically touch, and the approval policy (on-request or never) sets when Codex stops to ask you. The default Auto preset is workspace-write with on-request. - [Codex hooks, a practical guide to hooks.json, events and trust](https://allowbar.com/guides/codex-hooks): Codex hooks are commands (or MCP tool calls) that Codex runs at fixed points of a session, such as PreToolUse, PermissionRequest, PostToolUse and Stop. You declare them in ~/.codex/hooks.json, a trusted project's .codex/hooks.json or a [hooks] table in config.toml, and Codex only runs a non-managed hook after you review and trust it with /hooks. - [Codex notifications, how to know when Codex is done or waiting for you](https://allowbar.com/guides/codex-notifications): Codex CLI has two notification mechanisms. The built-in tui.notifications setting sends terminal notifications for agent-turn-complete and approval-requested, and the notify setting runs your own program with a JSON payload when a turn completes. On macOS you can pair notify with terminal-notifier or osascript, or use a Stop or PermissionRequest hook. - [Codex usage limits, explained for ChatGPT plan users](https://allowbar.com/guides/codex-usage-limits): Codex is included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise plans, and usage is metered in five-hour windows (Pro currently has none) with weekly limits on top. You can see what is left with /status in the CLI or on the Codex usage dashboard, and at the limit you can wait for the reset, use credits, or switch to an API key billed separately. - [Cursor usage limits, how included usage, resets and extra usage work](https://allowbar.com/guides/cursor-usage-limits): Cursor usage depends on which plan family you are on. Legacy Cursor plans (Hobby, Pro, Pro+, Ultra, Teams) have monthly pools that reset with your billing cycle, with optional on-demand usage at API rates, while the newer X Subscription has one weekly pool shared with Grok Bot and the Grok apps, plus prepaid credit. You check usage in the dashboard on grok.com, and the editor notifies you when you hit the limit. - [What --dangerously-skip-permissions does, and safer alternatives](https://allowbar.com/guides/dangerously-skip-permissions): claude --dangerously-skip-permissions starts Claude Code in bypassPermissions mode, which skips permission prompts, including for writes to protected paths like .git and .claude. Deny rules and explicit ask rules still apply. The official docs say to use it only in isolated containers or VMs; on your own machine, an allowlist, acceptEdits, auto mode or the sandbox are safer ways to get fewer prompts. - [How to run multiple Claude Code sessions at the same time](https://allowbar.com/guides/run-multiple-claude-code-sessions): To run multiple Claude Code sessions safely, give each one its own git worktree (claude --worktree name creates one under .claude/worktrees), so their edits never collide. Name each session with claude -n or /rename, run them in separate terminal tabs, tmux panes or as background sessions in claude agents, and use notifications or a status view to see which one is waiting for you. ## Notes on working with coding agents - [The real risks of auto approve and YOLO mode for coding agents](https://allowbar.com/blog/auto-approve-risks): Auto approve and YOLO modes such as Claude Code's --dangerously-skip-permissions and Codex's --yolo remove the step where a human checks risky actions, which exposes you to destructive commands, secret exfiltration, prompt injection and runaway usage. They are acceptable in a disposable container or VM with no secrets and limited network. On your main machine, use allow rules, the sandbox and a reviewed approval step instead. - [Let your coding agents work while you watch, chat or play](https://allowbar.com/blog/code-while-doing-something-else): You do not need to stare at the terminal while Claude Code or Codex works. Turn on desktop notifications for permission prompts and finished tasks, keep an eye on your usage window, and review the agent's work in batches instead of line by line as it happens. - [Claude Code vs Codex CLI, how they compare for daily work](https://allowbar.com/blog/claude-code-vs-codex): Claude Code and Codex CLI are both terminal coding agents with MCP, hooks and project instruction files, but they start from different safety defaults. Codex sandboxes commands by default and asks when the agent needs to leave the sandbox, while Claude Code asks per action through permission rules and modes and offers an opt-in sandbox. Claude Code has a larger hook and settings surface; Codex uses ChatGPT plans and a TOML config with profiles. - [A coding agent security checklist for Claude Code and Codex](https://allowbar.com/blog/coding-agent-security-checklist): To run Claude Code or Codex safely on your machine, keep permission prompts on for risky actions, deny access to secrets such as .env files, turn on the sandbox, limit network access, treat files and web pages as untrusted input, vet every MCP server, and review the git diff before anything is pushed. - [Human in the loop for coding agents, and how to keep it fast](https://allowbar.com/blog/human-in-the-loop-coding-agents): A human approval step still matters for coding agents because it is the one control that understands intent, catches prompt injection, and stops irreversible actions. Allowlist safe, repetitive commands, keep a human click on pushes, deletions, network calls, secrets and anything outside the project, and keep approvals rare and readable so they never turn into rubber-stamping. - [A good Mac setup for running coding agents every day](https://allowbar.com/blog/mac-setup-for-coding-agents): A good Mac setup for Claude Code and Codex uses a terminal that supports desktop notifications (Ghostty, iTerm2 or Kitty), one git worktree per parallel agent, notifications for prompts and finished tasks, a regular usage check, deny rules and the sandbox to keep secrets out of reach, and caffeinate so long tasks are not cut off by sleep. ## Comparisons and alternatives - [Allowbar vs skipping permissions in Claude Code and Codex](https://allowbar.com/compare/allowbar-vs-skip-permissions): Skipping permissions with --dangerously-skip-permissions in Claude Code or full access in Codex removes every pause, but also removes your review of each command, and both vendors say to use it only in isolated environments. Answering prompts with a click in Allowbar keeps a human decision on every command while cutting the cost of each answer to a second. Use skip modes in containers and VMs, and keep prompts on your own machine. - [Allowbar vs DIY terminal notifications for coding agents](https://allowbar.com/compare/allowbar-vs-terminal-notifications): A terminal bell, an osascript alert or a terminal-notifier hook tells you that Claude Code or Codex needs you, and for one session that is often enough. Allowbar goes further by letting you answer the permission prompt from the menu bar, listing every session by state and showing usage with reset times. DIY is free and takes minutes; Allowbar is a paid Mac app currently in private beta. - [Best Mac tools for Claude Code and Codex in 2026](https://allowbar.com/compare/best-mac-apps-for-claude-code): A good Mac setup for Claude Code and Codex combines a terminal with native notifications (Ghostty, iTerm2 or Kitty), tmux if you run many sessions, an editor with an agent extension (VS Code, Cursor or JetBrains), a usage tracker (the built-in /usage and /status commands, ccusage or CodexBar) and a notification or menu bar layer (hooks with terminal-notifier, or Allowbar). The list is grouped by category, not ranked; the right pick depends on how many agents you run and how you like to review their work. - [How to track Claude Code and Codex usage, compared](https://allowbar.com/compare/claude-code-usage-trackers): Claude Code's /usage command and the Codex CLI's /status command show your current limits for free, and a Claude Code status line script can display the 5-hour and 7-day usage with reset times. ccusage reads local agent logs to report historical token use and estimated costs. Menu bar apps such as CodexBar and Allowbar keep usage and the next reset visible at all times, and Allowbar warns at 50% and 20% remaining. ## Coding agent glossary - [Agent hooks](https://allowbar.com/glossary/agent-hooks): Agent hooks are user-defined commands that a coding agent like Claude Code or Codex runs automatically at fixed points in its lifecycle, such as before a tool call, when it needs permission, or when it stops. They give deterministic control (always format, always notify, block a command) instead of relying on the model to remember. Claude Code reads hooks from settings.json; Codex reads them from hooks.json. - [Coding agent](https://allowbar.com/glossary/coding-agent): A coding agent is an AI tool that works on a codebase by itself in a loop, reading files, editing code and running commands until a task is done, rather than only suggesting text. Claude Code and Codex are coding agents. Because they act on your machine, they ask for permission before risky actions. - [Permission prompt](https://allowbar.com/glossary/permission-prompt): A permission prompt is the question a coding agent such as Claude Code or Codex asks before it takes an action that needs approval, like running a shell command or editing a file. You can allow it once, allow it for the future, or deny it. Allow rules, permission modes and sandboxes decide which actions prompt in the first place. - [Usage limit reset](https://allowbar.com/glossary/usage-limit-reset): A usage limit reset is the moment a subscription's usage window refills so you can use the agent again at full allowance. Claude plans use a rolling five-hour window and a weekly window, and Codex describes usage per five-hour period with weekly limits that may apply. Claude Code's /usage, its status line and the Codex /status command show where you stand. - [Agent sandbox](https://allowbar.com/glossary/agent-sandbox): An agent sandbox is a boundary enforced by the operating system that limits which files a coding agent's commands can write and which network hosts they can reach. On macOS, both Claude Code and Codex use Apple's Seatbelt framework; on Linux, they use bubblewrap. A sandbox contains mistakes regardless of what the model decided to run, which is why it can safely reduce permission prompts. - [MCP server](https://allowbar.com/glossary/mcp-server): An MCP server is a program that provides context and actions to AI applications through the Model Context Protocol (MCP), an open standard for connecting AI applications to external systems. It exposes tools, resources and prompts, and runs either locally over stdio or remotely over Streamable HTTP. Claude Code, Codex and many editors act as MCP hosts that connect to servers. - [Human in the loop](https://allowbar.com/glossary/human-in-the-loop): Human in the loop (HITL) means a person reviews or approves an AI system's actions at key points before they take effect. For coding agents like Claude Code and Codex, the loop is mostly permission prompts before commands and edits, plus code review before merging. OWASP lists requiring human approval for high-risk actions as a mitigation for prompt injection. - [Prompt injection](https://allowbar.com/glossary/prompt-injection): Prompt injection is a vulnerability where input to an AI model, typed by a user or hidden in a file, web page or tool result, changes the model's behavior in ways its operator did not intend. For coding agents like Claude Code and Codex, indirect injection through files and web content is the main concern. Defenses include least privilege, sandboxing, and human approval for high-risk actions.