The handbook/Claude Code Permissions, Safety and Recovery
Reading settingsOfficial docs ↗

09 / Everyday operating habits

Stay in control
of access and cost.

Know which machine is doing the work, which accounts it can reach, and which usage it consumes.

STEP-BY-STEP HANDBOOK10 min guide

Understand permission modes

ModeWhat changesBeginner guidance
PlanInvestigates and prepares an approach before implementation.Good starting point for an unfamiliar project.
Manual / defaultPrompts according to tool permissions and existing rules.Use while learning the effects of actions.
Accept editsAutomatically permits supported file changes. Other tools still depend on rules.Inspect diffs and understand the working folder.
AutoA classifier evaluates actions instead of asking for each one.Not a promise that every harmful action is blocked.
Bypass permissionsSkips approval prompts.Avoid for everyday beginner work.
dontAskDenies tools that would require interactive approval.Advanced automation setting.

Available modes and defaults differ by interface, plan, policy, and release. Cloud sessions do not provide every local mode. Check the visible mode rather than assuming installation starts with manual approval.

Grant the access the task needs

  • Start Claude in the specific project folder, not your entire home directory.
  • Use /permissions to inspect existing allow, ask, and deny rules.
  • Use separate test credentials and development databases.
  • Restrict GitHub apps and tokens to the intended repositories.
  • Inspect hooks, plugins, MCP servers, and project setup scripts before trusting them.
  • Use a separate user, container, or VM when stronger isolation is needed. Containers still need careful mounts and privileges.

Permission rules and sandboxing address different layers. A deny rule on one file-reading tool is not a complete defense if another allowed tool or external integration can reach the same data. Treat repository instructions and fetched content as untrusted inputs until reviewed.

Where your information goes

Local execution can still send relevant code, conversation content, and tool results to the model provider. Remote Control additionally synchronizes session content through Anthropic. Third-party integrations have their own data access and retention behavior.

Consumer and commercial account terms can differ. Review your actual account’s privacy settings and the current data-usage documentation. Do not assume that using a private repository, a home server, or a paid account makes every request offline or zero-retention.

Keep credentials out of examples

Use secret stores or approved authentication flows. Remove keys, access tokens, personal information, and production records from screenshots and logs before sharing. If a secret leaks, rotate it; hiding the chat or deleting one file is not enough.

Understand the billing paths

Usage pathWhat to check
Claude subscriptionIncluded usage, model availability, limits, and any enabled additional usage.
Console API keyAPI billing, workspace budget controls, token usage, and whether a key overrides the intended login.
Cloud providerProvider-specific authentication, billing, supported models, and regional settings.
Automation and agent teamsEach execution can consume usage. Parallel work can multiply requests.
Home hostingPower, backups, hardware, domain fees, and any external services used by the app.

Use /status to confirm the account and /usage to inspect usage. Exact prices and limits change, so consult current Claude pricing and your billing dashboard rather than relying on a fixed dollar estimate here.

Choose a suitable model in /model. More reasoning or a faster service tier can change consumption and billing. Give focused tasks, inspect /context, and use /clear for unrelated work. Use /compact when you need continuity in a long conversation. Compaction itself processes the conversation.

Keep recovery outside the conversation

Commit reviewed changes in Git and back up files you cannot replace. Claude checkpoints can restore eligible file edits and conversation state, but do not undo every shell command, remote action, database migration, deployment, or external purchase. Test database and server backups separately.

Before a change with lasting effects, decide how to restore the prior state. A successful review reduces uncertainty; it never eliminates the need for backups and independent checks.

Official references: Permissions ↗ · Data usage ↗ · Usage and costs ↗ · Checkpoints ↗ · Remote Control ↗

Put security into practice

Follow the beginner security path, then learn server-side application controls and advanced release reviews. Each lesson includes an implementation prompt and a way to check the result.

Was this chapter useful?

Report an error

Votes are shared only if you enable optional measurement in Privacy settings.

CONTINUE THE GUIDESecurity: beginner

Edit this example

Changes here affect this copy only. Nothing runs from this site. Closing this window discards your edits.

Search the field guide

Search all chapters and FAQ answers. Use Tab to reach a result and Enter to open it.