42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
---
|
|
id: 648a325a-1ff2-4d18-a3e5-d626f83d1fd9
|
|
type: workflow
|
|
title: "Claude Code session workflow: cc + /rename + remote control (iOS)"
|
|
tags: [claude-code, tmux, remote-control, workflow, ios, homelab]
|
|
importance: 0.55
|
|
confidence: 0.8
|
|
created: "2026-02-26T18:43:57.639901+00:00"
|
|
updated: "2026-02-26T18:43:57.639901+00:00"
|
|
---
|
|
|
|
# Claude Code session workflow: cc + /rename + remote control (iOS)
|
|
|
|
## Context
|
|
|
|
Cal's established workflow for starting and naming Claude Code sessions, including remote access from iOS via claude.ai/code.
|
|
|
|
## Workflow Steps
|
|
|
|
1. Run `cc` (or `cc session-name`) to start a tmux session with `claude` auto-launched
|
|
2. Inside Claude, run `/rename session-name` to set a descriptive name visible in the iOS remote sessions list
|
|
3. Work normally — Agent Teams and remote control are available
|
|
|
|
## Remote Session Naming
|
|
|
|
Session names visible in the iOS remote sessions list are determined in priority order:
|
|
1. `/rename` value (highest priority)
|
|
2. Last message content (fallback)
|
|
3. "Remote Control session" (default fallback)
|
|
|
|
There is no CLI flag to pre-name a session at launch — `/rename` is the only method.
|
|
|
|
## Other Useful tmux Commands
|
|
|
|
- `tmux ls` — list all active sessions
|
|
- `Ctrl+B then s` — interactive session switcher inside tmux
|
|
|
|
## Notes
|
|
|
|
- Remote control must be enabled globally via `/config` in Claude Code
|
|
- The `cc` alias handles tmux nesting so Cal can run it even when his terminal auto-starts tmux
|