AI Agent Setup

Remote Claude Code Setup, Claude Session

Posted by Rico's Nerd Cluster on March 22, 2026

Remote Claude Code Setup

  1. Bring up tailscale: sudo tailscale up
  2. Bring up code-server: code-server --bind-addr $(tailscale ip -4):8081
  3. To see password for access cat ~/.config/code-server/config.yaml
  4. Start byobu / tmux. Bring up your claude code. claude code If you are developing in a container, do so in the container
  5. Access remotely by opening a web browser, connect to tailscale on your remote machine, go to the tailscale ip, and type in the password above. Then, find the byobu / tmux page and start coding 😊

Claude Session

Each claude session has a Claude session ID. Each project has a project folder .claude . Each slack thread is for a claude session.

Sessions are saved conversations tied to a project directory, and they can be resumed with --continue, --resume, or a specific session ID. They also mention using claude -p --resume <session-id> from scripts to ask follow-up questions and capture structured output.

1
2
3
4
5
6
project_root/
    CLAUDE.md
    .claude/
        build.md
        docker.md
        known_issues.md