Skip to content
BENIBIX Learn

.claude Directory

AI⌨️ Claude CodeConfiguration

Also known as .claude folder, project .claude directory

A folder in a repo that holds its Claude Code files.

Think of it like

It is like a drawer in a desk. It keeps the project's Claude things together.

Example

Jack's new teammate clones the repo. The .claude folder comes with it, so her Claude gets the same skills and rules on day one.

Why it matters

It is where a project's whole Claude Code setup lives, in one place.

Definition

The .claude directory is a folder in a repo that holds Claude Code's files for that repo. It can hold settings.json and settings.local.json. It can also hold folders for skills, agents, rules, commands and output styles. Most of it is meant to be committed, so the team shares it. The repo's .mcp.json sits next to it, in the root.

Example code

console
.claude/
  settings.json
  settings.local.json
  skills/
  agents/
  rules/
A typical project .claude folder.
Project files on the left, your own on the right.

Common mistake

Committing settings.local.json with the rest. That file is yours alone, and it should stay out of git.

Key takeaways

  1. 1
    In the project. Next to the code.
  2. 2
    Settings and more. Skills, agents, rules.
  3. 3
    Mostly committed. The team shares it.

Compare