SuperPenguinDocs
Company Setup

Roll out to every laptop with MDM

Set up AI coding tracking for your whole company through Jamf, Kandji, Intune or another MDM, with no work for each developer.

If your company manages laptops with an MDM (Jamf, Kandji, Mosyle, Intune and similar), you can turn on SuperPenguin's AI coding tracking for every developer at once. Developers don't install or sign in to anything.

There are two ways to do it:

  • Managed settings (recommended for Claude Code and Codex). Your MDM pushes two small config files. Nothing is installed, and developers can't turn tracking off.
  • The install script. Your MDM runs our installer on each laptop. Use this if you also want Cursor tracked, or want to see which laptops stopped sending.

You can use both together.

Before you start

You need:

  • Owner access to your SuperPenguin organization.
  • An MDM that can deploy files, configuration profiles or scripts to developer laptops.
  • HTTPS access from those laptops to app.superpenguin.ai.

Step 1: Create the organization key

  1. In SuperPenguin, open Settings → AI coding → Coding-tool telemetry.
  2. Choose Whole organization (managed settings).
  3. Select Create organization key.

The key starts with sp-org. and is shown once, so copy it now. It can only send usage data; it can't read anything. Creating a new key revokes the previous one. If the owner who created the key leaves your organization, the key stops working and you need to create a new one.

The same page shows the two snippets below with your key already filled in. Copy them from there.

Step 2: Claude Code

Deploy this file to every developer laptop, replacing sp-org.YOUR_KEY with your key:

{
  "env": {
    "CLAUDE_CODE_ENABLE_TELEMETRY": "1",
    "OTEL_METRICS_EXPORTER": "otlp",
    "OTEL_LOGS_EXPORTER": "otlp",
    "CLAUDE_CODE_ENHANCED_TELEMETRY_BETA": "1",
    "OTEL_TRACES_EXPORTER": "otlp",
    "OTEL_EXPORTER_OTLP_PROTOCOL": "http/json",
    "OTEL_EXPORTER_OTLP_ENDPOINT": "https://app.superpenguin.ai/api/otel",
    "OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer sp-org.YOUR_KEY",
    "OTEL_LOGS_EXPORT_INTERVAL": "60000",
    "OTEL_TRACES_EXPORT_INTERVAL": "60000",
    "OTEL_TRACES_SAMPLER": "always_on"
  }
}
OSPath
macOS/Library/Application Support/ClaudeCode/managed-settings.json
WindowsC:\Program Files\ClaudeCode\managed-settings.json
Linux and WSL/etc/claude-code/managed-settings.json

If you already deploy a managed-settings.json, don't replace it. Add a drop-in file next to it instead, such as managed-settings.d/10-superpenguin.json.

Managed settings take priority over each developer's own settings. Each developer sees a one-time prompt to approve the SuperPenguin endpoint, and tracking starts the next time Claude Code opens.

On a Claude Team or Enterprise plan you can skip MDM for Claude Code: paste the same JSON into claude.ai → Organization settings → Claude Code → Managed settings. That reaches laptops and Claude Code cloud sessions.

Step 3: Codex

Deliver this block as Codex's managed configuration, replacing sp-org.YOUR_KEY with your key:

[otel]
log_user_prompt = false
exporter = { otlp-http = { endpoint = "https://app.superpenguin.ai/api/otel/v1/logs", protocol = "json", headers = { "authorization" = "Bearer sp-org.YOUR_KEY" } } }
trace_exporter = { otlp-http = { endpoint = "https://app.superpenguin.ai/api/otel/v1/traces", protocol = "json", headers = { "authorization" = "Bearer sp-org.YOUR_KEY" } } }

Use either:

  • A macOS configuration profile with the payload domain com.openai.codex, key config_toml_base64, and the block above encoded in base64.
  • A file at /etc/codex/managed_config.toml.

Codex applies it as the default each time it starts. log_user_prompt = false means prompt text is never sent.

Step 4: Network

Allow HTTPS from developer laptops to app.superpenguin.ai. If you use Claude Code cloud environments, add the same host to each environment's network allowlist.

How usage is matched to people

You don't configure anything per person. SuperPenguin matches usage to the account each developer is signed in with: their Claude account in Claude Code, their ChatGPT account in Codex. That email is compared with your SuperPenguin members' emails.

Usage whose email doesn't match a member shows as unmatched with that email. Invite those people and their usage is matched from then on.

Check that it works

After a developer's next Claude Code or Codex session, their usage appears under AI coding within a few minutes, grouped by person.

Settings → AI coding also lists each member as Reporting (usage in the last 24 hours), Offline (no usage for one to two days), Not reporting (no usage for more than 48 hours) or Never set up. With managed settings only, nothing runs on the laptop, so SuperPenguin knows only when usage last arrived: a developer who has not coded for a few days looks the same as a broken setup. The install script below adds an hourly heartbeat that tells the two apart.

Alternative: run the install script

The install script configures every supported tool it finds on a laptop, including Cursor, and keeps a backup of each file it changes. To run it from your MDM without prompts, pass the organization key and --yes:

curl -fsSL https://app.superpenguin.ai/install | SUPERPENGUIN_API_KEY=sp-org.YOUR_KEY sh -s -- --yes

Run it as the logged-in user, not as root: it writes to each developer's home folder, and adds a LaunchAgent that sends a heartbeat every hour. Most MDMs run scripts as root by default, so use your MDM's run-as-user option, or wrap the command in launchctl asuser on macOS. It uses the developer's git email unless you pass --email. Add --status to see what is configured on a machine, --dry-run to preview changes, and --uninstall to remove everything.

See which laptops stopped sending

The heartbeat tells SuperPenguin each hour that a laptop is still set up, and which tools on it send usage. It never sends prompts, code, file paths or the key. Under Settings → AI coding, each member and laptop then shows one of five states with when it was last seen:

  • Reporting: usage arrived in the last 24 hours.
  • Installed, idle: the heartbeat arrived in the last 2 hours, but no recent usage. Nothing to fix.
  • Offline: no heartbeat for 2 to 48 hours. The laptop is probably asleep or off, for example overnight. Nothing to fix yet.
  • Not reporting: no heartbeat for more than 48 hours, for example after the setup was removed or its key was revoked. Run the install script on that laptop again. A laptop shut for a long weekend also shows this until it wakes, so check "last seen".
  • Never set up: the member has no laptop set up.

Because the heartbeat runs as the developer, run the install script with your MDM's run-as-user option. A run as root sets up nothing for the heartbeat and says so.