by smithclay
Easy Claude Code devcontainer workflows
# Add to your Claude Code skills
git clone https://github.com/smithclay/claudetainerAuto-configured Claude Code devcontainer with mobile-friendly shell: code from anywhere.
Claude Code automatically configured with a persistent shell session, hooks, slash commands, utilities, and specialized sub-agents designed for coding without a keyboard. Everything runs in an isolated devcontainer using Anthropic's official image.
Get up and running in under 2 minutes on Linux, macOS or WSL:
# 1. Add the tap and install
brew tap smithclay/tap
brew install claudetainer
cd ~/your-project
# 2. Initialize your project with a language preset (go, node, python, rust)
claudetainer init python
# 3. Start the container
claudetainer up
# 4. Connect to the container with SSH key authentication (passwordless)
claudetainer ssh
# 5. (Inside the ssh session) Start Claude Code: all hooks and slash commands automatically load in a nice zellij UI.
claude
No comments yet. Be the first to share your thoughts!
You now have a fully configured Claude Code development environment with specialized sub-agents, automated quality control, slash commands, and team workflows.
npm install -g @devcontainers/climacOS & Linux (Recommended):
# Add the tap (one-time setup)
brew tap smithclay/tap
brew install claudetainer
# Install dependencies
brew install node
npm install -g @devcontainers/cli
Other systems: Direct download or dev container feature
# Project setup
claudetainer init [language] # Create a new devcontainer for your project
claudetainer up # Start container
# Connect and use
claudetainer ssh # Connect with terminal multiplexer
claude # Start Claude Code (inside container)
# Management
claudetainer list # List running containers
claudetainer doctor # Health check and troubleshooting
claudetainer rm -f # Clean removal
Connect from anywhere with persistent sessions:
claudetainer mosh # MOSH + Zellij/tmux multiplexer (better for mobile)
# Uses SSH key authentication (passwordless)
Includes mobile-optimized layouts and push notifications so you can code from your phone effectively.
Want to improve claudetainer? Check out our development guide for:
MIT License - see LICENSE for details.
Many of the original hooks and commands came from sources elsewhere in the Claude Code community, specificaly:
Huge thanks to both of those people.