---
title: "Cursor Continuity vs Claude Code: Project Memory"
description: "Test Cursor continuity against Claude Code on one cold-start job. Keep accepted and rejected decisions in files, then check cross-tool project memory."
canonical: "https://scalewithsearch.com/articles/claude-code-vs-cursor-project-memory"
date: "2026-08-24"
modified: "2026-11-10"
---
## Site navigation

- [Scale With Search](https://scalewithsearch.com/)
- Services
  - Local
    - [All services](https://scalewithsearch.com/services)
    - [AI visibility tracking](https://scalewithsearch.com/services/ai-visibility-tracking)
    - [Google Maps rank tracking](https://scalewithsearch.com/services/google-maps-rank-tracking)
    - [Local SEO](https://scalewithsearch.com/services/local-seo)
    - [Google Business Profile management](https://scalewithsearch.com/services/google-business-profile)
  - Website and search
    - [SEO solutions](https://scalewithsearch.com/seo)
    - [Technical SEO](https://scalewithsearch.com/seo/technical-seo)
    - [On-page and content SEO](https://scalewithsearch.com/seo/on-page-and-content-seo)
    - [Semantic SEO and topical authority](https://scalewithsearch.com/seo/semantic-seo-and-topical-authority)
    - [Custom SEO tools](https://scalewithsearch.com/seo/custom-seo-tools)
    - [Site build](https://scalewithsearch.com/work#site-build)
    - [Whole website fix](https://scalewithsearch.com/work#whole-website-fix)
  - AI functions
    - [AI operations](https://scalewithsearch.com/ai-systems)
  - First step
    - [Working session](https://scalewithsearch.com/audit)
  - Start here
    - [Send your brief](https://scalewithsearch.com/work#send-your-brief)
    - [Example scope](https://scalewithsearch.com/work#review-the-example-scope)
    - [Prices and terms](https://scalewithsearch.com/work#prices-and-terms)
- Industries
  - Agencies
    - [SEO agencies and consultants](https://scalewithsearch.com/for/seo-agencies-and-consultants)
    - [Marketing agencies and freelancers](https://scalewithsearch.com/for/marketing-agencies-and-freelancers)
    - [AI visibility check for SEO agencies](https://scalewithsearch.com/check/seo-agencies-and-consultants)
    - [Marketing and SEO agencies](https://scalewithsearch.com/for/#group-agencies)
  - Browse by business
    - [Trades and field service](https://scalewithsearch.com/for/#group-trades)
    - [Real estate agents and teams](https://scalewithsearch.com/for/real-estate)
    - [Health, wellness, and animal care](https://scalewithsearch.com/for/#group-practices)
    - [Chiropractic and wellness practices](https://scalewithsearch.com/for/chiropractic-and-wellness-practices)
    - [Law, finance, and IT](https://scalewithsearch.com/for/#group-professional)
    - [Machine shops and manufacturers](https://scalewithsearch.com/for/#group-manufacturing)
    - [Restaurants, shops, studios, and nonprofits](https://scalewithsearch.com/for/#group-local-services)
  - [All industries](https://scalewithsearch.com/for/)
- Resources
  - Free tools
    - [AI visibility check](https://scalewithsearch.com/check)
    - [All free tools](https://scalewithsearch.com/tools/)
    - [Free starter kit (.zip)](https://scalewithsearch.com/kit/business-memory-starter-kit.zip)
  - Guides
    - [AI-native library](https://scalewithsearch.com/ai-native)
    - [Industry intelligence](https://scalewithsearch.com/intelligence)
    - [Office job guides](https://scalewithsearch.com/guides/)
    - [Business memory](https://scalewithsearch.com/articles/business-memory-for-ai-agents-guide)
    - [Agent governance](https://scalewithsearch.com/articles/ai-agent-governance-guide-small-business)
    - [Ownership and migration](https://scalewithsearch.com/articles/leaving-vendor-ai-memory-guide)
  - Articles
    - [All articles](https://scalewithsearch.com/articles/)
- About
  - Evidence
    - [Proof](https://scalewithsearch.com/proof)
  - Scale With Search
    - [About](https://scalewithsearch.com/about)
    - [How it works](https://scalewithsearch.com/how-it-works)

# Claude Code vs Cursor for Project Memory: Rules, Decisions, and Repository Continuity.

Built from 9 notes in Victor's vault. Drafted with Claude Fable 5, Claude Fable 5.1, and Claude Opus 5.5, rewritten against Victor's notes with Claude Opus 5.5. Reviewed by Victor on 2026.11.11.

A developer rejects an event-sourcing architecture in Cursor because the service needs a simpler transaction log. Two days later, the developer opens Claude Code. It proposes event sourcing again. The rejection, the reason, and the accepted alternative lived only in the first chat.

Neither tool forgot anything it was given. The repository never held the decision, so neither tool could read it.

A model knows only what you hand it. Each new session starts from the files it can see and the text you type. Starting from zero every time is a cost you pay without noticing. You stop paying it when the decision lives in a file that every tool reads.

Claude Code and Cursor offer different instruction, memory, indexing, editor, and terminal surfaces. Test those features on one cold-start task. Keep accepted and rejected architecture decisions in versioned files, so a switch of tools does not reset the project.

## Autocomplete and project memory solve different jobs

Autocomplete predicts the next useful code near the active edit. Project memory lets a new session recover durable instructions, conventions, and decisions.

A fast completion can be correct while the architecture choice under it is wrong. A long conversation can contain the right decision while a fresh agent never sees it.

Define the memory job before you compare interfaces. For this trial, a new session must select the accepted queue pattern and reject the documented alternative. It must also cite the decision file and run the required tests.

Do not score how natural the editor feels until both tools face the same cold start.

For a repository-change decision, add the [Claude Code and Codex codebase trial](/articles/claude-code-vs-chatgpt-large-codebase) to the continuity test.

## Claude Code reads repository instruction files

Documentation checked September 19, 2026: the linked Claude Code memory and Cursor rules pages describe the instruction-file routes below. Record the installed versions separately. A documentation review is not a product trial.

Anthropic documents several Claude Code memory locations. A project `CLAUDE.md` can hold team-shared instructions. User memory can hold personal preferences. Nested instruction files can enter context when Claude works in their subtree. The `/memory` command shows loaded files. [Anthropic: How Claude remembers your project](https://code.claude.com/docs/en/memory)

I run my own work this way. One root file sits at the top of my vault, and every model that works in it reads that file first. The root file routes the model to a context file for each domain. It holds rules and pointers. It does not hold the whole record.

Treat `CLAUDE.md` the same way. Use it for commands, repository structure, and high-value conventions. Do not let it become a transcript dump.

Put facts with their owning system. Put accepted architecture choices in a decision record. Let `CLAUDE.md` point to that record and say when the model must read it.

Before you add automatic capture, compare [coding-agent memory layers](/articles/claude-mem-alternatives-coding-agents) on accepted and rejected decisions.

The [Claude instruction-scope guide](/articles/claude-custom-project-instructions-limits) separates repository files from account preferences and hosted Project instructions.

## Cursor separates rules from retrieved context

Cursor documents project rules under `.cursor/rules`, user rules, team rules, and `AGENTS.md` instructions. Project rules are version-controlled. They can be always included, attached by file pattern, requested by the agent, or invoked by hand. Cursor says model completions do not retain memory by themselves; rules add reusable context to the prompt. [Cursor: Rules](https://cursor.com/docs/rules)

Cursor also documents automatic codebase context and explicit `@file`, `@folder`, and related context selectors. Its guidance recommends project rules for domain knowledge and workflows. [Cursor: Working with context](https://web.archive.org/web/20250831225804/https://docs.cursor.com/en/guides/working-with-context)

Indexing helps the tool find relevant code. It does not tell the tool that an old decision is current or approved.

## Preserve accepted and rejected decisions in files

Write down both sides of a consequential choice. A useful decision record names status, date, owner, problem, accepted choice, rejected choice, reason, affected paths, and replacement condition.

Rejected choices matter because agents rediscover plausible patterns. Without the reason on file, the same debate repeats in every tool. My working rule is that a draft keeps its accepted and its rejected history. The rejected version stays on record with the reason it lost.

Use stable decision IDs. Put a short pointer in both tools' instruction surfaces:

- Claude Code: read `docs/decisions/ADR-014.md` before queue changes;
- Cursor: attach a scoped rule for `services/queue/**` that references the same file;
- humans: review the same file in code review;
- other agents: discover it through `AGENTS.md` or the repository map.

One decision lives in one file. Every tool points at it. No tool becomes a second source of truth.

The [correction record pattern](/ai-native#people-and-training)<!-- reading-origin:XSgvYXJ0aWNsZXMvY29ycmVjdGlvbnMtYmVjb21lLXN5c3RlbS1tZW1vcnkp --> keeps later fixes from disappearing into the chat where someone noticed them.

## Inspect `repository-decision-memory.md`

```markdown
# Repository decision memory

decision_id:: ADR-014

docs_checked:: 2026.09.19; code.claude.com/docs/en/memory; cursor.com/docs/rules
installed_versions:: record before trial
status:: accepted
owner:: platform maintainer
applies_to:: services/queue/**
accepted:: transactional outbox with existing database
rejected:: event-sourcing platform
reason:: current volume and audit need do not justify a second persistence model
required_test:: npm run test:queue && npm run test:recovery
replacement_condition:: approved ADR supersedes ADR-014

cold_start_task:: add retry metadata without changing the persistence model
expected:: cite ADR-014, use transactional outbox, run both tests
```

Commit the fixture in a disposable trial branch. Do not seed the answer in the chat prompt. The repository supplies it.

## Run a cold-start test in both tools

Use the same clean commit, account permissions, model class where practical, and task text.

1. Start a new Claude Code session in the repository.
2. Ask it to map the queue path and propose the change.
3. Record instruction files read, decision cited, plan, commands, and result.
4. Reset the disposable worktree to the clean trial state.
5. Start a new Cursor conversation with the intended rules and indexing state.
6. Give it the same task and record the same evidence.
7. Repeat each trial after you remove the decision pointer.
8. Repeat after you replace ADR-014 with an accepted superseding decision.

The removal case shows whether the apparent memory came from the repository or from hidden session state. The correction case shows whether the workflow prefers the current decision over a familiar old answer.

## Test cross-tool continuity

Begin discovery in one tool. Save a handoff file with the start commit, files read, decision IDs, planned edits, tests, and open questions. Continue in the other tool without the original transcript.

The second tool should recover the project from repository state and the handoff. It should not need a pasted conversation.

Then reverse the direction. Cursor should continue a Claude Code start, and Claude Code should continue a Cursor start.

This is the practical advantage of [plain-text memory](/articles/#cluster-owned-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvcGxhaW4tdGV4dC1haS1tZW1vcnkp -->. The tool changes. The decision stays readable, diffable, and transferable. My own setup is built so I can swap the model underneath and run the same work, because the rules and the record sit in files around the model.

## Score repository continuity

Use these checks:

1. Did the fresh session find the applicable instruction files?
2. Did it cite the accepted decision?
3. Did it reject the superseded pattern for the documented reason?
4. Did it stay within the affected paths?
5. Did it run the required tests?
6. Did a corrected decision replace the old one on the next cold start?
7. Could the other tool continue from the handoff?
8. Could a human inspect every durable memory input in the repository?

Record misses by cause. A missing pointer is an instruction-design failure. A file found but ignored is an instruction-following failure. A stale file treated as current is a source-status failure.

Do not take the tool's word for a pass. A confident wrong answer looks the same as a confident right one. Check the cited file and the test output yourself.

Run the scorecard with a second developer who did not create the fixture. That person should find the same decision, understand why the alternative lost, and know which test proves the accepted pattern. If the result depends on unwritten team lore, neither tool received a complete project record.

## Compare the products as observed in January 2026

An earlier comparison, dated January 2026, looked at the two products as a buyer sees them. Features and plan terms change, so treat each row as dated.

Cursor is a fork of VS Code with AI in each part of the editor. It offered tab completions that use the codebase, multi-file edits from a natural-language request, and a chat panel for questions, refactors, and debugging. It also offered codebase embeddings and natural-language terminal commands. The buyer could choose a model per task from OpenAI, Anthropic, and Google; the comparison named GPT-4.1, Claude Sonnet, and Gemini Pro. It described the embeddings as covering codebases of 50,000 lines and more.

Inside a session, Cursor kept the project structure, dependencies, code patterns, the current conversation, and the files you opened. Chat context did not carry into the next session. Architecture reasons, client requirements, and coding preferences came back only through rules or a new explanation.

Claude Code is a command-line tool, not an IDE. It reads the project folder, documentation, configuration, and `CLAUDE.md` at each session start. It edits across files and works with Git. It keeps what the files hold: `CLAUDE.md`, the code and structure, READMEs, configuration, and any Git history you include. It does not keep past conversations unless someone writes the result into a file. By default, it does not read files outside the folder you start it in.

| Feature | Cursor | Claude Code |
|---|---|---|
| Product type | AI editor, a VS Code fork | Command-line agent |
| Main job | Faster code through inline suggestions | Project context and repository work |
| Codebase awareness | Embeddings index | Reads the project folder |
| Memory across sessions | Rules in `.cursor/rules`; chat context resets | `CLAUDE.md` and other repository files |
| Models | Several vendors, chosen per task | Claude models only |
| Autocomplete | Inline suggestions | None; chat and agent interaction |
| Multi-file edits | Yes, from a natural-language request | Yes, with the repository context |
| Plan structure | Monthly fee plus a usage credit pool | Included in paid Claude plans |

In January 2026, Cursor's plans ran from a free Hobby tier through Pro, Pro+, and Ultra, plus a Teams plan with SSO. Each paid tier paired a monthly fee with a credit pool of about the same value, and use beyond the pool cost extra. Higher tiers multiplied the usage allowance. Claude Code carried no charge of its own; the paid Claude plan covered its use. Current prices are on each vendor's pricing page.

Choose Cursor if you want AI autocomplete inside an IDE, value model choice, and work in sessions that stand alone. Choose Claude Code if you need project context across weeks or months, or manage several clients or long projects. Its instructions sit in a file that you commit, roll back, and read in any tool. Use both when you want Cursor's speed while you type and repository files that carry decisions between the two tools.

The choice matters less in two cases. If AI does no business-critical work for you, pick the interface you prefer. If a company contract standardizes on one tool, improve the rules and decision files inside that tool before you switch.

## Choose editor-first or terminal-first after the evidence

The same team may use both. Standardize the repository contract. Do not force every developer into one interface.

Keep tool-specific settings thin. Store architecture decisions, test commands, corrections, and handoffs in neutral files. The original lives in your file. A tool's settings panel can hold a copy. Re-run the cold-start fixture after you change rule locations, privacy settings, indexing, models, or repository layout.

## Approval and stopping boundary: Claude Code versus Cursor for project memory

Autonomy and permission are separate settings. A coding agent can read files, run commands, and make changes. What it may do alone is your decision, and you write that decision down before the trial starts. Programmers have lost whole codebases to an agent left to run without limits.

This comparison may create a disposable branch, add synthetic decision fixtures, configure repository-scoped rules, and run local tests. It may inspect generated memories and delete trial-only entries. Run agent edits in an isolated worktree. Read the diff and the test output before any change leaves it.

It stops before a commit to the production branch, a push, a change to shared organization settings, a new external integration, or a deploy. Repository maintainers approve durable rules and architecture decisions. Workspace administrators approve shared product settings.

If the accepted architecture choice has no owner or review status, stop. Resolve the decision before you test agent memory.

The same owned-record method runs each client's content library with SEO and signal desk: [How the build works: Owned files, checks, handoff.](/how-it-works)


## Questions about Claude Code vs Cursor for Project Memory: Rules, Decisions, and Repository Continuity

### How should I compare Claude Code and Cursor for project memory?

Run the same repository cold-start task with the same versioned rules, accepted decision, rejected alternative, and test suite. Score whether each tool finds the governing files, respects the decision record, avoids the rejected path, and leaves a reviewable diff and receipt.

### Do repository rules prevent an AI coding assistant from losing project context?

Rules help with standing conventions, but they do not replace a maintained decision record or a cold-start test. Preserve what was accepted, what was rejected, why it changed, and which files and tests prove the current state.

### Can project memory remain portable between Claude Code and Cursor?

Yes, when the governing rules, decisions, constraints, and handoff evidence live in versioned repository files that both tools can read. Test the same fresh-session prompt in each tool and confirm that neither depends on an inaccessible product memory.

## More reading on Claude Code versus Cursor for project memory

- [Compare how six AI coding assistants keep project memory between sessions](/articles/ai-coding-assistants-memory-comparison)
- [Claude Code vs ChatGPT for a Large Codebase: Repository Context, Tests, and Handoff](/articles/claude-code-vs-chatgpt-large-codebase)
- [Compare Windsurf and Claude Code on how each keeps project context](/articles/#cluster-ai-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvd2luZHN1cmYtdnMtY2xhdWRlLWNvZGUp -->

----

```text
                  .|########||.                                       .|########||.                                       .|########||.
               |##||.      .||##|.                                 |##||.      .||##|.                                 |##||.      .||##|.
             |#|.              .|#|.                             |#|.              .|#|.                             |#|.              .|#|.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
        .#.                          .#|                    .#.                          .#|                    .#.                          .#|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
      |#             ......             #|                |#             ......             #|                |#             ......             #|
     .#           ||#########|           #|              .#           ||#########|           #|              .#           ||#########|           #|
    .#.         |######||######|.        .#.            .#.         |######||######|.        .#.            .#.         |######||######|.        .#.
    #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#
   ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||
   #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #
 ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||
 #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#
 #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.
.|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||
||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||
#.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#
#    .||####|###########################|.     #    #    .||####|###########################|.     #    #    .||####|###########################|.     #
#      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #
#      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #
#      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #
#      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #
#   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #
#. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#
|| |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||
|| ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||
.# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.
 #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#
 ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||
  #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.
   ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||
    #.        .######|#|#########|        .#            #.        .######|#|#########|        .#            #.        .######|#|#########|        .#
    .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.
     |#           ||########||           #.              |#           ||########||           #.              |#           ||########||           #.
      |#             ......             #|                |#             ......             #|                |#             ......             #|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
        |#.                          .#.                    |#.                          .#.                    |#.                          .#.
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
            .|#|.              .|#|.                            .|#|.              .|#|.                            .|#|.              .|#|.
               |##||.      .||##|                                  |##||.      .||##|                                  |##||.      .||##|
                 .||########||.                                      .||########||.                                      .||########||.

Scale With Search  2026  [scalewithsearch.com](https://scalewithsearch.com)
```
