Architecture Compose Resource Limit Env Substitution — DevOps skill for Claude Code
Planning pattern for exposing hard-coded docker-compose deploy.resources limits/reservations (cpus, memory) as overridable Compose ${VAR:-default} substitutions WITHOUT changing default behavior.
How to install Architecture Compose Resource Limit Env Substitution
Installs to ~/.claude/skills/homericintelligence-projectmnemosyne-architecture-compose-resource-limit-env-substitution/SKILL.md
mkdir -p ~/.claude/skills/homericintelligence-projectmnemosyne-architecture-compose-resource-limit-env-substitution && curl -fsSL https://raw.githubusercontent.com/HomericIntelligence/ProjectMnemosyne/HEAD/skills/architecture-compose-resource-limit-env-substitution.md -o ~/.claude/skills/homericintelligence-projectmnemosyne-architecture-compose-resource-limit-env-substitution/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Architecture Compose Resource Limit Env Substitution does
name: architecture-compose-resource-limit-env-substitution license: BSD-3-Clause description: "Planning pattern for exposing hard-coded docker-compose deploy.resources limits/reservations (cpus, memory) as overridable Compose ${VAR:-default} substitutions WITHOUT changing default behavior. CRITICAL test-breakage trap: yaml.safe_load does NOT interpolate ${VAR:-default} — it returns the literal string, so any test/parser that does float(limits['cpus']) on the raw YAML scalar raises ValueError
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 ★
- Claude Code Sandbox — Run Claude Code safely in local Docker containers without having to approve every permission 301 ★
- Deploy To Docker — Build Docker image and start/redeploy the MCP Task Orchestrator container, reusing the last-used config by def 205 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Test Cluster
Inspect the current Kubernetes cluster namespace and the language-operator deployment — check CRs, generated r
Infra Import
Shortcut that loads the infra-copilot import skill — adopt existing provider resources into Terraform (cf-terr
Jvsl.Env.Agents.Code Server
A code-server dev container for agent work: the Claude Code CLI sandboxed by default with ai-jail, opt-in ai-m
Secret Capture Skill
Claude Code skill: capture a secret via hidden-input dialog and route it to 1Password, macOS Keychain, GitHub
Infra Deploy
Use when changing Terraform, Docker, AWS or Azure deployment assets, or deployment documentation, including te
Architecture Container Secret Cmdline Leak Fix
Use when: (1) a secret like ANTHROPIC_API_KEY is passed to a container via -e VAR=value on a podman/docker run
Related Agents
Env Detective
Confirmation phase V2 environment discovery agent that scans the target repository for application startup met
Kavach Env Detective
KAVACH live-validation environment discovery specialist. Scans the target repository for every way to build, r
Worker Test Discovery
When a repo has no documented test procedure or the documented one is broken, this worker figures out how to t