
Plugin Settings
This documents the pattern for storing per-project plugin configuration in `.claude/plugin-name.local.md` files with YAML frontmatter. You'd use this when building plugins that need user-configurable settings or state, like enabling strict mode, storing agent assignments, or controlling hook behavior without editing hooks.json. The skill shows concrete bash parsing techniques for extracting frontmatter fields in hooks and how to read settings from commands and agents. One thing to know: changes require restarting Claude Code since hooks load at startup. It's aimed at plugin authors rather than end users, and the `.local.md` suffix convention helps keep these files out of git while making them human-editable.
- skills.sh installs
- 7.3K
- GitHub stars
- 46.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add anthropics/claude-plugins-official --skill plugin-settings --agent claude-codeInstalls into .claude/skills of the current project.
Files
Plugin Settings Pattern for Claude Code Plugins
Overview
Plugins can store user-configurable settings and state in .claude/plugin-name.local.md files within the project directory. This pattern uses YAML frontmatter for structured configuration and markdown content for prompts or additional context.
Key characteristics:
- File location:
.claude/plugin-name.local.mdin project root - Structure: YAML frontmatter + markdown body
- Purpose: Per-project plugin configuration and state
- Usage: Read from hooks, commands, and agents
- Lifecycle: User-managed (not in git, should be in
.gitignore)
File Structure
Basic Template
---
enabled: true
setting1: value1
setting2: value2
numeric_setting: 42
list_setting: ["item1", "item2"]
---
# Additional Context
This markdown body can contain:
- Task descriptions
- Additional instructions
- Prompts to feed back to Claude
- Documentation or notes
Example: Plugin State File
.claude/my-plugin.local.md:
---
enabled: true
strict_mode: false
max_retries: 3
notification_level: info
coordinator_session: team-leader
---
# Plugin Configuration
Sponsors
Details
- Repository
- github.com/anthropics/claude-plugins-official
- First seen
- May 16, 2026
More from anthropics/claude-plugins-official
All 24- Build Mcp App7.1K
- Build Mcpb6.9K
- Math Olympiad4.7K
- Configure4.5K
- Access4.5K
- Session Report4.3K
- M5 Onboard3.5K
- Cardputer Buddy3.5K
- Stripe Best Practices1.4K
- Example Skill208
- Frontend Design18.4K
- Claude Md Improver14.2K
- Claude Automation Recommender10.7K
- Playground8.6K
- Skill Creator8.3K
- Agent Development7.9K
- Skill Development7.7K
- Hook Development7.5K
- Mcp Integration7.5K
- Command Development7.4K
- Writing Hookify Rules7.4K
- Build Mcp Server7.4K
- Plugin Structure7.3K