Configuration Meta Skill
🚨 MANDATORY: Invoke docs-management First
STOP - Before providing ANY response about Claude Code configuration or settings:
- INVOKE
docs-management skill
- QUERY for the user's specific topic
- BASE all responses EXCLUSIVELY on official documentation loaded
Skipping this step results in outdated or incorrect information.
Verification Checkpoint
Before responding, verify:
If ANY checkbox is unchecked, STOP and invoke docs-management first.
Overview
Central authority for Claude Code configuration and settings. This skill uses 100% delegation to docs-management - it contains NO duplicated official documentation.
Architecture: Pure delegation with keyword registry. All official documentation is accessed via docs-management skill queries.
When to Use This Skill
Keywords: settings, configuration, settings.json, environment variables, permissions, sandbox, enterprise settings, managed-settings.json, user settings, project settings, local settings, tools, hooks configuration, model configuration, plugin settings, precedence
Use this skill when:
- Configuring settings.json files
- Understanding settings hierarchy and precedence
- Setting up permission rules (allow, deny, ask)
- Configuring sandbox settings
- Managing enterprise policies
- Setting environment variables
- Understanding available tools
- Configuring plugin settings
- Troubleshooting configuration issues
Keyword Registry for docs-management Queries
Use these keywords when querying docs-management skill for official documentation:
Settings Files
| Topic |
Keywords |
| Overview |
"settings", "settings.json", "configuration files" |
| User Settings |
"user settings", "~/.claude/settings.json" |
| Project Settings |
".claude/settings.json", "project settings" |
| Local Settings |
"settings.local.json", "local settings" |
| Enterprise |
"managed-settings.json", "enterprise managed policy" |
Available Settings
| Topic |
Keywords |
| Settings Table |
"available settings", "settings options" |
| Model Setting |
"model setting", "model override" |
| Hooks Setting |
"hooks setting", "disableAllHooks" |
| Output Style |
"outputStyle setting", "output style config" |
| Status Line |
"statusLine setting", "status line config" |
| API Key Helper |
"apiKeyHelper", "custom script auth" |
Permissions
| Topic |
Keywords |
| Permission Settings |
"permission settings", "allow deny ask rules" |
| Allow Rules |
"permissions allow", "allow tool rules" |
| Deny Rules |
"permissions deny", "deny tool rules", "excluding sensitive files" |
| Ask Rules |
"permissions ask", "confirmation rules" |
| Default Mode |
"defaultMode", "permission modes" |
Sandbox
| Topic |
Keywords |
| Sandbox Settings |
"sandbox settings", "bash sandboxing" |
| Sandbox Network |
"sandbox network", "allowUnixSockets", "allowLocalBinding" |
| Excluded Commands |
"excludedCommands", "sandbox exclusions" |
| Auto Allow |
"autoAllowBashIfSandboxed", "auto-approve sandboxed" |
Precedence
| Topic |
Keywords |
| Settings Precedence |
"settings precedence", "configuration hierarchy" |
| Override Order |
"enterprise project user precedence", "settings override" |
Environment Variables
| Topic |
Keywords |
| Environment Variables |
"environment variables", "ANTHROPIC_API_KEY" |
| Model Variables |
"ANTHROPIC_MODEL", "model environment" |
| Proxy Variables |
"HTTP_PROXY", "HTTPS_PROXY", "proxy configuration" |
| Telemetry Variables |
"DISABLE_TELEMETRY", "telemetry settings" |
| Bedrock Variables |
"CLAUDE_CODE_USE_BEDROCK", "bedrock environment" |
| Vertex Variables |
"CLAUDE_CODE_USE_VERTEX", "vertex environment" |
Plugins
| Topic |
Keywords |
| Plugin Configuration |
"plugin configuration", "enabledPlugins" |
| Marketplaces |
"extraKnownMarketplaces", "plugin marketplaces config" |
Tools
| Topic |
Keywords |
| Available Tools |
"tools available to Claude", "tool table" |
| Tool Permissions |
"tool permissions", "permission required tools" |
Quick Decision Tree
What do you want to do?
- Configure settings file -> Query docs-management: "settings.json", "available settings"
- Set up permissions -> Query docs-management: "permission settings", "allow deny rules"
- Configure sandbox -> Query docs-management: "sandbox settings", "bash sandboxing"
- Understand precedence -> Query docs-management: "settings precedence", "configuration hierarchy"
- Set environment variables -> Query docs-management: "environment variables", specific variable name
- Configure enterprise policy -> Query docs-management: "managed-settings.json", "enterprise managed policy"
- Set up plugin settings -> Query docs-management: "plugin configuration", "enabledPlugins"
- Understand available tools -> Query docs-management: "tools available to Claude"
- Exclude sensitive files -> Query docs-management: "excluding sensitive files", "deny rules"
- Configure model -> Query docs-management: "model setting", "ANTHROPIC_MODEL"
- Troubleshoot config issues -> Query docs-management: "configuration troubleshooting" + specific issue
Topic Coverage
Settings File Types
- User settings (~/.claude/settings.json)
- Project settings (.claude/settings.json)
- Local settings (.claude/settings.local.json)
- Enterprise policies (managed-settings.json)
- Platform-specific paths (macOS, Linux, Windows)
Key Settings Options
- apiKeyHelper: Custom auth script
- cleanupPeriodDays: Transcript retention
- companyAnnouncements: Startup messages
- env: Environment variables
- includeCoAuthoredBy: Git commit attribution
- permissions: Tool access rules
- hooks: Custom tool event handlers
- model: Model selection override
- statusLine: Status display configuration
- outputStyle: Output format configuration
- forceLoginMethod: Authentication restrictions
Permission Settings
- allow: Auto-approve tool patterns
- ask: Require confirmation patterns
- deny: Block tool patterns
- additionalDirectories: Extended file access
- defaultMode: Initial permission mode
- disableBypassPermissionsMode: Prevent bypass
Sandbox Settings
- enabled: Bash sandboxing toggle
- autoAllowBashIfSandboxed: Auto-approve sandboxed commands
- excludedCommands: Commands outside sandbox
- allowUnsandboxedCommands: Escape hatch control
- network.allowUnixSockets: Socket access
- network.allowLocalBinding: Localhost binding
- network.httpProxyPort: HTTP proxy
- network.socksProxyPort: SOCKS5 proxy
Settings Precedence
- Enterprise managed policies (highest)
- Command line arguments
- Local project settings
- Shared project settings
- User settings (lowest)
Environment Variable Categories
- Authentication (ANTHROPIC_API_KEY, tokens)
- Model configuration (ANTHROPIC_MODEL, etc.)
- Provider settings (Bedrock, Vertex, Foundry)
- Proxy configuration (HTTP_PROXY, HTTPS_PROXY)
- Telemetry and updates (DISABLE_TELEMETRY, etc.)
- Tool behavior (BASH_DEFAULT_TIMEOUT_MS, etc.)
Plugin Configuration
- enabledPlugins: Plugin enable/disable map
- extraKnownMarketplaces: Additional marketplace sources
- Marketplace source types (github, git, directory)
Tools Available to Claude
- File operations (Read, Write, Edit, Glob, Grep)
- Execution (Bash, BashOutput, KillShell)
- User interaction (AskUserQuestion, TodoWrite)
- Specialized (Task, Skill, SlashCommand, WebFetch, WebSearch)
- Notebook (NotebookEdit)
Delegation Patterns
Standard Query Pattern
User asks: "How do I configure permissions?"
1. Invoke docs-management skill
2. Use keywords: "permission settings", "allow deny rules"
3. Load official documentation
4. Provide guidance based EXCLUSIVELY on official docs
Multi-Topic Query Pattern
User asks: "I want enterprise settings with sandbox and restricted permissions"
1. Invoke docs-management skill with multiple queries:
- "managed-settings.json", "enterprise managed policy"
- "sandbox settings", "bash sandboxing"
- "permission settings", "deny rules"
2. Synthesize guidance from official documentation
Troubleshooting Pattern
User reports: "My settings aren't taking effect"
1. Invoke docs-management skill
2. Use keywords: "settings precedence", "configuration hierarchy"
3. Guide user through precedence rules from official docs
Troubleshooting Quick Reference
| Issue |
Keywords for docs-management |
| Settings not applied |
"settings precedence", "configuration hierarchy" |
| Permission denied |
"permission settings", "deny rules" |
| Sandbox blocking commands |
"sandbox settings", "excludedCommands" |
| Environment variable not working |
"environment variables", specific variable name |
| Enterprise policy override |
"managed-settings.json", "enterprise policy" |
| Plugin not loading |
"plugin configuration", "enabledPlugins" |
| Tool not available |
"tools available", "tool permissions" |
Repository-Specific Notes
This repository has project-level settings in .claude/settings.json including:
- Custom hooks configuration
- Permission rules
- Model settings
When modifying this repository's settings, ensure changes align with the hook-management skill guidance for hook configurations.
Auditing Settings
This skill provides the validation criteria used by the settings-auditor agent for formal audits.
Audit Resources
| Resource |
Location |
Purpose |
| Audit Framework |
references/audit-framework.md |
Query guides and scoring criteria |
Scoring Categories
| Category |
Points |
Key Criteria |
| JSON Validity |
20 |
Valid syntax, well-formed |
| Schema Compliance |
25 |
Only valid settings options |
| Permission Rules |
25 |
Valid patterns, appropriate restrictions |
| Environment Config |
15 |
Valid env vars, no secrets |
| Precedence Awareness |
15 |
Correct scope usage |
Thresholds: 85+ = PASS, 70-84 = PASS WITH WARNINGS, <70 = FAIL
Related Agent
The settings-auditor agent (Haiku model) performs formal audits using this skill:
- Auto-loads this skill via
skills: settings-management
- Uses audit framework and docs-management for rules
- Generates structured audit reports
- Invoked by
/audit-settings command
External Technology Validation
When auditing settings that reference external technologies (scripts, packages, runtimes), the auditor MUST validate claims using MCP servers before flagging findings.
Technologies Requiring MCP Validation:
- .NET/C# scripts: Validate with microsoft-learn + perplexity
- Node.js/npm packages: Validate with context7 + perplexity
- Python scripts/packages: Validate with context7 + perplexity
- Shell scripts: Validate with perplexity
- Any version-specific claims: ALWAYS validate with perplexity
Validation Rule:
Never flag a technology usage as incorrect without first:
- Querying appropriate MCP server(s) for current documentation
- Verifying with perplexity for recent changes (especially .NET 10+)
- Documenting MCP sources in the finding
Stale Data Warning:
- microsoft-learn can return cached/outdated documentation
- ALWAYS pair microsoft-learn with perplexity for version verification
- Trust perplexity for version numbers and recently-released features
References
Official Documentation (via docs-management skill):
- Primary: "settings" documentation
- Related: "iam", "hooks", "sandboxing", "model-config", "network-config"
Repository-Specific:
- Project settings:
.claude/settings.json
- Hooks configuration:
.claude/hooks/
Version History
- v1.0.0 (2025-11-26): Initial release
- Pure delegation architecture
- Comprehensive keyword registry
- Quick decision tree
- Topic coverage for all configuration features
- Troubleshooting quick reference
Last Updated
Date: 2025-11-28
Model: claude-opus-4-5-20251101
1---2name: settings-management-23description: Central authority for Claude Code configuration and settings. Covers settings.json files (user, project, enterprise), available settings, permission settings, sandbox settings, settings precedence, plugin configuration, environment variables, and tools available to Claude. Assists with configuring Claude Code behavior, managing permissions, setting up enterprise policies, and troubleshooting configuration issues. Delegates 100% to docs-management skill for official documentation.4---56# Configuration Meta Skill78## 🚨 MANDATORY: Invoke docs-management First910> **STOP - Before providing ANY response about Claude Code configuration or settings:**11>12> 1. **INVOKE** `docs-management` skill13> 2. **QUERY** for the user's specific topic14> 3. **BASE** all responses EXCLUSIVELY on official documentation loaded15>16> **Skipping this step results in outdated or incorrect information.**1718### Verification Checkpoint1920Before responding, verify:2122- [ ] Did I invoke docs-management skill?23- [ ] Did official documentation load?24- [ ] Is my response based EXCLUSIVELY on official docs?2526If ANY checkbox is unchecked, STOP and invoke docs-management first.2728---2930## Overview3132Central authority for Claude Code configuration and settings. This skill uses **100% delegation to docs-management** - it contains NO duplicated official documentation.3334**Architecture:** Pure delegation with keyword registry. All official documentation is accessed via docs-management skill queries.3536## When to Use This Skill3738**Keywords:** settings, configuration, settings.json, environment variables, permissions, sandbox, enterprise settings, managed-settings.json, user settings, project settings, local settings, tools, hooks configuration, model configuration, plugin settings, precedence3940**Use this skill when:**4142- Configuring settings.json files43- Understanding settings hierarchy and precedence44- Setting up permission rules (allow, deny, ask)45- Configuring sandbox settings46- Managing enterprise policies47- Setting environment variables48- Understanding available tools49- Configuring plugin settings50- Troubleshooting configuration issues5152## Keyword Registry for docs-management Queries5354Use these keywords when querying docs-management skill for official documentation:5556### Settings Files5758| Topic | Keywords |59| --- | --- |60| Overview | "settings", "settings.json", "configuration files" |61| User Settings | "user settings", "~/.claude/settings.json" |62| Project Settings | ".claude/settings.json", "project settings" |63| Local Settings | "settings.local.json", "local settings" |64| Enterprise | "managed-settings.json", "enterprise managed policy" |6566### Available Settings6768| Topic | Keywords |69| --- | --- |70| Settings Table | "available settings", "settings options" |71| Model Setting | "model setting", "model override" |72| Hooks Setting | "hooks setting", "disableAllHooks" |73| Output Style | "outputStyle setting", "output style config" |74| Status Line | "statusLine setting", "status line config" |75| API Key Helper | "apiKeyHelper", "custom script auth" |7677### Permissions7879| Topic | Keywords |80| --- | --- |81| Permission Settings | "permission settings", "allow deny ask rules" |82| Allow Rules | "permissions allow", "allow tool rules" |83| Deny Rules | "permissions deny", "deny tool rules", "excluding sensitive files" |84| Ask Rules | "permissions ask", "confirmation rules" |85| Default Mode | "defaultMode", "permission modes" |8687### Sandbox8889| Topic | Keywords |90| --- | --- |91| Sandbox Settings | "sandbox settings", "bash sandboxing" |92| Sandbox Network | "sandbox network", "allowUnixSockets", "allowLocalBinding" |93| Excluded Commands | "excludedCommands", "sandbox exclusions" |94| Auto Allow | "autoAllowBashIfSandboxed", "auto-approve sandboxed" |9596### Precedence9798| Topic | Keywords |99| --- | --- |100| Settings Precedence | "settings precedence", "configuration hierarchy" |101| Override Order | "enterprise project user precedence", "settings override" |102103### Environment Variables104105| Topic | Keywords |106| --- | --- |107| Environment Variables | "environment variables", "ANTHROPIC_API_KEY" |108| Model Variables | "ANTHROPIC_MODEL", "model environment" |109| Proxy Variables | "HTTP_PROXY", "HTTPS_PROXY", "proxy configuration" |110| Telemetry Variables | "DISABLE_TELEMETRY", "telemetry settings" |111| Bedrock Variables | "CLAUDE_CODE_USE_BEDROCK", "bedrock environment" |112| Vertex Variables | "CLAUDE_CODE_USE_VERTEX", "vertex environment" |113114### Plugins115116| Topic | Keywords |117| --- | --- |118| Plugin Configuration | "plugin configuration", "enabledPlugins" |119| Marketplaces | "extraKnownMarketplaces", "plugin marketplaces config" |120121### Tools122123| Topic | Keywords |124| --- | --- |125| Available Tools | "tools available to Claude", "tool table" |126| Tool Permissions | "tool permissions", "permission required tools" |127128## Quick Decision Tree129130**What do you want to do?**1311321. **Configure settings file** -> Query docs-management: "settings.json", "available settings"1332. **Set up permissions** -> Query docs-management: "permission settings", "allow deny rules"1343. **Configure sandbox** -> Query docs-management: "sandbox settings", "bash sandboxing"1354. **Understand precedence** -> Query docs-management: "settings precedence", "configuration hierarchy"1365. **Set environment variables** -> Query docs-management: "environment variables", specific variable name1376. **Configure enterprise policy** -> Query docs-management: "managed-settings.json", "enterprise managed policy"1387. **Set up plugin settings** -> Query docs-management: "plugin configuration", "enabledPlugins"1398. **Understand available tools** -> Query docs-management: "tools available to Claude"1409. **Exclude sensitive files** -> Query docs-management: "excluding sensitive files", "deny rules"14110. **Configure model** -> Query docs-management: "model setting", "ANTHROPIC_MODEL"14211. **Troubleshoot config issues** -> Query docs-management: "configuration troubleshooting" + specific issue143144## Topic Coverage145146### Settings File Types147148- User settings (~/.claude/settings.json)149- Project settings (.claude/settings.json)150- Local settings (.claude/settings.local.json)151- Enterprise policies (managed-settings.json)152- Platform-specific paths (macOS, Linux, Windows)153154### Key Settings Options155156- apiKeyHelper: Custom auth script157- cleanupPeriodDays: Transcript retention158- companyAnnouncements: Startup messages159- env: Environment variables160- includeCoAuthoredBy: Git commit attribution161- permissions: Tool access rules162- hooks: Custom tool event handlers163- model: Model selection override164- statusLine: Status display configuration165- outputStyle: Output format configuration166- forceLoginMethod: Authentication restrictions167168### Permission Settings169170- allow: Auto-approve tool patterns171- ask: Require confirmation patterns172- deny: Block tool patterns173- additionalDirectories: Extended file access174- defaultMode: Initial permission mode175- disableBypassPermissionsMode: Prevent bypass176177### Sandbox Settings178179- enabled: Bash sandboxing toggle180- autoAllowBashIfSandboxed: Auto-approve sandboxed commands181- excludedCommands: Commands outside sandbox182- allowUnsandboxedCommands: Escape hatch control183- network.allowUnixSockets: Socket access184- network.allowLocalBinding: Localhost binding185- network.httpProxyPort: HTTP proxy186- network.socksProxyPort: SOCKS5 proxy187188### Settings Precedence189190- Enterprise managed policies (highest)191- Command line arguments192- Local project settings193- Shared project settings194- User settings (lowest)195196### Environment Variable Categories197198- Authentication (ANTHROPIC_API_KEY, tokens)199- Model configuration (ANTHROPIC_MODEL, etc.)200- Provider settings (Bedrock, Vertex, Foundry)201- Proxy configuration (HTTP_PROXY, HTTPS_PROXY)202- Telemetry and updates (DISABLE_TELEMETRY, etc.)203- Tool behavior (BASH_DEFAULT_TIMEOUT_MS, etc.)204205### Plugin Configuration206207- enabledPlugins: Plugin enable/disable map208- extraKnownMarketplaces: Additional marketplace sources209- Marketplace source types (github, git, directory)210211### Tools Available to Claude212213- File operations (Read, Write, Edit, Glob, Grep)214- Execution (Bash, BashOutput, KillShell)215- User interaction (AskUserQuestion, TodoWrite)216- Specialized (Task, Skill, SlashCommand, WebFetch, WebSearch)217- Notebook (NotebookEdit)218219## Delegation Patterns220221### Standard Query Pattern222223```text224User asks: "How do I configure permissions?"2252261. Invoke docs-management skill2272. Use keywords: "permission settings", "allow deny rules"2283. Load official documentation2294. Provide guidance based EXCLUSIVELY on official docs230```231232### Multi-Topic Query Pattern233234```text235User asks: "I want enterprise settings with sandbox and restricted permissions"2362371. Invoke docs-management skill with multiple queries:238 - "managed-settings.json", "enterprise managed policy"239 - "sandbox settings", "bash sandboxing"240 - "permission settings", "deny rules"2412. Synthesize guidance from official documentation242```243244### Troubleshooting Pattern245246```text247User reports: "My settings aren't taking effect"2482491. Invoke docs-management skill2502. Use keywords: "settings precedence", "configuration hierarchy"2513. Guide user through precedence rules from official docs252```253254## Troubleshooting Quick Reference255256| Issue | Keywords for docs-management |257| --- | --- |258| Settings not applied | "settings precedence", "configuration hierarchy" |259| Permission denied | "permission settings", "deny rules" |260| Sandbox blocking commands | "sandbox settings", "excludedCommands" |261| Environment variable not working | "environment variables", specific variable name |262| Enterprise policy override | "managed-settings.json", "enterprise policy" |263| Plugin not loading | "plugin configuration", "enabledPlugins" |264| Tool not available | "tools available", "tool permissions" |265266## Repository-Specific Notes267268This repository has project-level settings in `.claude/settings.json` including:269270- Custom hooks configuration271- Permission rules272- Model settings273274When modifying this repository's settings, ensure changes align with the hook-management skill guidance for hook configurations.275276## Auditing Settings277278This skill provides the validation criteria used by the `settings-auditor` agent for formal audits.279280### Audit Resources281282| Resource | Location | Purpose |283| --- | --- | --- |284| Audit Framework | `references/audit-framework.md` | Query guides and scoring criteria |285286### Scoring Categories287288| Category | Points | Key Criteria |289| --- | --- | --- |290| JSON Validity | 20 | Valid syntax, well-formed |291| Schema Compliance | 25 | Only valid settings options |292| Permission Rules | 25 | Valid patterns, appropriate restrictions |293| Environment Config | 15 | Valid env vars, no secrets |294| Precedence Awareness | 15 | Correct scope usage |295296**Thresholds:** 85+ = PASS, 70-84 = PASS WITH WARNINGS, <70 = FAIL297298### Related Agent299300The `settings-auditor` agent (Haiku model) performs formal audits using this skill:301302- Auto-loads this skill via `skills: settings-management`303- Uses audit framework and docs-management for rules304- Generates structured audit reports305- Invoked by `/audit-settings` command306307### External Technology Validation308309When auditing settings that reference external technologies (scripts, packages, runtimes), the auditor MUST validate claims using MCP servers before flagging findings.310311**Technologies Requiring MCP Validation:**312313- .NET/C# scripts: Validate with microsoft-learn + perplexity314- Node.js/npm packages: Validate with context7 + perplexity315- Python scripts/packages: Validate with context7 + perplexity316- Shell scripts: Validate with perplexity317- Any version-specific claims: ALWAYS validate with perplexity318319**Validation Rule:**320321Never flag a technology usage as incorrect without first:3223231. Querying appropriate MCP server(s) for current documentation3242. Verifying with perplexity for recent changes (especially .NET 10+)3253. Documenting MCP sources in the finding326327**Stale Data Warning:**328329- microsoft-learn can return cached/outdated documentation330- ALWAYS pair microsoft-learn with perplexity for version verification331- Trust perplexity for version numbers and recently-released features332333## References334335**Official Documentation (via docs-management skill):**336337- Primary: "settings" documentation338- Related: "iam", "hooks", "sandboxing", "model-config", "network-config"339340**Repository-Specific:**341342- Project settings: `.claude/settings.json`343- Hooks configuration: `.claude/hooks/`344345## Version History346347- **v1.0.0** (2025-11-26): Initial release348 - Pure delegation architecture349 - Comprehensive keyword registry350 - Quick decision tree351 - Topic coverage for all configuration features352 - Troubleshooting quick reference353354---355356## Last Updated357358**Date:** 2025-11-28359**Model:** claude-opus-4-5-20251101