stormi

Agentcubicle — DevOps skill for Claude Code

DevOps community

agentcubicle is a Docker wrapper that runs opencode and Claude Code interchangeably on the same project, keeping all tool configuration and shared context local to the machine so neither pollutes the.

How to install Agentcubicle

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

What Agentcubicle does

agentcubicle is a Docker wrapper that runs opencode and Claude Code interchangeably on the same project, keeping all tool configuration and shared context local to the machine so neither pollutes the repository.

Alternatives in DevOps

  • CLAUDE.md CI/CD Wiki — Community patterns for CLAUDE.md configuration in CI/CD pipelines 22.3k ★
  • CI/CD Helper — CI/CD pipeline configuration and troubleshooting 2.6k ★
  • Coi — Give the agent a machine 743 ★

README

agentcubicle

Run opencode or claude code in an isolated container (Docker, or rootless Podman). Project files are mounted read-write (or read-only with `--readonly`); sessions start in a read-only plan mode that you manually escalate out of once you're ready to let it act.

Why another tool

Well, I didn't know how to choose between all the "isolate your agents" projects, and had a few needs I wanted to be taken care of in priority.

One of my goals was the ability to run an agent from any directory, without extra configuration, and to keep local-to-me context for the next sessions.

I'm sharing the result in case it's useful to anyone, but I don't make any promises about its usefulness. Nor about its security: container sandboxing can be escaped, it's a protection against the most obvious mistakes, but not real security to protect your computer and data.

Features

`agentcubicle` runs `opencode` or Claude Code in a disposable Docker sandbox that attempts to stay out of your way. It's non-intrusive by design: the agent rules and working context it manages live under `.agentcubicle/` and are kept out of git (via `.git/info/exclude`). So nothing of your tooling-specific rules pollutes the project you're working on, unless you decide otherwise. The first time you start it on a project, it seeds a starter set of base rules you can then edit freely. A shared local memory file allows context to flow both ways between agents. Notes opencode leaves behind are picked up by Claude Code, and vice versa.

  • Commit-only workflow: agents can commit inside the container (and will usually ask first when they respect the default rules), but pushing/PRs are left to you on the host. git identity forwarding is an allowlist that deliberately skips credential.helper.
  • Starts every session in a read-only plan mode you manually escalate out of (opencode --agent plan; Claude --permission-mode plan).
  • Containers are removed when the tool exits, so they don't pile up on dis