
Plugin Settings
This is a documentation pattern for managing plugin configuration in Claude Code projects. It shows you how to structure settings files in `.claude/plugin-name.local.md` using YAML frontmatter for config values and markdown for prompts or context. The pattern keeps settings local to each project and out of version control. It's straightforward if you're building Claude Code plugins and need a clean way to let users configure behavior per project. The example comes from Anthropic's original claude-code repo, so it follows their intended approach. Not much code here, just the structural pattern and some basic examples of what goes in the frontmatter versus the markdown body.
- GitHub stars
- 30.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --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/davila7/claude-code-templates
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Plugin Structure
- Privilege Escalation Methods
- Red Team Tools And Methodology
- Security Scanning Tools
- SEO Optimizer
- Shodan Reconnaissance And Pentesting
- Skill Development
- SMTP Penetration Testing
- SQL Injection Testing
- SQLMap Database Penetration Testing
- SSH Penetration Testing
- Top 100 Web Vulnerabilities Reference
- Windows Privilege Escalation
- Wireshark Network Traffic Analysis
- WordPress Penetration Testing
- Writing Hookify Rules
- Senior Data Scientist3.2K
- Senior Backend2.7K
- Markitdown2.5K
- Senior Frontend2.1K
- Scientific Writing2K
- Literature Review2K
- Market Research Reports1.9K
- Ui Ux Pro Max1.9K