openclaw-kubernetes: Instructions file for Claude Code

CLAUDE.md

openclaw-kubernetes CLAUDE.md is an instructions file for Claude Code from feiskyer/openclaw-kubernetes. It costs 2,662 tokens per session, scanned D, original, MIT.

Development instructions for a Helm chart, a Kubernetes deployment template, for running OpenClaw and an optional LiteLLM proxy.

In plain words
What is it for?
They help maintain the chart, lint its configuration, render templates, run chart checks, and publish the package.
Why use it?
They give agents the project context and checks needed to catch invalid chart settings or rendered deployment files.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

This is feiskyer/openclaw-kubernetes's own configuration. It tells Claude Code how to work on openclaw-kubernetes itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openclaw-kubernetes configures →

Reuse

Borrowing it

Nothing to install: this file belongs to feiskyer/openclaw-kubernetes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/feiskyer/openclaw-kubernetes/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/feiskyer/openclaw-kubernetes

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-kubernetes CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/feiskyer/openclaw-kubernetes/claude-md.svg)](https://agentmods.dev/instructions/feiskyer/openclaw-kubernetes/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/feiskyer/openclaw-kubernetes/claude-md"><img src="https://agentmods.dev/badge/instructions/feiskyer/openclaw-kubernetes/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,662 This file is loaded in full into every session.
When invoked 2,662 The same file — it is already loaded in full.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02662 $0.02662
Opus 5 $0.01331 $0.01331
Sonnet 5 $0.00532 $0.00532
Haiku 4.5 $0.00266 $0.00266

Measured 7d ago against content hash 0a84a6ced15f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade D, and why

openclaw-kubernetes CLAUDE.md scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- User: `vibe` (UID/GID 1024), non-root with sudo - Installs: `openclaw` (npm), `@openai/codex` (npm), Claude Code, `uv` (Python), `ttyd` (web terminal), `tailscale` (mesh VPN)

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

Optional egress-only NetworkPolicies that block access to the cloud instance metadata service (IMDS at 169.254.169.254). Controlled by `networkPolicy.enabled` (default: `false`). When enabled, creates one policy per comp

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

TOKEN=$(curl -s "https://ghcr.io/token?scope=repository:berriai/litellm:pull" | jq -r .token)
CLAUDE.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

This is a Helm chart repository for deploying OpenClaw (a personal AI assistant gateway) to Kubernetes. The chart deploys two components: an OpenClaw StatefulSet (single-instance, persistent storage) and an optional LiteLLM proxy Deployment for model provider decoupling. It also includes a Dockerfile for the OpenClaw container image.

Development Commands

# Lint the chart against all values files
./scripts/helm-lint.sh

# Render templates to verify correctness (output discarded)
./scripts/helm-test.sh

# Render templates to stdout for inspection
helm template openclaw . -f values.yaml

# Render with a specific values file
helm template openclaw . -f values-production.yaml --set secrets.openclawGatewayToken=test

# Lint with chart-testing tool (used in CI)
ct lint --config ct.yaml

# Package and publish chart to GHCR (requires authentication)
helm registry login ghcr.io -u <username> -p <token>
./scripts/publish-chart.sh

All lint/test scripts pass --set secrets.openclawGatewayToken=lint-token automatically to satisfy the required secret validation.

Version Bump

Follow these steps to release a new chart version:

  1. Update chart version — Bump version and appVersion in Chart.yaml (e.g., 0.1.110.1.12).
  2. Update meta config — Bump openclaw.config.meta.lastTouchedVersion and openclaw.config.meta.lastTouchedAt in values.yaml. These values are rendered into openclaw.json and must be updated on every version bump.
  3. Update changelog — Run git log v<previous>..HEAD --oneline to list all commits since the last version tag. For any merge commits (e.g., Merge pull request #N), also inspect the individual commits they brought in (git log v<previous>..HEAD --oneline will include them). Ensure every non-version-bump commit — including those introduced via merged PRs — is reflected in CHANGELOG.md. Add a summary following the existing format (date, bullet points describing changes).
  4. Commit — Stage Chart.yaml and CHANGELOG.md, commit with message chore: bump chart version to <new-version>.
  5. Tag — Create an annotated tag: git tag v<new-version>.
  6. Push — Ask the user whether to push the main branch and new tag (git push origin main && git push origin v<new-version>).

Read the full file on GitHub · 212 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 212 lines · 2,662 tokens per session scan D 0a84a6ced15f

Subscribe to this mod's changes

openclaw-kubernetes CLAUDE.md is an instructions file published in the GitHub repository feiskyer/openclaw-kubernetes (23 stars, last pushed 2mo ago), licensed MIT. It adds 2,662 tokens to every session, about $0.0133 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens