Plugin Settings Pattern for Claude Code Plugins enables agents and hooks to store and read user-configurable settings and state within project directories using `.claude/plugin-name.local.md` files. This pattern combines structured YAML frontmatter for flags and parameters with markdown content for supplemental instructions, prompts, or context. It outlines precise parsing techniques using standard text utilities, common usage patterns for hooks and agents, security considerations, and best practices like gitignore management. Reach for this skill when you want to make plugin behavior easily configurable per-project and need a robust pattern to parse configuration files safely.
Key Features
YAML frontmatter parsing for configurations
Per-project state management
Hook and command configuration integration
Markdown body content for context and prompts
Privacy & Security
Data Collection
This tool follows industry-standard security practices and only collects data necessary for functionality.