Guides for Claude Code and Codex
Step-by-step guides to permissions, hooks, notifications and usage limits for Claude Code and Codex, checked against the official docs.
Claude Code
Guides · Claude CodeHow to allow specific commands in Claude CodeHow to allow npm test, git status and other commands in Claude Code without approving each time, with a safe allowlist and the rules you should never add.Guides · Claude CodeClaude Code hooks, the complete guide with examplesWhat Claude Code hooks are, every hook event, the settings.json format, matchers, stdin input, exit codes, JSON output and three working examples.Guides · Claude CodeWhy does Claude Code keep asking for permission?Why Claude Code keeps asking for permission even after you approve, and the fixes from safest to riskiest, from allow rules to permission modes.Guides · Claude CodeHow to get Claude Code notifications on your MacGet notified on macOS when Claude Code finishes or needs input, with built-in alerts, the terminal bell, Notification and Stop hooks and terminal-notifier.Guides · Claude CodeClaude Code permission modes, explained one by oneThe six Claude Code permission modes, from Manual and plan to auto and bypassPermissions, when to use each, and how to switch with Shift+Tab or flags.Guides · Claude CodeThe Claude Code PermissionRequest hook explainedWhen the Claude Code PermissionRequest hook fires, the JSON it receives, how to answer allow or deny, and why automating approvals is risky.Guides · Claude CodeClaude Code permissions, the complete guideHow Claude Code permissions work, which tools ask first, allow, ask and deny rules, rule syntax, settings files, permission modes and managed policy.Guides · Claude CodeClaude Code settings.json, a practical reference for permissions and hooksWhere Claude Code settings.json files live (user, project, local, managed), which one wins, and working examples for permissions, modes, sandbox and hooks.
Usage limits
Guides · Usage limitsClaude Code usage limits, how they work and how to make them lastHow Claude Code usage limits work on Pro and Max, five-hour sessions and weekly caps, how to check usage with /usage, and what to do at the limit.Guides · Usage limitsCodex usage limits, explained for ChatGPT plan usersHow Codex usage limits work on ChatGPT plans, five-hour and weekly windows, how to see what is left with /status, and what happens when you hit the limit.Guides · Usage limitsCursor usage limits, how included usage, resets and extra usage workHow Cursor usage limits work on legacy plans and the X Subscription, weekly and monthly pools, Grok Bot, how to check usage and what happens at the limit.
Codex
Guides · CodexCodex CLI approval modes, the approval policy and sandbox explainedHow Codex CLI approval policies and sandbox modes work, the exact flags and config.toml keys, what each combination allows, and setups to use.Guides · CodexCodex hooks, a practical guide to hooks.json, events and trustHow Codex hooks work, where hooks.json lives, every event name, the trust step, input and output format, working examples and the current limits.Guides · CodexCodex notifications, how to know when Codex is done or waiting for youHow to get Codex CLI notifications on macOS when a turn finishes or an approval is waiting, using tui.notifications, the notify setting and hooks.
Security
Workflow
ALLOWBAR FOR MAC
Stop babysitting the terminal.
Allowbar brings permission requests, finished tasks and usage limits from Claude Code and Codex to your menu bar.