Grokking Claude for Beginners
Vote

0% completed

​

Projects, Memory, and Instructions

Part 1: An Ordinary Chat Starts Without Your Documents

Part 2: Projects Hold Files and Instructions for One Subject

Part 3: Memory Saves Topics From Your Chats

Part 4: Account Instructions Apply to Every Chat

Part 5: Which One to Use

Try It Yourself

Key Takeaways

Maya pastes a function she has written into Claude and asks one question: "How should I name this function?" She asks it in two places, and in this example the two replies differ.

  • In an ordinary chat, the reply gives general advice for Python, such as lowercase words joined by underscores.
  • In a workspace that holds her team's style guide, the reply follows the naming rule in that guide and names the file the rule comes from.

The second reply fits her team because Claude read the style guide before it wrote. This lesson explains three features that give Claude information you would otherwise repeat in every chat: Projects, memory, and account instructions.

Part 1: An Ordinary Chat Starts Without Your Documents

An earlier lesson stated that Claude has only the material in the chat. A new chat therefore does not contain your team's documents, and uploading them again in every chat takes time.

The information that people repeat is of three kinds:

  • Files and rules that belong to one subject.
  • Facts about you and your work that appeared in earlier chats.
  • Preferences that apply to all of your work, such as the length of a reply.

The app has one feature for each kind, and the next three parts describe them.

Part 2: Projects Hold Files and Instructions for One Subject

The app lets you create a place that holds files and instructions for one subject, called a Project. Anthropic describes Projects as workspaces "with their own chat histories and knowledge bases".

A Project holds three things:

  • Files, such as documents and guides, which together are called project knowledge.
  • Instructions that tell Claude how to reply, called project instructions. They apply only to chats inside that Project.
  • The chats that you start inside the Project.

Every chat in the Project uses the files and the instructions, so you add them once.

The workspace from the start of the lesson is a Project that Maya creates and names "Checkout Onboarding". She adds two files, the design document and her team's four-page Python style guide, and she writes these project instructions:

I am a new backend engineer on the Checkout team. When you explain something, name the section of the design document it comes from. Write code examples in Python.

Projects are available on every plan, and a free account allows a limited number. On a paid plan, when the files are too large to read all at once, Claude automatically searches the project knowledge for the relevant parts. On a plan for teams, a Project can be shared with "Can view" or "Can edit" access.

Part 3: Memory Saves Topics From Your Chats

The second feature needs no setup. Claude saves topics from your chats and uses them in later chats. This feature is called memory, and it is on by default on individual plans.

Suppose Maya states in several chats that she is new to the Checkout team and writes Python. A later chat can use those facts, and she does not have to state them again. To save a fact directly, write "remember this" in a message.

To see and edit what Claude has saved, open Settings, then Your Claude, and click "Manage" beside "Your memory". You can pause or reset memory on the same screen. Names and positions in the app can change.

Review your memory regularly, because a saved fact that is wrong or old can affect later replies. Four more facts are useful:

  • Sensitive topics are not saved by default.
  • Each Project has its own memory.
  • An incognito chat does not use memory and does not add to it.
  • On a paid plan, you can also ask Claude to find something in your earlier chats.

Part 4: Account Instructions Apply to Every Chat

Some preferences are true for all of your work. The app has a text field for them at Settings > Your Claude > "Instructions", and the text written there applies to every chat. This course calls that text account instructions, to separate it from project instructions.

Account instructions are most useful when they are short and general, as in this example:

I am a backend engineer. Keep replies short. When you are not certain of a fact, say so.

A rule about one subject does not belong there. Maya's sentence about the design document, for example, belongs in her Project.

The diagram below shows where each set of instructions applies.

Account instructions apply to every chat, and a Project adds its files and instructions to the chats inside it
Account instructions apply to every chat, and a Project adds its files and instructions to the chats inside it

Notice that the chat inside the Project is inside both boxes, so it uses the account instructions and also the Project's files and instructions.

Part 5: Which One to Use

The table below lists what each feature holds and where it applies.

FeatureWhat it holdsWhere it applies
<span style="white-space:nowrap">A Project</span>Files and instructions for one subjectChats inside that Project
<span style="white-space:nowrap">Memory</span>Topics saved from your chats<span style="white-space:nowrap">Later chats</span>
<span style="white-space:nowrap">Account instructions</span>Preferences for all of your work<span style="white-space:nowrap">Every chat</span>

In most cases, two questions give the answer. If the information belongs to one subject or includes files, create a Project. If it is a preference for all of your work, write it in the account instructions. Memory needs no decision, because Claude saves topics as you work.

Try It Yourself

Do this task in the Claude app. A free account is enough.

  1. Create a Project, and name it after one subject from your work, such as a service or a client.
  2. Add one file about that subject, such as a guide or a design document that you are permitted to upload.
  3. Write two sentences of project instructions: one that states your role, and one that states how Claude should reply.
  4. Start a chat inside the Project and send this request, with your subject in place of the brackets:
What are the three most important facts about [your subject]? For each fact, name the file it comes from.
  1. Send the same request in a new chat outside the Project.

The Project works if the reply inside it uses details from your file and follows your two sentences, while the reply outside it does not use your file.

Key Takeaways

  • A Project holds files and instructions for one subject. Every chat inside it uses them, so you add the material once.
  • Claude saves topics from your chats and uses them in later chats. You can see, edit, pause, or reset this memory in the settings.
  • Account instructions apply to every chat. Keep them short and general, and put a rule about one subject in a Project.

The next lesson, Artifacts: Documents, Slides, and Small Tools, explains the documents, diagrams, and small tools that Claude creates for you to keep.

Reading Progress

0%


Vote for new content

On This Page

Part 1: An Ordinary Chat Starts Without Your Documents

Part 2: Projects Hold Files and Instructions for One Subject

Part 3: Memory Saves Topics From Your Chats

Part 4: Account Instructions Apply to Every Chat

Part 5: Which One to Use

Try It Yourself

Key Takeaways