Back to all articles
TutorialDecember 4, 2026·10 min read

Claude Cowork vs Claude Code - Where Each One Works and What It Remembers (2026)

You hand Claude Cowork a research task in the morning, close your laptop, and the finished report is waiting on your phone at lunch. In the afternoon you open Claude Code in a repository, and it follows the conventions in your CLAUDE.md without being told. Both are Claude doing multi-step work, so it's fair to wonder why they behave so differently, and why something Cowork knew about you this morning doesn't come up in Claude Code.

Anthropic's help center describes Cowork as using "the same agentic architecture that powers Claude Code, with no terminal required." The difference is where each one runs and where its context lives.

The short answer: Claude Cowork runs new tasks in the cloud on Pro, Max, and Ultra plans, saves sessions to your Claude account, and shares memory with chat. Claude Code runs on your computer in a terminal, an IDE, or the desktop app's Code tab, reads CLAUDE.md files, and keeps an auto memory that stays on that machine. Anthropic puts the local option plainly: Claude Code "runs on your computer and keeps your folders and history there."

This guide covers where each one runs, how each handles instructions and memory, where they differ, where they work the same way, which fits which job, and how to keep one set of context steady when you use both.

Claude Cowork vs Claude Code at a glance

DimensionClaude CoworkClaude Code
Where new work runsIn the cloud on Anthropic's servers (Pro, Max, and Ultra)On your computer: terminal, IDE, or the desktop app's Code tab; cloud sessions are a separate option
Where sessions are keptSaved to your Claude account, on desktop, web, and mobileOn your machine, with conversations saved locally
Instructions you writeGlobal instructions, folder instructions, and project instructionsCLAUDE.md files and .claude/rules/
Memory from past workShared with chat in cloud sessions; can be turned off per taskAuto memory, on by default in local sessions
Memory scopeYour account, plus separate memory per projectPer repository, shared across its worktrees
Local filesConnected folders, through Claude Desktop while it's openThe project directory where you run it
When your laptop closesCloud sessions keep workingLocal sessions need the claude process running

Checked against each vendor's documentation on December 4, 2026.

How Claude Cowork works and remembers

Where it runs

"Cowork runs your tasks in the cloud. Claude's work runs on Anthropic's servers, in an isolated environment, and your sessions and files are saved to your Claude account." On October 6, 2026, the Only on your computer option was removed for Pro, Max, and Ultra plans; tasks started locally before that date stay on that computer until they're done.

When a task needs a local file or your browser, Claude reaches it through the Claude Desktop app. A cloud session reads and writes connected folders "only while the desktop app is open".

Instructions

Cowork offers global instructions in Settings > Cowork that apply to every task. Folder instructions "add project-specific context to Cowork when you select a local folder on desktop", and Anthropic notes that "Claude can also update these on its own during a session." Projects group related tasks with "their own files, links, instructions, and memory."

Memory

"In sessions in the cloud, Claude starts from what it already remembers from your chats, and what comes up in a Cowork task carries back to chat." To run one task without memory, turn Memory off in the "+" menu before the first message; that choice "can't be changed later."

Claude's memory help page adds that "Cowork sessions that run locally on your computer don't use memory", and that each project has its own memory.

How Claude Code works and remembers

Where it runs

Claude Code runs in your terminal, in IDE extensions, or as the Code tab in the Claude Desktop app. Anthropic's Cowork article points to it for local work: "For new tasks that run only on your computer, use Claude Code in the desktop app."

Claude Code also has cloud sessions, which "run on cloud infrastructure". Its local sessions are tied to the claude process on your machine.

Instructions

Claude Code loads CLAUDE.md and CLAUDE.local.md from the working directory and the directories above it, and .claude/rules/ files at launch or when matching files are opened. "All discovered files are concatenated into context rather than overriding each other." Anthropic is clear that these files "aren't enforced configuration"; they're context Claude reads.

Memory

Auto memory "lets Claude accumulate knowledge across sessions without you writing anything." It's on by default in local sessions. Notes live in ~/.claude/projects/<project>/memory/, shared by all worktrees of a repository. "Auto memory is machine-local." Files "are not shared across machines or cloud environments."

Where they differ

Where the work happens

Claude Cowork runs new tasks on Anthropic's servers and reaches your computer through the desktop app. Claude Code works in the directory where you start it, on your own machine, unless you choose a cloud session.

What keeps running when you leave

Claude Cowork's cloud sessions continue with your laptop closed, and scheduled tasks "run in the cloud, with no device online." Claude Code's local sessions run as a process on your computer, so they pause when it stops; Remote Control and cloud sessions are the documented ways to work away from that machine.

Where memory lives

Claude Cowork shares account memory with chat in cloud sessions, with separate project memory. Claude Code keeps auto memory per repository on one machine. Neither help page describes sharing the two memories with each other.

How you give lasting instructions

Claude Cowork takes instructions in settings, in folder instructions, and in projects. Claude Code takes them from files in your repository and home directory, which you can commit and review like code.

Moving work between them

For Claude Cowork tasks, Anthropic documents a route to Claude Code: open the task, select Download task data, open the unzipped folder in Claude Code, and run /port-task-data. For the full walk-through, see how to migrate Claude Cowork tasks to Claude Code. Neither tool's documentation describes an automatic sync between a Claude Code session and a Cowork task.

Where they work the same way

  • Same agentic approach. Cowork uses the architecture that powers Claude Code.
  • Plugins carry over. "A plugin you add is saved to your account, so it works in chat and Claude Code as well as Cowork."
  • Account skills. Claude Code's desktop documentation says local and cloud sessions load the skills enabled for your claude.ai account, with an organization setting as the exception.
  • Connectors. Anthropic's connectors article says connectors work across Claude, Claude Desktop, Claude Code, and the API.
  • Memory you can review. Cowork memory is listed in Settings; Claude Code memory is plain markdown you can edit or delete.

Which one fits which job

  • If the task should continue while your computer is off, Claude Cowork's cloud sessions are built for that.
  • If the work must stay on your machine, with history kept there, Anthropic points to Claude Code.
  • If you want lasting instructions versioned with a repository, Claude Code reads them from files.
  • If you want what you told Claude in chat to apply to a task, Claude Cowork shares memory with chat in the cloud.
  • If you need the result on your phone, Claude Cowork sessions open on desktop, web, and mobile; Claude Code offers Remote Control for local sessions.

Using both

When you use both, context collects in several places:

  • Claude's account memory, shared by chat and Claude Cowork in the cloud, plus each project's memory.
  • Cowork global, folder, and project instructions.
  • CLAUDE.md files and .claude/rules/ in each repository.
  • Claude Code auto memory on each machine.

Something you told Claude in a Cowork task may not reach a Claude Code session in your repository, and a correction Claude Code saved in auto memory stays on that machine.

What people try first

Expecting Claude Code to know what Cowork learned. Their memories are documented separately.

Closing the laptop during a long Claude Code run. A local session stops with the process.

Asking Cowork for a local file with the desktop app closed. Cloud sessions reach connected folders only while it's open.

Looking for the Only on your computer setting. It was removed for Pro, Max, and Ultra plans on October 6.

Turning off memory partway through a Cowork task. The setting is fixed when the task starts.

The Fix: Keep shared context in one place

Step 1: Put repository rules in CLAUDE.md

Conventions Claude Code needs belong in the repository.

Step 2: Put role and style in Cowork instructions

Global or project instructions cover how you want Cowork tasks done.

Step 3: Review both memories

Check Cowork memory in Settings and Claude Code memory with /memory. Remove what's outdated.

Step 4: Write the cross-tool context in your own words

Decisions, priorities, and project background that both should know go in a short note you control.

Setting this up in MemoryLake

Claude Cowork keeps its context in your Claude account. Claude Code keeps its context in your repository and on your machine. The decisions that matter to both, such as what the project is for, what was ruled out, and who the work is for, end up in one of them.

MemoryLake is a memory layer for that context, kept in one place you maintain and available to the assistants you connect, such as Claude, Claude Code, ChatGPT, and Codex.

You write the entries yourself. Nothing is read out of, written to, or deleted from your Cowork tasks, projects, or Claude's memory, or from your CLAUDE.md files and Claude Code sessions. Claude Cowork and Claude Code each work the way Anthropic describes them.

Step 1: Create an API key

Sign in and generate a key from the dashboard. Keep it somewhere private.

The MemoryLake console showing the API keys screen, where a new key is created and copied for use in an agent
The MemoryLake console showing the API keys screen, where a new key is created and copied for use in an agent

Step 2: Upload your first memories

Start with the note from Step 4 of the fix: decisions, priorities, and background.

The MemoryLake workspace with the first documents uploaded, listing each file as it becomes searchable memory
The MemoryLake workspace with the first documents uploaded, listing each file as it becomes searchable memory

Step 3: Connect your AI & agents

Connect Claude, Claude Code, and the other assistants you use, so the same context is there in either tool.

The MemoryLake integrations screen listing the AI clients and agent frameworks that can be connected to the memory layer
The MemoryLake integrations screen listing the AI clients and agent frameworks that can be connected to the memory layer

What this changes in practice

The first difference is fewer repeated explanations. A task started in Cowork and finished in Claude Code can draw on the same written context.

The second is less dependence on one surface. Context you wrote doesn't sit only in an account or only on a laptop.

The third is a cleaner split. Repository rules stay in the repository, account preferences stay in Claude, and shared decisions sit in one note.

Best practices for using Claude Cowork and Claude Code together

Choose by where the work should run. Cloud for tasks that continue on their own, local for work that stays on your machine.

Keep the desktop app open for local files. Cowork needs it to reach connected folders.

Commit CLAUDE.md. It shares repository rules with your team.

Use projects in Cowork. Each has its own instructions and memory.

Review memory in both. Settings for Cowork, /memory for Claude Code.

Use the documented route to move a task. Download task data and run /port-task-data.

Conclusion

Claude Cowork runs new tasks in the cloud, saves sessions to your Claude account, and shares memory with chat, with separate memory for each project. It reaches your computer through Claude Desktop and keeps working when you step away.

Claude Code runs on your computer, reads instructions from CLAUDE.md files, and keeps an auto memory per repository on that machine. It's where Anthropic points for work that should stay local.

Frequently asked questions

Does Claude Cowork share memory with Claude Code?

Neither tool's documentation describes it. Cowork shares memory with chat in cloud sessions, and Claude Code's auto memory is machine-local.

Is Claude Cowork or Claude Code better for long tasks?

It depends on where the work should run. Cowork's cloud sessions continue with your laptop closed; Claude Code runs on your machine and keeps history there.

Does Claude Cowork run on my computer?

New tasks on Pro, Max, and Ultra plans run in the cloud. Claude reaches local files through Claude Desktop while it's open.

Does Claude Code read Cowork instructions?

Anthropic's documentation doesn't describe it. Claude Code reads CLAUDE.md files and .claude/rules/.

Can I move a Cowork task to Claude Code?

Yes. Download task data, open the folder in Claude Code, and run /port-task-data.

Do plugins work in both?

Yes. A plugin you add is saved to your account and works in chat, Claude Code, and Cowork.

Can I turn off memory for one Cowork task?

Yes. Turn Memory off in the "+" menu before the first message. It can't be changed later.