Claude Skills Vs Memory
Claude skills vs memory is a question of timing. In Claude Code, memory loads at the start of every session, while a skill waits until a task needs it. This page sticks to Claude Code and leaves out the claude.ai chat app.
Which One Should Hold My Notes?
Put short facts that every task needs in memory. Put the steps for a single job in a skill.
| Question | Memory | Skill |
|---|---|---|
| When does it load? | It loads at the start of every session. | Its name and description load at the start, and the rest loads when it is used. |
| Who writes it? | You write CLAUDE.md, and Claude writes auto memory. | You write it in a SKILL.md file. |
| What does it cost? | Auto memory loads up to its first 200 lines or 25KB. | Each skill costs about 100 tokens until it is used. |
What Does Memory Keep?
Each session starts with a fresh context window. Claude Code has two ways to carry knowledge from one session to the next.
The first is CLAUDE.md, a file of instructions you write. The second is auto memory, which is notes Claude writes for itself from your corrections and preferences. Our guide to how Claude remembers shows where both kinds of notes live and how to edit them.
Claude treats both as context rather than as rules it must obey. To block an action no matter what Claude decides, use a PreToolUse hook instead.
What Does A Skill Keep?
A skill keeps instructions for one job. Claude Code's memory docs say task steps that don't need to be in context all the time belong in a skill.
A skill's body loads only when it is used. Long reference files cost almost nothing until you need them.
Can I Use Both?
You should. Keep the facts Claude needs every day in CLAUDE.md, and move each long procedure into a skill. Rules for one part of your project can go in the .claude/rules/ folder.