Atlas AI Resources

Guide

Claude Code: a guide to the terminal agent and cloud sessions

By Atlas AI Resources · Published November 10, 2026

Claude Code is Anthropic's coding agent. It reads your codebase, edits files, and runs commands from your terminal, an IDE, a desktop app, or the browser, and it can also run as a cloud session that keeps going after you close your laptop. This page starts with our own setup advice, then summarizes what Anthropic's docs say, mainly the overview, Use Claude Code in the cloud, and permission modes pages.

1. Our advice: a first safe setup

2. Our advice: where it fits

Use the terminal for work you want to watch and steer. Use a cloud session for a well-scoped task you can describe in one message and review as a branch later. Use the GitHub Action when a team wants @claude in issues and pull requests without everyone installing anything. Whichever you pick, the real gate is your repository's branch protection and required reviews.

3. Per the docs: surfaces and setup

4. Per the docs: permissions and the sandbox

5. Per the docs: CLAUDE.md, hooks, subagents, and MCP

6. Per the docs: cloud sessions

7. Per the docs: GitHub integration

8. How this compares

Claude Code's cloud sessions follow the same pattern as the other cloud agents we cover: an isolated machine, a prepared environment, and a branch that waits for a person. See our Cursor Cloud Agents guide, GitHub Copilot cloud agent guide, and OpenAI Codex Cloud guide. The difference worth knowing is that Claude Code is also a full local terminal agent, so the same CLAUDE.md, rules, and hooks shape both the session on your laptop and the one in the cloud. Codex Cloud's network secrets and Claude Code's work the same basic way: the raw key stays out of the machine. As with all of them, keep the real gate in your repository settings, not in the task description.

Related: Cursor Cloud Agents guide · GitHub Copilot cloud agent guide · OpenAI Codex Cloud guide · Keeping AI agents safe from prompt injection · Parallel agent campaigns · What is MCP? · Agent memory for AI fleets · The standing rules my Grok Bots share · Grok Bot vs Claude Cowork · Devin (Cognition) guide