feat(claude-tmux): spawn detached tmux Claude Code session with Remote Control

New script that launches Claude Code (via claude-profile) inside a detached
tmux session with --remote-control enabled, in a project's directory, named
after the project (Title-cased, auto-incrementing #N on collision). Lets a
session be started for later attach over VPN or control from the Claude app.

Spec-first per repo conventions: specs/claude-tmux.spec.md, script, and
tests/test-claude-tmux.sh (18 dryrun assertions, all passing).

Claude-Session: https://claude.ai/code/session_014oa7T7z1h5n34vu8vX9zGT
This commit is contained in:
Paul O'Reilly
2026-07-25 16:29:46 +12:00
parent 0476c00e81
commit 448091ecf4
4 changed files with 375 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ This project uses **spec-driven development** (OpenSpec) as a testbed for agent-
|--------|---------|--------|
| `check-skills` | Verify Claude Code skill symlinks match source repo | Done |
| `claude-profile` | Claude Code profile + engagement-mode launcher | Done |
| `claude-tmux` | Spawn a detached tmux Claude Code session with Remote Control, named after a project (wraps `claude-profile`) | Done |
| `gen-secret` | Generate bash/YAML/JSON-safe random strings | Done |
| `git-status-report` | Recursive git repo status with diff stats | Done |
| `md-to-docx` | Markdown to DOCX conversion | Done |