Locations and concepts

Where things live

1In the projectCLAUDE.md, .claude/2Your home folder~/.claude/3The AI's ownMemory

Where memory and Rules live (Windows and Mac)

~ means your "home directory": on Windows C:\Users\YourName\, on Mac /Users/YourName/.

WhatWindowsMac
Personal global rules CLAUDE.mdC:\Users\UserName\.claude\CLAUDE.md~/.claude/CLAUDE.md
Project rules CLAUDE.mdproject-folder\CLAUDE.md or project-folder\.claude\CLAUDE.mdSame (path separator is /)
Personal project rules not checked inproject-folder\CLAUDE.local.mdSame
Rules split by file typeproject-folder\.claude\rules\*.md; personal, all projects: C:\Users\UserName\.claude\rules\.claude/rules/; personal: ~/.claude/rules/
Auto memory (written by Claude itself)C:\Users\UserName\.claude\projects\<project>\memory\~/.claude/projects/<project>/memory/
Rules managed by a companyC:\Program Files\ClaudeCode\CLAUDE.md/Library/Application Support/ClaudeCode/CLAUDE.md

Key point: CLAUDE.md is the rules you write for it; auto memory is the notes it writes for itself. Both are loaded at the start of every conversation. The auto-memory folder has a MEMORY.md index; only about the first 200 lines are read when loading, so keep the index short, one line per item. Source: official memory docs.

T00's way: one memory per file, with "why" and "how to apply" written down, and only a one-line pointer in MEMORY.md. Pure "facts" (anything you can look up in the code) are not stored; only "reasons and preferences you cannot see in the code" are.

Skill, Command, Rule: what is the difference

Who triggers itWhen it is loadedWhere it lives
Rule / CLAUDE.mdAutomaticAt the start of every conversationSee the section above
SkillThe AI decides from the description, or you name itThe full text is read only when used.claude/skills/name/SKILL.md (project) or ~/.claude/skills/ (personal)
CommandYou type /nameWhen typed.claude/commands/name.md or ~/.claude/commands/

Rule of thumb: must be obeyed every time → Rule; a set of steps used now and then → Skill; a fixed routine you want to trigger in one go → Command. The most important part of a Skill is the description at the top (the trigger description): say "when to use me", and the AI will remember it at the right moment. Official pages: Skills, slash commands.

A minimal Skill file:

---
name: deploy-check
description: Use after deploying a website to verify it is reachable online: curl status code, console errors, two-viewport screenshots
---
1. First curl the live URL and confirm 200
2. Open it in a browser, once at phone width and once at PC width
3. List any console errors

T00's own fixed procedure for writing Skills is also a Skill (see t00-skill-writer in the "T00 Skill list").