Enterprise AI: Run Claude Code at Scale

AI Tools at Organizational Scale: Cursor, ChatGPT Enterprise, and Claude Code

Introduction: Three Layers of AI Adoption

AI adoption in organizations moves along three distinct layers: the individual (a developer or knowledge worker experimenting with a tool), the team (shared workflows and shared configuration), and the organization (governance, security, cost control, and scaling). Most companies stall at the individual layer. The real productivity gains emerge when AI tools are integrated at team and organizational level — with shared conventions, centralized settings, and clear processes from idea to production.

This article covers three leading tools — Cursor, ChatGPT Enterprise, and Claude Code — with a focus on practical use cases, best practices, and how Claude Code in particular can be configured for teams looking to go all the way from IDE to production.’


Cursor at Team and Organization Scale

What Cursor Is and Why Teams Adopt It

Cursor is an AI-native code editor built on a fork of VS Code. It integrates large language models directly into the editing experience: multi-line completion, inline chat, agent mode, and codebase indexing — all within an interface most developers already know. The most important selling point for enterprise teams is low adoption resistance: because Cursor looks and feels like VS Code, developers can start using it without changing their habits.[1]

Cursor is used today by 64% of Fortune 500 companies and is supported by a range of plans tailored to different organizational sizes:

PlanPriceBest For
FreeFreeEvaluation
Pro~$20/month/seatIndividual developers
Teams$40/seat/monthEngineering teams with central billing, SSO, analytics
EnterpriseCustomLarge organizations with SCIM, compliance, extended quotas

Centralized Configuration with the .cursor/ Folder

One of the most powerful yet underused features for teams is the .cursor/ folder and .mdc rule files. Cursor evaluates rules in priority order:

  1. Manually included (explicitly referenced with @rulename)
  2. Auto-attached (files matching glob patterns loaded automatically)
  3. Agent Requested (AI chooses to include when relevant)
  4. Always (included in every context)

User Rules in Cursor Settings apply globally across all projects and are in plain text. Project Rules live in .cursor/rules/ as .mdc files and are version-controlled per project. This means the entire team always works with the same AI behavior when inside the same repo.

Example .mdc rule file:

---
description: RPC Service boilerplate
globs:
- src/services/**/*.ts
alwaysApply: false
---
- Use our internal RPC pattern for defining services
- Always use snake_case for service names

Enterprise Features Released in 2025–2026

In late 2025, Cursor launched a set of enterprise-exclusive features:

  • Team Rules: Centralized rules that apply to the entire organization and cannot be overridden by individual developers
  • Hooks: Automated actions at specific events (e.g., before commit, on PR open)
  • Sandbox Mode: Isolated execution for high-risk operations
  • Audit Logs: Full traceability of what the AI agent has done
  • Analytics Dashboard: Adoption rates, usage patterns per team and individual, AI-assisted code metrics

The Governance Gap and the Solution: AI Gateway

At enterprise scale, five operational gaps emerge that Cursor’s built-in tools don’t fully address:

  1. Vendor lock-in — no centralized model management
  2. Invisible cost — split across API keys, no cross-provider view
  3. Credential sprawl — API keys end up in Slack and environment files
  4. Uncontrolled spend — no budget caps per team or project
  5. No model governance — no RBAC at model and provider level

The solution is placing an AI gateway (e.g., Portkey) between Cursor and LLM providers. The architecture looks like this:

Cursor (developer) → AI Gateway → OpenAI / Anthropic / Bedrock / Vertex AI

The gateway enables: central API keys, budget limits per team/project, full logging with cost attribution, PII filtering, and model governance — all without changing the developer experience.

Best Practices for Cursor in Teams

  • Version-control the .cursor/rules/ folder in git so conventions are shared
  • Separate models for code writing and code review — bias can persist even after context is cleared
  • Choose the right model for the task — use lighter models for simple tasks, more powerful ones for complex work
  • Index the entire project including internal documentation via the “Add Doc” feature
  • Note that .cursorrules is deprecated — migrate to .cursor/rules/*.mdc and consider converting to SKILL.md for portability

ChatGPT Enterprise at Organizational Scale

Positioning and Core Features

ChatGPT Enterprise is OpenAI’s platform for organizations that want to implement generative AI securely and at scale. The difference from individual ChatGPT usage is centralized governance: data is not used for model training, communication is encrypted, SOC 2 compliance applies, and granular admin control is available. Since 2025, the platform has offered a feature called Company Knowledge — a way to aggregate context from all connected tools (Slack, SharePoint, Google Drive, GitHub, Notion, HubSpot, Zendesk, Azure DevOps, Asana, and others) and give ChatGPT access to it while respecting existing permission settings.

Use Cases per Department — The First 90 Days

According to OpenAI’s own data on how ChatGPT Enterprise is used during an organization’s first 90 days, adoption patterns look like this:

Cross-departmental (high adoption across all teams):

  • Ideation and brainstorming
  • Knowledge base and internal research
  • Content review and summarization
  • Text-to-SQL for data analysis

Marketing & Sales:

  • Generating sales scripts and product descriptions
  • Content creation for blogs and social media
  • Communication assistance and email drafting

Customer Service:

  • Automatic matching of requests against product documentation
  • Predefined response templates for common issues
  • Virtual assistants with product-specific knowledge

Finance, Legal & Compliance:

  • Automation of reporting
  • Compliance analysis and contract review
  • Information extraction from documents

HR:

  • CV screening and job descriptions
  • Onboarding assistant

Governance and Integrations

ChatGPT Enterprise supports SSO (Okta, Azure AD, Google Workspace, and others) and offers RBAC for workspace settings. Admins can enable or disable individual actions for custom connectors (e.g., allow read but not write) and manually update connectors when they change. Connectors are disabled by default until an Admin activates them, giving the organization full control over what data the AI agent can reach.

Best Practices for ChatGPT Enterprise

  • Build Custom GPTs for specific departmental needs — one Custom GPT for legal, one for customer service, one for technical documentation
  • Enable Company Knowledge for context-rich AI assistance that respects existing permissions
  • Establish clear policy documents about what may and may not be shared with the AI platform
  • Manage model selection centrally — choose which models are available per workspace
  • Measure adoption per department and identify Champions who can coach colleagues

Claude Code: From IDE to Production at Team and Organization Scale

Claude Code is a terminal-driven, agent-based AI coding tool that does more than suggest code — it plans, edits files, runs commands, and integrates with GitHub, CI/CD pipelines, and MCP servers. It is designed for deep system understanding rather than fast inline completion. Since 2025, Claude Code has been included in Anthropic’s Team and Enterprise plans, addressing the previously decoupled procurement and security flow.

Claude Code harness – anthropic.com

Step 1: Install and Configure the Environment

Prerequisites for the team:

  • Claude Code CLI installed via npm install -g @anthropic/claude-code
  • API key configured — either individually or centrally via an organizational plan with consolidated billing
  • Git access to shared repos with branch-creation permissions

Managed Settings for centralized governance:

managed-settings.json is the organization’s most important configuration file. It is distributed via MDM (Jamf, Kandji, Intune on macOS; Ansible/Puppet on Linux; Group Policy on Windows) and applies to all developers automatically:

{
"permissions": {
"defaultPermissionMode": "acceptEdits",
"allowedTools": ["Read", "Edit", "Write", "Glob", "Grep", "Bash"],
"blockedTools": ["WebFetch"]
},
"settings": {
"model": "claude-sonnet-4-20250514"
}
}

Permission Mode Comparison:

ModeFile ReadingFile WritingCommand ExecutionRecommended For
askAsksAsksAsksHigh-security repos, production services
acceptEditsAutoAsksAsksMost organizations at initial rollout
bypassPermissionsAutoAutoAutoInternal tooling repos, experienced teams

Managed settings always override user settings, which in turn override project settings. Importantly: managed settings cannot be overridden by individual developers.

File locations by scope:

ScopeLocationPurpose
Managed policy (IT/security)/etc/claude/managed-settings.json (Linux) or /Library/Application Support/Claude/ (macOS)Org-wide rules
User-global~/.claude/settings.jsonPersonal preferences
Project (version-controlled).claude/settings.json in the repoTeam-specific settings
Local notes (gitignored).claude.local.mdPersonal session notes

Step 2: CLAUDE.md — The Team’s Most Important File

CLAUDE.md is the project’s “onboarding document that the agent actually reads”. It is placed in the repo root and loaded into every session’s context automatically — no extra prompting required. It is delivered as a user message after the system prompt, which means Claude treats it as guidance rather than hard-coded configuration.

How the CLAUDE.md hierarchy works:

Claude Code reads and concatenates CLAUDE.md files from multiple levels:

  1. Managed policy CLAUDE.md (IT-set, always read)
  2. ./CLAUDE.md in the repo root (shared team rules, version-controlled)
  3. ~/.claude/CLAUDE.md (personal preferences)
  4. ./CLAUDE.local.md (local notes, gitignored)

CLAUDE.md files in subdirectories (e.g., src/auth/CLAUDE.md) are automatically loaded when Claude works with files in that directory, enabling scope-based rules in monorepos.

The 12 most important sections in a good CLAUDE.md:

  1. Project overview (one short paragraph)
  2. Tech stack (runtime, framework, database, package manager)
  3. Project structure (where routes, components, tests, and config live)
  4. Build, run, and test commands (exact commands)
  5. Available MCP servers and when to use them
  6. Code style (naming, formatting, imports)
  7. Architectural decisions and constraints
  8. Workflow rules (branching, commits, deploy flow)
  9. Environments and environment variables
  10. Protected files and directories (never touch X without explicit approval)
  11. Common mistakes to avoid (framed positively)
  12. Test strategy and how fixtures work

Best practices for CLAUDE.md:

  • Keep the file under 200 lines — longer files reduce adherence and consume more context window
  • Write in positive voice, not negations — “Use named exports” instead of “Don’t use default exports”
  • Be specific, not descriptive — “Run npm test before every commit” instead of “Run tests”
  • Link instead of embedding — reference src/lib/errors.ts instead of pasting 40 lines of code
  • Prune regularly — only add a line to CLAUDE.md if removing it would cause Claude to make a mistake
  • Rotate ownership — assign someone on the team to review and update CLAUDE.md monthly

Example of a well-structured CLAUDE.md for a team:

# [Project Name] Claude Code Instructions
## Project Overview
[One short paragraph about what the project does and who uses it.]
## Tech Stack
- Runtime: Node 22, ESM only
- Framework: Next.js 15, React 19
- Database: Postgres via Prisma
- Package manager: pnpm
## Build, Run, Test
- Build: `pnpm build`
- Test: `pnpm test`
- Lint: `pnpm lint`
Run the test command before every commit.
## Code Style
- TypeScript strict mode. No `any` types.
- Use named exports, not default exports.
- camelCase for variables, PascalCase for components.
## Protected Files (always ask before editing)
- `.github/workflows/`
- `prisma/migrations/`
- `.env` files
## Rules We Learned the Hard Way
- Never put secrets in localStorage.
- Always run tests after changes don't skip that step.

Step 3: The Skills System — Reusable Instructions for the Team

Skills are one of Claude Code’s most powerful team features, functioning as reusable instructions stored in SKILL.md files. There are three types:

1. Pre-built skills (from Anthropic)
These ship with Claude Code and require no configuration. Document-creation skills like docx, pdf, pptx, and xlsx are pre-built — they activate automatically when you ask Claude to create a document.

2. Community skills (from the ecosystem)
Installed with a single command and work cross-platform (Claude Code, GitHub Copilot, Cursor, and others):

npx skills add anthropics/skills --skill skill-creator
npx skills list # view installed skills
npx skills find # discover new skills

3. Custom skills (the team’s own)
The most powerful variant for teams. Create a folder and a SKILL.md file:

  • Project level: .claude/skills/your-skill-name/SKILL.md (applies to this project only)
  • Global: ~/.claude/skills/your-skill-name/SKILL.md (applies across all projects)

The structure is always the same: YAML frontmatter with name and description, followed by instructions:

---
name: api-review
description: Reviews API endpoints for security, consistency, and documentation. Use during PR reviews of API code.
---
# API Review Skill
## Instructions
1. Check that all endpoints validate input
2. Verify that auth checks are in place
3. Ensure error responses are consistent
4. Check that OpenAPI documentation is up to date

The description field is critical — it is what Claude uses to determine when to load the skill automatically. Make it specific.

Team workflows with skills:

  • Create a code-review skill with the team’s specific review criteria
  • Create a security-audit skill that activates during PR reviews of sensitive code
  • Create a migration-check skill that always asks before running database migrations
  • Share skills via the repo (.claude/skills/) so the entire team has the same behavior

Step 4: The Workflow from IDE to Production

Phase 1: Planning and exploration
Use Plan Mode (/plan) for any change that will take more than 30 minutes to implement. This prevents the team from building the wrong thing. Write a short spec (two paragraphs: what to build, constraints, and how to verify it) before starting the agent. Those two minutes replace twenty minutes of iteration.

Phase 2: Isolated implementation with git worktrees
Never run two agent sessions on the same branch. Git worktrees give each session its own working directory and branch:

git worktree add ../feature-jwt-auth feature/jwt-auth
cd ../feature-jwt-auth
claude # Start an isolated agent session

Phase 3: Integration with CI/CD via GitHub Actions

Claude Code can be integrated directly into GitHub Actions for automated code review on every PR:

# .github/workflows/claude-review.yml
on:
pull_request:
types: [opened, synchronize]
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
direct_prompt: |
Review this PR against the team's coding standards.
Check: security, type safety, test coverage, and architectural patterns.
Reference CLAUDE.md for project-specific rules.

Official use cases for Claude Code in CI/CD:

  • Automated code review on every PR with a team-specific prompt
  • Interactive reviews triggered when someone comments @claude on a PR
  • Automated security audits (/security-review on the current diff)
  • Release note generation based on all PRs included in a release
  • Automated fixes (/autofix-pr) that push fixes when CI fails

Phase 4: Production monitoring and audit hooks

The organization’s visibility layer is set up via hooks in managed-settings:

{
"hooks": {
"PostToolUse": [{
"type": "http",
"url": "https://audit.internal.company.com/claude-code/events",
"timeout_ms": 5000,
"matcher": { "tool_name": "*" }
}]
}
}

Hooks support three event types for compliance: PreToolUse (can block operations), PostToolUse (logs), and PostToolUseFailure (captures errors). Combined with OpenTelemetry export to Datadog, Grafana, or similar tools, this provides full observability.

Step 5: Rollout Strategy for Organizations

A successful rollout of Claude Code for 50+ developers typically follows a phased schedule:

PhaseDurationTeam SizeKPI TargetGate Criteria to Advance
PilotWeek 1–23–5 devs80% of pilots reach 3+ sessions/weekManaged settings live, audit hook delivering 100%
Department expansionWeek 3–410–20 devsWeekly active ≥ 70% of provisioned seatsCLAUDE.md template in place, <5% permission-denial rate
Cross-departmentWeek 5–630–60 devsWeekly active ≥ 60%, satisfaction ≥ 7/10Department-specific CLAUDE.md files merged, cost dashboard live
Org-wideWeek 7+50–200+ devsWeekly active ≥ 55% for 4 weeksSelf-service onboarding, MDM auto-provisioning

Key tips for a successful rollout:

  • Choose the right pilot team: 3–5 developers with mixed experience levels, working on real projects
  • Train before you roll out — not the other way around. Structure demos around three scenarios: debugging, code review via git diff, and CLAUDE.md walkthrough
  • Create internal champions — the pilot team is paired with the next cohort for peer support
  • Don’t get stuck on tooling implementation — the hard part is behavior change, not the technology

Cost Management at Scale

Claude Code Pro costs $20/month/seat, the Max plan $100–$200/month, Enterprise is custom. Cost strategies:

  • Set Sonnet as the default model in managed-settings — Sonnet handles most everyday coding tasks at a fraction of the Opus cost
  • Team-level budgets — allocate a monthly API budget per team and let the team lead manage the distribution
  • Train for cost-aware usage — clear, specific prompts consume fewer tokens than vague ones
  • Separate API keys for CI/CD — prevent automated jobs from competing with manual usage

Tool Selection: A Decision Framework for Organizations

DimensionCursorChatGPT EnterpriseClaude Code
Primary use caseInteractive code editing, fast completionCross-departmental knowledge work, content, analysisComplex coding, system decisions, CI/CD automation
User groupDevelopersAll departmentsDevelopers (senior+ profile)
Context window70–120k tokens in practiceVaries by task200k (up to 500k+ enterprise)
CI/CD integrationLimitedNoYes, via GitHub Actions
ComplianceSSO, SCIM, audit logsSOC 2, E2E encrypted, no training on dataSSO, RBAC, Compliance API, Analytics API
Adoption thresholdLow (VS Code-like)Low (chat interface)Medium–high (terminal-first, requires configuration)
Best suited forHigh-frequency, low-risk codingKnowledge, process, communicationComplex refactoring, legacy analysis, governed agent flows

The most effective enterprise setup combines all three: ChatGPT Enterprise for cross-departmental knowledge work, Cursor for daily code editing in familiar codebases, and Claude Code for complex system challenges and automated pipelines.


Security and Compliance Notes

EU-specific (GDPR, NIS2, EU AI Act):
For European organizations, it is recommended to route Claude Code through Microsoft Azure AI Foundry rather than directly through Anthropic’s consumer or API endpoints. This provides a Data Processing Agreement under GDPR Article 28, Entra ID access control, and audit logs owned by the organization. Direct use of personal Claude Pro accounts for work tasks lacks a DPA and constitutes “Shadow AI” with real GDPR exposure.

General security principles:

  • Grant read access broadly, write permissions narrowly — give the agent read-access to the database but not mutations
  • Version-control managed-settings.json via git — every change goes through a PR review
  • Separate production and development — bypassPermissions may be acceptable for internal tooling repos but never for production environments

Key Takeaways

Organizations that succeed with AI adoption at team and organizational level share three common traits: they standardize configuration (CLAUDE.md, .cursor/rules/, team rules) instead of letting every individual invent their own solutions; they build observability (audit hooks, telemetry, cost dashboards) from day one; and they treat this as a behavior change, not a technology implementation.

The technical setup — managed settings, CLAUDE.md templates, skills, CI/CD hooks — is achievable in weeks. Getting 50 or 500 developers to actually change how they work takes months. Phase the rollout, invest in internal champions, and measure adoption continuously.

What is Cursor and why do teams adopt it?

Cursor is an AI-native code editor that integrates large language models into the coding experience, making it familiar for developers who use VS Code. Its low adoption resistance and features tailored for enterprise teams make it popular among organizations.

What are the core features of ChatGPT Enterprise?

ChatGPT Enterprise offers centralized governance, data encryption, SOC 2 compliance, and granular admin control. It includes a feature called Company Knowledge to aggregate context from various tools while respecting existing permissions.

What is Claude Code and how does it function?

Claude Code is a terminal-driven, agent-based AI coding tool that plans, edits files, runs commands, and integrates with GitHub and CI/CD pipelines, designed for deep system understanding rather than just code suggestions.


Discover more from The Tech Society

Subscribe to get the latest posts sent to your email.

Leave a Reply