What Is Claude Code? Access, Safety and How to Start

· 6 min read

Anthropic makes Claude Code, a coding assistant that works inside your project folder, where it reads files, edits them and runs commands. A setting called the permission mode decides how often it must ask you first.

Claims about the tool below come from Anthropic's documentation as it stood on 21 November 2026, and we have not run it ourselves.

Where can you run Claude Code?

Anthropic's overview says it connects to your development tools and runs in a terminal, an IDE such as Visual Studio Code, a desktop app and a browser. Unlike a chat window, it acts on your files, the pattern in how an AI agent works.

Every surface shares one engine, so CLAUDE.md files, settings and MCP servers (connections to outside tools) carry across.

What happens when you give Claude Code a task?

Anthropic's page on how it works says a task moves through three phases: gather context, take action and verify results. Claude Code is the layer around the model that supplies tools such as file operations, search, shell commands and git, and manages the context the model sees. MCP servers and hooks (shell commands that run on events) add more.

Each session starts with a fresh context window. It compacts as it fills, and early instructions can get lost, so rules that must last go in a CLAUDE.md file, read at every session start. What a context window is explains the limit, and AI memory and context covers what saved notes change.

What does Claude Code have access to?

Started in a folder, it can reach your project files, your terminal ("any command you could run"), your git state, and your CLAUDE.md files and auto memory (notes it writes itself). In manual mode the folder is a soft boundary: Anthropic's security page says it is a permission prompt, so a shell command you approve can still write anywhere your user account can.

Say a .env file holds a database password. By the docs' table of permissions, reads inside the working directory need no approval in manual mode, so the file is within reach unless a Read deny rule blocks it. The docs' example denies Read(./.env), Read(./.env.*) and Read(./secrets/**), but the permissions page says deny rules do not cover a Python or Node script that opens files itself. Keep real secrets out of the folder.

What stops Claude Code from running a bad command?

Permission settings, and you. The security page says "You're responsible for reviewing proposed code and commands for safety before approval," and that no system is completely immune to all attacks.

A permission mode sets which actions run without asking. Manual mode is read-only until you approve, acceptEdits approves file edits and filesystem commands such as mv, cp and rm inside the working directory, and plan mode blocks edits until you approve a plan. Auto mode has a separate classifier decide instead of you, and the docs warn it reduces prompts but does not guarantee safety. The bypassPermissions mode skips prompts; the docs say to use it only in isolated environments such as containers or VMs. The docs say a terminal session on recent versions can start in auto mode, so check the status bar and press Shift+Tab, or start with claude --permission-mode manual, to reach manual mode before you begin.

Permission rules are allow, ask and deny, with deny checked first. The permissions page says Claude Code enforces them, not the model, so a line in your prompt or CLAUDE.md does not change them.

The sandbox is off by default, and /sandbox turns it on, on macOS, Linux and WSL2; native Windows runs commands unsandboxed. The operating system enforces it for shell commands only. File tools, MCP servers and hooks run outside it, and by default a sandboxed command can still read most of the machine, including ~/.ssh and ~/.aws/credentials.

Anthropic defines prompt injection as malicious text inserted to override an assistant's instructions, and says to review suggested commands and not pipe untrusted content to Claude. Because Claude Code reads repository files and can fetch web pages, a README, issue or page is text an attacker can write: treat instructions inside as suspect. Prompt injection explained covers the attack.

How do I undo a change, and check its work?

Type /rewind to restore the code, the conversation or both to the state before a prompt you pick, as the checkpointing page describes. A file that only shell commands changed is not tracked, edits by subagents usually are not captured, and the how-it-works page says actions on databases, APIs and deployments can't be checkpointed. Git is the permanent history, so commit before a big task, as the safe workflow for AI coding assistants says.

Anthropic's guide to getting more out of Claude Code says Claude can say it is done when it is not quite, usually because it had no way to check its own work. Give it a pass-or-fail check such as tests, and ask for the command it ran and its output. Debugging with AI shows how to test a suspected cause.

What data does Claude Code send and keep?

The data usage page says the program runs locally but the model is reached over the network, and what is sent includes all prompts and outputs. For consumer accounts a setting controls whether that data helps improve future models. For commercial accounts, the page says Anthropic does not train generative models on code or prompts sent to Claude Code under commercial terms, unless the customer chose to provide data. Retention periods differ by account type: the page covers commercial accounts too, while the privacy center article is about consumer plans. For work code, check which account you signed in with and what your employer allows. On Anthropic's own service, /feedback sends the conversation, code included, to Anthropic. AI data retention explained lists what to ask.

On your own disk, the docs say session transcripts are saved in plaintext, including file contents and command output from tools, so a secret Claude reads can end up there. In a cloud session, Anthropic stores the transcript.

How do I start with Claude Code?

Anthropic's quickstart has the install commands for each system; read any command before you run it. Then:

  • Choose a low-stakes project and commit first.
  • Open a terminal in the project folder and run claude. On first use it prompts you to log in, in the browser for subscription and Console accounts.
  • Ask before you change. "Where does the site build its table of contents?" needs only reading.
  • Then make one small change in manual mode, such as renaming a config option, and read the proposed edit before approving.

For a repository you did not write, look inside .claude/, .mcp.json, CLAUDE.md and AGENTS.md first. The docs say a project can bring its own hooks and MCP servers, that .mcp.json does not show every server a session can load, and that an interactive session shows a trust dialog in a folder you have not trusted. To see which instruction files loaded, run /context all.

Where NAMELESS stands

NAMELESS, our own AI model, is still in training, not yet available and without a launch date. Its aims are unlimited context with no rereading of the conversation, an extremely fast model and stronger logic and reasoning: aims, not results. Whichever tool edits your files, reviewing each change stays your job. Join the waitlist to follow its progress.

Product and company names in this article belong to their owners and are used only to describe them. NAMELESS is not affiliated with or endorsed by them.

Keep reading

All posts