Skip to content

StrictPluginOnlyCustomization

Base classes

Name Children Inherits
RootModel
clawd_code_sdk.models.settings

⋔ Inheritance diagram

graph TD
  4103527877["settings.StrictPluginOnlyCustomization"]
  3021005809["settings.RootModel[list[Literal['skills', 'agents', 'hooks', 'mcp']]]"]
  2277929590["root_model.RootModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3481597255["typing.Generic"]
  3021005809 --> 4103527877
  2277929590 --> 3021005809
  3879467795 --> 2277929590
  2751680898 --> 3879467795
  3481597255 --> 2277929590
  2751680898 --> 3481597255

🛈 DocStrings

Bases: RootModel[list[Literal['skills', 'agents', 'hooks', 'mcp']]]

Source code in src/clawd_code_sdk/models/settings.py
class StrictPluginOnlyCustomization(RootModel[list[Literal["skills", "agents", "hooks", "mcp"]]]):
    root: list[Literal["skills", "agents", "hooks", "mcp"]]
    """
    (Managed settings) Block non-plugin customization sources for the listed surfaces. Array form locks specific surfaces (e.g., ["skills", "hooks"]); true locks all four; false is an explicit no-op. See https://code.claude.com/docs/en/plugins-reference
    """

root instance-attribute

root: list[Literal['skills', 'agents', 'hooks', 'mcp']]

(Managed settings) Block non-plugin customization sources for the listed surfaces. Array form locks specific surfaces (e.g., ["skills", "hooks"]); true locks all four; false is an explicit no-op. See https://code.claude.com/docs/en/plugins-reference

:fa-brands-github: Show source on GitHub