/claude-code-docs:settings-referencefrom claude-code-docs
Claude Code settings configuration reference. Use when configuring Claude Code behavior, understanding settings hierarchy, or customizing project/user settings.
Ships in claude-code-docs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Configure Claude Code behavior through settings files at different scopes.
| Priority | Location | Purpose |
|---|---|---|
| 1 (highest) | Enterprise managed | Organization policies |
| 2 | .claude/settings.local.json | Project personal (gitignored) |
| 3 | .claude/settings.json | Project team (shared) |
| 4 | ~/.claude/settings.json | User global |
Higher priority settings override lower.
/Library/Application Support/ClaudeCode/settings.json # Enterprise (macOS)
~/.claude/settings.json # User global
.claude/settings.json # Project team
.claude/settings.local.json # Project personal
{
"permissions": {
"allow": [
"Bash(npm run build)",
"Bash(npm test)",
"Read",
"Write"
],
"deny": [
"Bash(rm -rf /)"
]
}
}
{
"model": "claude-sonnet-4-20250514",
"preferredModels": {
"default": "claude-sonnet-4-20250514",
"agents": "claude-haiku-3-5-20240307"
}
}
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}
{
"hooks": {
"PreToolUse": [{
"matcher": "Bash",
"hooks": [{
"type": "command",
"command": "echo 'Bash tool used'"
}]
}]
}
}
"allow": ["Bash(npm test)"]
"allow": ["Bash(npm *)"]
"allow": ["Read", "Write"]
"allow": ["Bash(npm (test|build))"]
Settings merge across files:
{
"env": {
"NODE_ENV": "development",
"DEBUG": "true"
}
}
These are set when Claude runs Bash commands.
{
"enabledPlugins": {
"formatter@marketplace": true,
"linter@marketplace": true
}
}
{
"extraKnownMarketplaces": {
"company-tools": {
"source": {
"source": "github",
"repo": "org/claude-plugins"
}
}
}
}
{
"strictKnownMarketplaces": [
{
"source": "github",
"repo": "approved/plugins"
}
]
}
{
"trust": {
"autoTrustDirectories": [
"~/projects"
]
}
}
{
"editor": {
"command": "code",
"args": ["--wait", "$FILE"]
}
}
View effective settings:
/settings
Check specific scope:
/settings user
/settings project
| Command | Description |
|---|---|
/settings | View/edit settings |
/config | Configuration wizard |
/permissions | Tool permission management |
{
"permissions": {
"allow": [
"Bash(npm *)",
"Bash(git *)",
"Read",
"Write",
"Edit"
]
},
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "npx prettier --write"
}]
}]
}
}
{
"permissions": {
"deny": [
"Bash(rm *)",
"Bash(git push *)"
]
}
}
For complete documentation, see:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dunc4nj/entropy-plugins --plugin claude-code-docs7 skills in this plugin
/hooks-referenceClaude Code hooks configuration reference. Use when creating hooks, understanding hook events (PreToolUse, PostToolUse, Stop, SessionStart, etc.), debugging hook behavior, or implementing automation./mcp-referenceClaude Code MCP (Model Context Protocol) server configuration reference. Use when adding MCP servers, configuring external tools, or integrating third-party services./memory-referenceClaude Code memory (CLAUDE.md) configuration reference. Use when setting up project memory, understanding memory hierarchy, or configuring persistent instructions.Other plugins' skills for the same job