What you need to know
When hundreds of engineers run coding agents, individual configuration stops being enough. Policies that must hold everywhere need central enforcement; shared workflows need a way to spread without copying files; usage needs to be visible; and the components teams share (prompts, Skills, plugins, MCP servers) need a bar before they reach everyone.
Managed settings: policy that holds
Managed settings are deployed centrally (device management or the admin console) and take precedence over user, project and local settings. They are where non-negotiable policy lives:
| Setting area | Typical policy |
|---|---|
| Permission deny rules | No reading secret files; no force-push to main; no arbitrary network tools |
| Bypass mode disabled | No engineer can switch off permission checks |
| Managed-only permission rules and hooks | Local settings and launch flags cannot widen rules or disable gates |
| MCP allowlist (managed MCP servers only) | Only approved servers load in any session |
| Plugin marketplace restrictions | Plugins install only from approved marketplaces |
| Sandbox required for shell commands | Credential files and environment variables denied; fail to start if the sandbox is unavailable |
| Minimum version | Sessions refuse to start on an unapproved version |
A shared .claude/settings.json in each repository is a team convenience, not enforcement: user and local settings can override it. A security guide or a quarterly review of settings files does not enforce anything.
Layers that cover each other
Permission rules govern Claude's own tools. A shell command run by Claude can still read a cloud credentials file unless the sandbox denies it. Require the sandbox to be available, so sessions fail to start rather than silently running unsandboxed.
Telemetry and gateways
- Telemetry: enable OpenTelemetry export through managed settings to the organization's collector, so every session reports usage, cost and tool decisions; prompt text stays out unless explicitly enabled.
- Gateway routing: route traffic through an LLM gateway that holds credentials, enforces quotas and logs usage. The gateway must forward the headers and endpoints Claude Code uses; feature-specific failures after enabling one usually trace to header handling.
Defaults that shape cost
Most usage runs on defaults. Set a sensible default model and effort level centrally, with per-role overrides where work needs more, and adjust from usage and cost data. Forcing the smallest model for everything blocks hard tasks; no defaults at all tends to make the most expensive settings the norm.
Sharing across teams
Packaging beats copying. Plugins bundle Skills, subagents, hooks and MCP configuration as versioned, installable units distributed through an internal marketplace; managed settings restrict installation to approved marketplaces. A plugin runs code with the engineer's privileges and its hooks fire on matching tool calls, so review it before approving it, and remember that being listed in a public marketplace is not a trust decision.
The bar for sharing a Skill, prompt or MCP server company-wide:
| Requirement | Why |
|---|---|
| An evaluation showing it beats the baseline on realistic cases, including edge cases | Evidence it helps, not just that it works for its author |
| A security review of what it can access and run | Shared components run everywhere |
| A named owner and versioning | Someone updates it when policy or APIs change |
Popularity, a senior engineer's approval or "it works on my machine" are not a bar.
In the exam
Organization-configuration items describe a policy, a bypass or a sharing problem across many engineers. Pick the central, enforced mechanism (managed settings, sandbox, allowlists, marketplace restrictions, gateway, telemetry export) or the evidence-based sharing bar. Distractors rely on repository files, guides, agreements, onboarding steps, periodic reviews, emailed zip files or public listings.
Check your understanding
A regulated company needs engineers unable to disable permission rules, add unapproved MCP servers or use bypass mode. What meets this?
Show answer
Answer: A. Managed settings are enforced on every machine and cannot be overridden locally.
File-tool deny rules block secret files, but a shell command run by Claude can still read cloud credentials. What closes the gap?
Show answer
Answer: C. Permission rules govern Claude's tools; the sandbox restricts what shell commands can read.
What is a sound bar before a Skill is shared company-wide?
Show answer
Answer: B. Shared components become infrastructure, so they need evidence, review and ownership.
Apply it: Configure Claude Code for Riverbend
Riverbend's security team requires: no bypass mode outside containers, no unapproved MCP servers, no prompt text in telemetry, and nobody able to deploy to production without a change ticket. An engineer recently installed a community plugin whose Stop hook called an external URL. 70% of sessions run the most capable model at high effort, and spend is $190,000 a month.
- Write the managed-settings policy as a list of controls.
- Set up plugin and Skill sharing with a quality and safety bar.
- Configure telemetry and routing.
- Set model and effort defaults, and how you will review them.
Show model answer
1. Managed settings.
- Bypass permissions mode disabled; managed-only permission rules and hooks.
- Deny rules for secret files,
curlandwget, and force-push to main. - MCP allowlist: only the platform team's servers, including the three deploy servers.
- A PreToolUse hook on production
releasethat denies calls without an approved change ticket. - Sandbox required for shell commands, with credential files and tokens denied and egress limited to the internal Git host and package registry.
- Plugin installation restricted to Riverbend's internal marketplace; a minimum Claude Code version.
2. Sharing. Teams publish Skills and plugins to the internal marketplace through a pull request. The bar: an evaluation against the baseline on at least 20 realistic cases including edge cases, a security review of hooks, MCP servers and scripts, a named owner and a version. Community plugins are mirrored into the marketplace only after the same review.
3. Telemetry and routing. OpenTelemetry export to the company collector, enabled in managed settings, with prompt logging off. All traffic through the LLM gateway, which holds credentials, applies per-team quotas, and forwards the headers Claude Code needs.
4. Defaults. A mid-tier default model and a moderate default effort for all roles; the platform and staff-engineer roles may select the most capable model. Monthly review of usage and cost by team from telemetry, adjusting defaults where data shows routine work on the expensive settings.