AI Agent Setup — DevOps skill for Claude Code
Claude Code + tmux + Obsidian, with Grok, Codex and agy isolated in Docker.
How to install AI Agent Setup
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Zenshinzo/ai-agent-setup and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Agent Setup does
Claude Code + tmux + Obsidian, with Grok, Codex and agy isolated in Docker.
Alternatives in DevOps
- Codeg — Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place 850 ★
- Coi — Give the agent a machine 743 ★
- Code On Incus — Give each AI agent its own isolated machine with root, Docker, and systemd 670 ★
README
AI agent setup
How I run Claude Code day to day, plus Grok Build, Codex and Antigravity (agy) as tools, each locked in its own Docker container.
Write-up: [7 Habits of My AI Agent Setup](https://zenshinzo.com/words/7-habits-of-my-ai-agent-setup/)
What's here
| Path | What it does |
|---|---|
bin/tmux-picker |
On ssh login: pick a tmux session or start a new one with Claude in it |
bin/claude-main-session |
Keeps one Claude (with Remote Control) running in tmux from boot |
bin/session-snap |
Records every tmux session and its Claude conversation |
bin/session-restore |
After a reboot: brings the sessions back and resumes each conversation |
bin/session-purpose |
One line saying what each session is for (session-purpose --list shows them all) |
bin/dlog |
Appends a timestamped line to today's log in the vault (optional Discord mirror) |
tmux/tmux.conf |
Hooks that run session-snap when a session opens, closes or is renamed |
docker/grok, docker/codex, docker/agy |
One locked-down container per agent |
vault-template/CLAUDE.md |
A starter instructions file for your vault |
Install
Linux or macOS, with tmux, Python 3.9+, and Claude Code. Make sure `~/.local/bin` is on your PATH.
mkdir -p ~/.local/bin
for f in bin/*; do install -m 755 "$f" ~/.local/bin/; done
grep -q session-snap ~/.tmux.conf 2>/dev/null || cat tmux/tmux.conf >> ~/.tmux.conf
tmux source-file ~/.tmux.conf 2>/dev/null || true # if tmux is already running
Snapshot every 10 minutes too, so a session's conversation is on record even if nothing opens or closes before a reboot (`crontab -e`):
*/10 * * * * $HOME/.local/bin/session-snap
Start the picker on every ssh login (add to `~/.bashrc` or `~/.zshrc`):
if [ -r "$HOME/.local/bin/tmux-picker" ]; then
TMUX_PICKER_RC=1
. "$HOME/.local/bin/tmux-picker"
unset TMUX_PICKER_RC
fi
Vault: the scripts look for `$AGENT_VAULT`, then `~/vault`. Put a timezone nam
Related Skills
Antigravity Sandbox
Lightweight CLI manager for Docker SBX and AI coding agents (Omp, Agy, Opencode, Prime, Codex, Claude, etc). B
Openclaw Obsidian Desktop
Docker setup for running OpenClaw and Obsidian together in a browser-accessible virtual desktop, with an OpenC
Agent Guild
Run Claude Code, Codex, Antigravity, Grok Build and Docker Agent side by side in real terminals. Pick the same
Automated Flywheel Setup Checker
Automated testing framework for ACFS installer scripts — runs all 41 installers in isolated Docker containers
Milk Google
Milk Google · 薅干谷歌 — Step 1 Prelude Skill (Codex / Claude Code / Antigravity) to claim & max out Google AI Ult
Machine
One isolated Lima VM per GitHub project — sandboxed Claude Code/Codex, Docker, Node, signed git
Related Agents
Session Miner
Mines one batch of AI-coding session transcripts (Claude Code, Codex, Grok, and agy) for corrections, errored
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and