# ~/.claude Directory

> The .claude folder in your home folder, for your own setup.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** ~/.claude, home .claude folder

## Think of it like

It is like your own locker. It holds your things for every class.

## Definition

The ~/.claude directory is the .claude folder in your home folder. It holds your own Claude Code setup for each repo you work in. That means settings.json, CLAUDE.md, skills, agents and keybindings.json. Claude Code also writes data there as you work, such as chat logs, history and auto memory. CLAUDE_CONFIG_DIR can move it.

## Example

Jack moves to a new laptop. He copies his ~/.claude folder, and his skills and rules come with him.

## Example code

```console
~/.claude/
  settings.json
  CLAUDE.md
  keybindings.json
  skills/
  projects/
```

Some of what lives in your home .claude folder.

## Why it matters

It is everything that makes Claude Code yours, in one folder.

## Common mistake

Sharing the folder as it is. Its transcripts can hold file contents and command output from your sessions.

## Three principles

- **In your home folder.** Just you.
- **Setup and data.** Both live here.
- **Can be moved.** CLAUDE_CONFIG_DIR.

## Related terms

- [.claude Directory](https://learn.benibix.com/term/ai/claude-directory)
- [CLAUDE_CONFIG_DIR](https://learn.benibix.com/term/ai/claude-config-dir-variable)
- [Session Transcript](https://learn.benibix.com/term/ai/session-transcript)

## Told apart from

- [.claude vs ~/.claude](https://learn.benibix.com/compare/claude-directory-vs-home-claude-directory): People think there is one .claude folder. There are two with the same name. The one in a project holds that project's setup and is shared through git. The one in your home folder holds your own setup for every project, plus the data Claude Code writes as you work. A project file beats the same key in your home one.

---

Source: https://learn.benibix.com/term/ai/home-claude-directory
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
