AhmadMasry

Claude Self Hosted Environment Operator — DevOps skill for Claude Code

DevOps community

Kubernetes operator for Claude Code self-hosted environments: fixed and on-demand runner fleets to run claude code agents in.

How to install Claude Self Hosted Environment Operator

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AhmadMasry/claude-self-hosted-environment-operator and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Self Hosted Environment Operator does

Kubernetes operator for Claude Code self-hosted environments: fixed and on-demand runner fleets to run claude code agents in.

Alternatives in DevOps

  • Mirrord — Run any process, on your machine or in an AI agent's environment, as if it were a pod in your Kubernetes clust 5.3k ★
  • Claudebox — A Claude Code Docker Development Environment for running Claude AI's coding assistant in a fully containerized 964 ★
  • Codeg — Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place 850 ★

README

Claude Code self-hosted environment operator

[![Lint](https://github.com/AhmadMasry/claude-self-hosted-environment-operator/actions/workflows/lint.yml/badge.svg)](https://github.com/AhmadMasry/claude-self-hosted-environment-operator/actions/workflows/lint.yml) [![Tests](https://github.com/AhmadMasry/claude-self-hosted-environment-operator/actions/workflows/test.yml/badge.svg)](https://github.com/AhmadMasry/claude-self-hosted-environment-operator/actions/workflows/test.yml) [![E2E](https://github.com/AhmadMasry/claude-self-hosted-environment-operator/actions/workflows/test-e2e.yml/badge.svg)](https://github.com/AhmadMasry/claude-self-hosted-environment-operator/actions/workflows/test-e2e.yml)

A Kubernetes operator that runs [Claude Code self-hosted environments](https://code.claude.com/docs/en/self-hosted-environments) on your cluster. You create one `ClaudeEnvironment` per environment from claude.ai admin settings, point it at a runner image you build and a Secret holding the environment key, and the operator runs the fleet: a fixed set of runners, or an orchestrator that spawns one hardened pod per session. Every pod meets the Restricted Pod Security Standard by default. Give each on-demand environment its own namespace: its orchestrator can create work-order Secrets there.

Status: pre-release. The API is `claude.cloudeng.ps/v1alpha1` and may still change; see [API stability](#api-stability) for what that promises. Every change runs through unit, envtest, kind e2e and upgrade e2e suites in CI, and a manual [real-environment test](docs/testing.md#real-environment-test) registers with Anthropic's control plane and routes a real session through the operator; see [What a run looks like](#what-a-run-looks-like).

Install: the Helm chart (`oci://ghcr.io/ahmadmasry/charts/claude-selfhosted-operator`, values in its [README](dist/chart/README.md)) or the kustomize installer attached to each [release](https://github.com/AhmadMasry/claude-self-hosted-environment-operator