Every time you start working with an AI agent, you repeat the same steps: connect to a host, open your project folder, and start your agent manually.
You can automate this by adding a Startup Command like cd ~/my-project/src && claude to your host. Now, when you connect, you’re already inside your project folder with your agent running.
Pro tip: If you use tmux, add a Startup Command tmux attach -t %claude_session_name% to restore your previous session automatically. This lets you continue your AI agent session when switching between desktop and mobile.