plugin-settings

Configures Claude Code plugin settings via .claude/*.local.md YAML frontmatter files.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Leap0920/Clean-Portfolio --skill plugin-settings-leap0920
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-settings
Source: https://github.com/Leap0920/Clean-Portfolio/tree/main/%25USERPROFILE%25/.openclaude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/plugin-settings
Command: npx skills add https://github.com/Leap0920/Clean-Portfolio --skill plugin-settings-leap0920

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps you make Claude Code plugins configurable on a per-project basis without editing plugin code, by using a user-local settings/state file in the project directory.

Core Features & Use Cases

  • Per-project plugin configuration & state: Stores plugin settings and agent/plugin state in .claude/plugin-name.local.md alongside your project.
  • YAML frontmatter + markdown body pattern: Uses YAML frontmatter for structured fields (e.g., enabled, modes, limits) and the markdown body for additional instructions/prompts.
  • Deterministic parsing guidance: Documents how hooks/commands/agents can read the settings file, extract frontmatter fields, and apply behavior safely and predictably.

Quick Start

Use the plugin-settings skill to generate or update a .claude/plugin-name.local.md file with YAML frontmatter (including enabled: true) and a markdown body containing any extra instructions, then configure your hook/command to read and respect those fields.

Frequently Asked Questions about plugin-settings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Claude Code plugins per project without editing plugin code?

Per-project plugin configuration is managed through a local settings file named `.claude/plugin-name.local.md` with YAML frontmatter. This file stores structured fields like an `enabled` flag and instructions, letting you adapt plugin execution without modifying source code.

What is the YAML frontmatter pattern for Claude Code plugin state management?

YAML frontmatter provides structured key-value pairs at the top of a markdown file, such as `enabled`, modes, and limits. Hooks and commands parse these fields to apply deterministic plugin behavior and manage state safely.

How do I set up a local settings file to control hook behavior for specific projects?

Create a `.claude/plugin-name.local.md` file with YAML frontmatter containing at least `enabled: true`. Configure your hook to read and respect these fields, defaulting safely when the file is missing.

Can I use markdown instructions alongside structured fields to customize Claude Code agents?

Yes, the settings pattern uses YAML frontmatter for structured configuration and the markdown body for additional instructions or prompts. This allows agents and commands to apply both deterministic fields and contextual guidance.

What happens if the per-project plugin settings file is missing?

When the local settings file is missing, the parsing logic defaults safely. This ensures hooks and commands continue executing predictably by applying default behaviors instead of failing.

When do I need a local markdown settings file for Claude Code plugin configuration?

You need this pattern when you want user-configurable behavior for hooks, commands, or agents on a per-project basis. It separates plugin state and configuration from plugin code, allowing localized customization.