plugin-settings

Originally fromanthropics/claude-code
Installation
Summary

Store per-project plugin configuration and state in .claude/plugin-name.local.md files with YAML frontmatter.

  • Settings files use YAML frontmatter for structured configuration and markdown body for additional context or prompts
  • Hooks, commands, and agents can read settings to customize behavior without requiring code changes
  • Includes bash parsing patterns for extracting individual fields (strings, booleans, numerics) and markdown body content
  • Common patterns include toggling hook activation, managing agent state, and driving configuration-based behavior
  • Settings changes require Claude Code restart; files should be gitignored and user-managed, not committed to version control
SKILL.md

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.md in 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

---
Related skills

More from anthropics/claude-plugins-official

Installs
2.3K
GitHub Stars
19.2K
First Seen
Feb 5, 2026