Hooks, Plugins, and Skills Settings
These keys control hooks, plugins, marketplaces, skills, permissions, and the status line.
Many are managed-only keys that let an administrator lock down what users can load.
The hooks, permissions, and statusLine objects are large, so their own pages explain them.
Managed-only keys need a managed source. disableAllHooks, disableBundledSkills, and enabledPlugins are switches.
Keys
Source: Settings Reference for rows marked Documented. For rows marked Undocumented, Source: the program (its bundled settings schema). Where to Set It tells you which files may set the key. See Settings Files and Scopes.
| Key | Status | Type | Default | What It Does | Where to Set It |
|---|---|---|---|---|---|
additional | Documented | object | - | Write extra under this alias name. Do not set both in one file. Needs Claude Code 2. or later. | Any settings file |
allowed | Documented | array of string | - | Limit which URLs HTTP hooks can target. | Any settings file |
🔒 allowed | Documented | array | - | Write strict under this alias name. Do not set both in one file. Needs Claude Code 2. or later. | Managed settings only |
🔒 allow | Documented | boolean | - | Run only the hooks your organization deploys. | Managed settings only |
🔒 allow | Documented | boolean | - | Make managed settings the only settings source of permission rules. | Managed settings only |
🔒 append | Differs | array of string | - | List managed plugins whose hooks run last, in the listed order. The docs list the scope as user or managed. The schema marks it managed-only. | User or managed settings |
blocked | Documented | array | - | Block plugin marketplace sources for your organization. | Managed settings only |
disable | Documented | boolean | - | Turn off hooks, a custom status line, and a custom @ file suggestion command at once. | Any settings file |
disable | Documented | enum: disable | - | Remove auto mode from the permission mode cycle. | Any settings file |
disable | Documented | boolean | - | Turn off the skills and workflows included with Claude Code. | Any settings file |
🔒 disable | Documented | boolean | - | Block plugins that install by running a marketplace-declared command. | Managed settings only |
🔒 disable | Documented | boolean | - | Reject the CLI flags that sideload plugins, subagents, and MCP servers. | Managed settings only |
disable | Documented | boolean | - | Stop skills and custom commands from running inline shell. | Any settings file |
enabled | Documented | object | - | Turn individual plugins on or off per scope. | Any settings file |
extra | Documented | object | - | Register marketplaces for a repository or an organization. | Any settings file |
hooks | Documented | object | - | Run your own commands as hooks at points in Claude Code's lifecycle. | Any settings file |
http | Documented | array of string | - | Limit which env vars HTTP hooks can put in headers. | Any settings file |
output | Documented | string | - | Change Claude's role, tone, and output format with an output style. | Any settings file |
permissions | Documented | object | - | Set allow, ask, and deny rules and the starting permission mode. | Any settings file |
plugin | Documented | object | - | Store the answers you gave a plugin's configuration dialog. | User or managed settings |
plugin | Documented | array of string | - | Choose which marketplaces can surface plugin install suggestions in /. | Managed settings only |
🔒 plugin | Documented | string | - | Add your own text to the plugin trust warning. | Managed settings only |
🔒 prepend | Differs | array of string | - | List managed plugins whose hooks run first, in the listed order. The docs list the scope as user or managed. The schema marks it managed-only. | User or managed settings |
skill | Documented | number | 0. (1%) | Reserve more or less context for the skill listing. | Any settings file |
skill | Documented | integer | 1536 | Cap each skill's description length in the skill listing. | Any settings file |
skill | Documented | object | - | Hide or collapse a skill without editing its SKILL.md. | Any settings file |
⚠️ skip | Documented | boolean | - | Skip the confirmation dialog before bypassPermissions mode. | User, local, or managed settings |
status | Documented | object | - | Run your own command to render a status line below the prompt. | Any settings file |
strict | Documented | array | - | Allowlist the marketplace sources users can add and install from. | Managed settings only |
🔒 strict | Documented | ❓ | - | Block skills, agents, hooks, and MCP servers from user and project sources. | Managed settings only |
sync | Documented | boolean | - | Stop loading the plugins enabled on your claude.ai account and stop downloading new ones. | User, local, or managed settings |
sync | Documented | boolean | - | Stop loading the skills enabled on your claude.ai account and stop downloading new ones. | User, local, or managed settings |
Example
Turn On a Plugin and a Hook
This file turns on one plugin, runs echo done when a turn ends, and stops skills from running inline shell.
.claude/settings.json
{
"enabledPlugins": { "my-plugin@my-marketplace": true },
"hooks": {
"Stop": [
{ "hooks": [ { "type": "command", "command": "echo done" } ] }
]
},
"disableSkillShellExecution": true
}
Related Pages
- Settings Files and Scopes explains the scopes, precedence, and managed settings.
- Settings Reference is the official page for each key.
- Hooks, Plugins, and Skills and Commands explain those features.
- Permissions covers
permissions. - Plugins and MCP Variables lists the matching variables.