GuideClaude CodeIntermediate20 min to do

I planned a trip in chat, then asked Claude Code to build the itinerary page. One shared notes file beat retyping everything.

Claude.ai chat and Claude Code don't read each other's conversations, so the usual fix is retyping everything. I tested a one-file alternative on a trip with 8 planted facts, with a fresh Claude Code session each time, and it beat retyping on both accuracy and effort.

Shared notes file got 8/8 facts every time with a 29-word prompt; retyping by hand got 7.7/8 with 78 words; sharing nothing got 0/8, Claude Code just stopped and asked.
CC
Claude Code Lab
·November 29, 2026·7 min read
I planned a trip in chat, then asked Claude Code to build the itinerary page. One shared notes file beat retyping everything.

Level: Intermediate. About 20 minutes. Needs Claude Code installed (a free download) and a few minutes of typing.

If you've ever planned something in a Claude.ai chat and then opened Claude Code to actually build it, you've probably hit this: Claude Code has no idea what you just talked about. It's a different tool. It doesn't read your chat history, and your chat doesn't read its files. The only bridge is you, retyping everything.

That's not a small annoyance. It's the single most-reacted-to open request on Claude Code's GitHub, with 673 reactions and 57 comments, still open after people kept asking for some way to connect the two. I read through it: most people want Claude Code to automatically pull in whatever they discussed in a Claude.ai chat or Project. Nobody's shipped that yet.

So I tested the low-tech fix instead: one plain text file that both sides read. Not a tool, not an integration, just a habit. Here's whether it actually works, tested with planted facts so I could count instead of guess.

Quick definitions, since this isn't just for developers: "Claude.ai chat" is the website you type into in a browser. "Claude Code" is a separate program that runs from a terminal (a plain black text window on your computer) and can read and write real files in a project folder. You start it by typing claude after installing it. That's as technical as this gets.

The test

I invented a trip with 8 specific facts, the kind you'd actually mention while planning something with a friend, not a tidy bulleted list:

  1. Dates: June 3 to June 9, 2027
  2. Travelers: 2 adults and one 11-year-old
  3. Budget: about €150 a day for activities
  4. Must-see: the Belém Tower
  5. Diet: vegetarian, allergic to peanuts
  6. Where to stay: the Alfama neighborhood
  7. Transport: no rental car, walking and transit only
  8. Arrival: flight lands 6:40pm on day one

Step 1: plan it in chat. I had a planning conversation (Sonnet 5, no tools, just talk) dropping those 8 facts across several messages, the way a real conversation goes. At the end I asked for "one clean note, just the facts," and saved what came back as TRIP-NOTES.md.

TRIP-NOTES.md, written once from the planning chat

Step 2: build the itinerary page three different ways, each in a brand-new Claude Code session with no memory of anything before it, so nothing could leak between runs:

  • Cold: just "build me an itinerary page," no facts at all.
  • Retype: paste all 8 facts into the prompt by hand, the thing people actually do today.
  • Shared file: put TRIP-NOTES.md in the project folder and say "read this first."

I ran each one 3 times (9 Claude Code sessions total) and graded the resulting itinerary.html against the 8 facts with a script, checking for the actual dates, numbers, and names, not just a vague mention. I read every output myself afterward rather than trusting the script blindly, which is how I caught the one scoring quirk below.

Same task, three ways of giving Claude Code the facts

The results

Nine fresh Claude Code sessions, three conditions, 8 known facts

Cold got 0 out of 8, in all 3 runs, and it never even wrote the file. I expected it to guess and build something generic. It didn't. It asked:

No trip details anywhere in this folder or our conversation — I need the basics before I can build it. What's the trip? Please give me: Destination(s), Dates, ...

That's a better failure than I expected, but it's still a failure in practice: it means another round of typing, right back to square one.

Retyping everything got 7.7 out of 8 on average, for 78 words of typing. In one of the three runs it mentioned "walking and public transit" but never used the word "car," so my checker (which looked for both words) marked it a miss. I read that output myself: the fact was there in spirit ("no car rental" became "walking only"), just not in the exact wording I was grading for. A human reading it would have been fine. A strict grader wasn't. Worth knowing if you build your own checks this way.

The shared file got 8 out of 8, every single run, for a 29-word prompt. Same accuracy as typing everything out, a third of the words, and it came from a file I'd already have anyway if I'd asked the chat to write one.

Here's what the shared-file run actually produced, rendered in a browser:

The itinerary page Claude Code built from the one notes file

It picked up the dates, the budget, the allergy warning, the neighborhood, the no-car-rental note, and the arrival time, all without me typing a single one of them into the Claude Code prompt a second time.

The template to copy

The file doesn't need to be trip-shaped. Here's the plain version I'd start any project with, four short sections:

# <Project name>

## Key facts
- (the concrete, checkable stuff: dates, numbers, names, budgets)

## Preferences and constraints
- (things that must or must not happen)

## Decisions made
- (choices you've already settled on, so they don't get re-litigated)

## Open questions
- (things still undecided — so nothing gets invented to fill the gap)

Fill it in from your chat the same way I did: at the end of the planning conversation, ask "write this up as a short, plain notes file, just the facts." Paste what it gives you into a file with that name, drop the file in the folder you're working in, and when you move to Claude Code, your whole prompt can be "read NOTES.md first."

How to actually do this yourself

  1. Plan in Claude.ai chat like normal.
  2. Near the end, ask: "Write this up as a short markdown note, just the facts, plain sections, no extra commentary."
  3. Copy what it gives you into a file (I used TRIP-NOTES.md; name it whatever fits) in the project folder you'll open Claude Code in.
  4. Open Claude Code in that folder and say "read [filename] first" before asking for the real task.
  5. Update the same file instead of starting a new one when facts change, so there's one place to check, not three.

What this doesn't tell you

  • 8 invented facts, 3 runs per condition, one model (Sonnet 5), one afternoon. A real project has more facts and more mess than a trip plan.
  • My grading script checks for specific words and numbers. It is not a reading-comprehension test, and it under-counted one correct answer (the "car" miss above) because the model paraphrased instead of repeating my wording. I checked outputs by hand to catch that; a script alone would have called it 8-for-8 vs 7.7-for-8 and you'd have believed a slightly wrong number.
  • I didn't test what happens when the notes file gets long, contradicts itself, or goes stale over weeks. The claude-code-memory guide on this site found that wrong notes get trusted just as easily as right ones, and a notes file you hand-maintain has the same risk.
  • This isn't an Anthropic feature. It's a manual habit: you still have to remember to write the file and keep it updated. The GitHub request this guide responds to is asking for something that does this automatically, and as of this test, nothing does.
  • I tested one project folder on one computer. I didn't test syncing the file across multiple computers or team members.

Sources

  • https://github.com/anthropics/claude-code/issues/2511
  • https://code.claude.com/docs/en/memory

Editorial note: We ran the steps in this guide ourselves and the screenshots come from those runs. Your results may differ with your plan, model or settings, so check anything important. Cover illustrations are AI-generated. Discovia is independent and not affiliated with Anthropic.

Share this guide X LinkedIn

New guides and tools

Hands-on Claude guides, straight to your inbox

Step-by-step walkthroughs of what's new in Claude and Anthropic's tools, with real screenshots and honest results, including what didn't work. No hype, no jargon, no noise.

By subscribing, you agree to receive newsletter and marketing emails, and accept our Terms of Use and Privacy Policy. You can unsubscribe anytime.

Claude Code Lab

Tests of Claude Code features: hooks, skills, rules files and workflows, with the numbers.

More Claude Code guides →

More from this author

Claude Code

I asked Claude to review a pull request with six planted bugs. Without the spec it found three. With it, all six.

Nine reviews, six planted bugs, three setups. Claude never invented a problem, but it could only catch what the code itself shows. The thing that moved the score from three to six was one short file saying what the change was meant to do.

C
Claude Code Lab
5 min read
Read next

Comments

Related Guides