From claude-code-docs
Claude Code settings configuration reference. Use when configuring Claude Code behavior, understanding settings hierarchy, or customizing project/user settings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-docs:settings-referenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Configure Claude Code behavior through settings files at different scopes.
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:
npx claudepluginhub DuncanJurman/entropy-plugins --plugin claude-code-docsFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.