Skip to main content

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.

KeyStatusTypeDefaultWhat It DoesWhere to Set It
additionalMarketplacesDocumentedobject-Write extraKnownMarketplaces under this alias name. Do not set both in one file. Needs Claude Code 2.1.232 or later.Any settings file
allowedHttpHookUrlsDocumentedarray of string-Limit which URLs HTTP hooks can target.Any settings file
🔒 allowedMarketplacesDocumentedarray-Write strictKnownMarketplaces under this alias name. Do not set both in one file. Needs Claude Code 2.1.232 or later.Managed settings only
🔒 allowManagedHooksOnlyDocumentedboolean-Run only the hooks your organization deploys.Managed settings only
🔒 allowManagedPermissionRulesOnlyDocumentedboolean-Make managed settings the only settings source of permission rules.Managed settings only
🔒 appendPluginsDiffersarray 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
blockedMarketplacesDocumentedarray-Block plugin marketplace sources for your organization.Managed settings only
disableAllHooksDocumentedboolean-Turn off hooks, a custom status line, and a custom @ file suggestion command at once.Any settings file
disableAutoModeDocumentedenum: disable-Remove auto mode from the permission mode cycle.Any settings file
disableBundledSkillsDocumentedboolean-Turn off the skills and workflows included with Claude Code.Any settings file
🔒 disableCommandPluginSourcesDocumentedboolean-Block plugins that install by running a marketplace-declared command.Managed settings only
🔒 disableSideloadFlagsDocumentedboolean-Reject the CLI flags that sideload plugins, subagents, and MCP servers.Managed settings only
disableSkillShellExecutionDocumentedboolean-Stop skills and custom commands from running inline shell.Any settings file
enabledPluginsDocumentedobject-Turn individual plugins on or off per scope.Any settings file
extraKnownMarketplacesDocumentedobject-Register marketplaces for a repository or an organization.Any settings file
hooksDocumentedobject-Run your own commands as hooks at points in Claude Code's lifecycle.Any settings file
httpHookAllowedEnvVarsDocumentedarray of string-Limit which env vars HTTP hooks can put in headers.Any settings file
outputStyleDocumentedstring-Change Claude's role, tone, and output format with an output style.Any settings file
permissionsDocumentedobject-Set allow, ask, and deny rules and the starting permission mode.Any settings file
pluginConfigsDocumentedobject-Store the answers you gave a plugin's configuration dialog.User or managed settings
pluginSuggestionMarketplacesDocumentedarray of string-Choose which marketplaces can surface plugin install suggestions in /plugin.Managed settings only
🔒 pluginTrustMessageDocumentedstring-Add your own text to the plugin trust warning.Managed settings only
🔒 prependPluginsDiffersarray 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
skillListingBudgetFractionDocumentednumber0.01 (1%)Reserve more or less context for the skill listing.Any settings file
skillListingMaxDescCharsDocumentedinteger1536Cap each skill's description length in the skill listing.Any settings file
skillOverridesDocumentedobject-Hide or collapse a skill without editing its SKILL.md.Any settings file
⚠️ skipDangerousModePermissionPromptDocumentedboolean-Skip the confirmation dialog before bypassPermissions mode.User, local, or managed settings
statusLineDocumentedobject-Run your own command to render a status line below the prompt.Any settings file
strictKnownMarketplacesDocumentedarray-Allowlist the marketplace sources users can add and install from.Managed settings only
🔒 strictPluginOnlyCustomizationDocumented❓-Block skills, agents, hooks, and MCP servers from user and project sources.Managed settings only
syncClaudeAiPluginsDocumentedboolean-Stop loading the plugins enabled on your claude.ai account and stop downloading new ones.User, local, or managed settings
syncClaudeAiSkillsDocumentedboolean-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
}