Same Permission Rules for Claude Code, Codex and Cursor Across Your Team
Every coding agent has its own permission system. For a team, that’s the problem.
Claude Code reads settings.json deny rules. Codex reads config.toml. Cursor has its own allowlist. Each is a local file on one laptop, in one format, owned by whoever edited it last, and none of them can see the others. Five engineers means five configurations. Your team’s real safety floor is the least careful one.
A fleet orchestrator makes it worse. Most of them skip the per-agent prompts: bypass flags on by default, daemons that press Enter on dialogs.
So the fix isn’t “get everyone to keep matching config files.” It’s to move the decision somewhere the whole team shares. Here’s the rollout. It takes about fifteen minutes for five people. The reference version is /docs/team-setup.
Step 1: Create the workspace and invite everyone first
Sign in to create the workspace. Open the Team page and invite everyone before anyone runs an installer.

The order matters. A teammate who signs in before being invited gets a personal workspace. Their agents then report to a workspace you can’t see, under rules nobody set. You can fix it (send the invite, have them accept, reinstall), but it’s easy to avoid.
There are three ways in:
- Paste emails on the Team page. Commas or newlines both work.
- Copy a shareable invite link for the team channel. It’s valid for 30 days.
- Claim your company domain so future signups join on their own. Public domains like gmail can’t be claimed, so those teammates need an invite.
There are four roles: owner, admin, member, viewer. Owners and admins set the rules and decide approvals. Members run agents under those rules. People are free on every plan. You pay for agents that start work, not per teammate.
Step 2: Each teammate runs one installer
curl -sf https://agenticcontrolplane.com/install.sh | bash
Everyone runs the same command. It finds the agents on the machine (Claude Code, Codex, and the rest) and installs a hook. The hook checks each tool call against the workspace rules before it runs and logs it afterward. Because the invite was accepted first, the install lands in the team workspace. Each member gets their own key, so calls show up under a person, not a shared login.
This is where the mixed-tool problem goes away. Nobody translates rules between formats. Every agent reports to the same place. What each hook can see still differs by agent, so check the coverage page for yours.
Step 3: Set the rules once, and start in audit mode
Rules live in the workspace, not on laptops. Three layers apply together, and the strictest wins:
- Workspace rules everyone gets, such as ask before
Bash.git.push, ask beforeBash.rm. - Role defaults, so a new member starts with sensible limits.
- Per-person overrides for real exceptions.
New workspaces start in audit mode. Everything is recorded and your rules don’t block yet, so the console shows what would have been held. Run a normal day or two, read that list, then switch on the rules you trust. That beats guessing, and it’s how you avoid a policy people route around.
One thing applies from the first call, even in audit mode: the safety floor. A force-push, destructive SQL passed to a database client, and curl | sh wait for approval. A recursive delete outside the project waits too. A few things, like rm -rf on your home directory, are always blocked. An owner or admin can switch the floor off on the Policies page. Rules that stop the scary things lists what it does and doesn’t cover.
Two things matter at team scale:
- Only people can change rules. An agent’s key can’t edit policy, so an agent that’s been prompt-injected can’t loosen its own limits. It can propose a rule. A signed-in human has to apply it.
- Approvals go to owners and admins. When a rule says ask, a person with a name decides. An agent can’t approve its own request.
Step 4: Check it covers everyone
Open the console. Every teammate should have rows within their first session. No rows means they haven’t installed, or they landed in a personal workspace (the step 1 mistake). Each row says which agent made the call, for which person, and which rule applied. A settings file on a laptop can’t tell you that.
If someone runs an orchestrator like Orca or /fleet and it skips the agent’s prompts, the hook can still run, because it isn’t part of the prompt. That holds only where the agent still fires its hooks, so test the orchestrator you use.
If ACP can’t be reached, the Claude Code plugin lets interactive sessions continue with a loud UNGOVERNED banner. It blocks background and subagent runs until the gateway answers. The shared hook other agents use lets everything continue unless you set ACP_FAIL_MODE=closed on that machine. ACP runs as a hook on each laptop, so turning hooks off in the agent turns it off too.
Other ways to get one set of rules
A shared console isn’t right for every team. Here’s what else exists, as of September 2026:
- One file per tool, committed to the repo. Free, and fine for one tool. With two or more, you keep several formats in sync by hand, and the rules only apply on machines that pulled the latest commit.
- agentperm. One
allow/ask/denyfile that Claude Code, Codex CLI, OpenCode, Gemini CLI and Kiro all check through their hooks. It parses shell, Python and SQL instead of matching text, and a project file can’t loosen adeny. Teams share it by committing the file. It has no audit log (opt-in debug traces only) and no way to send anaskto someone else. Open source, MIT. - Pushary. Per-tool auto-approve, deny or escalate across Claude Code, Codex, Cursor and Hermes. Escalations arrive as a push on your phone, and there’s an audit trail. Its page lists matching on arguments as not shipped yet. From $9.99 a month. It doesn’t describe shared team rules.
- ACP, the walkthrough above. One workspace for Claude Code, Codex, Cursor, OpenCode, Hermes and the rest, with coverage that varies by tool. Rules are keyed by tool and command (
Bash.rm,WebFetch.<host>). Owners and admins decide approvals, and one audit log puts a name on every row. It isn’t a sandbox. If the agent handles untrusted input, run it in a container too.
With one developer and one tool, that tool’s settings file is enough. Once it’s a team, you need the same rules on every laptop and a way to see what ran. That’s what a shared workspace gives you.
The full reference, with the role table and per-agent notes, is at /docs/team-setup. For why per-tool files can’t be the team layer, read who controls the fleet and your rules file is not a policy.
Running Codex? One command adds a hook for shell, apply_patch and MCP calls. Each call is recorded, and a force-push, destructive SQL or curl | sh is blocked until you approve it on the console or from the email.
curl -fsSL https://agenticcontrolplane.com/install.sh | bash
irm https://agenticcontrolplane.com/install.ps1 | iex
What the installer writes · Codex guide · free up to 5 agents