Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Settings Pattern

Store and read project-specific plugin configuration in local Markdown state files.

45/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Claude Code
Stars
★ 151k
Last updated
11d ago
plugin-settingsyaml-frontmattermarkdown-configurationshell-scripting
+1project-configuration

What does this skill do, and when should you use it?

This skill documents a pattern for storing plugin configuration and state in `.claude/plugin-name.local.md`. Each file combines YAML frontmatter for structured values with a Markdown body for prompts, notes, or additional context. It explains how hooks, commands, and agents can read the files, including field parsing, defaults, validation, Git exclusion, permissions, and restart behavior. It fits plugin authors who need per-project configuration without committing user-local settings.

Documents how to create .claude/plugin-name.local.md files, store booleans, strings, numbers, and lists in YAML frontmatter, and keep prompts or context in the Markdown body. It provides Bash examples using sed, grep, and awk to extract frontmatter fields and body content, plus patterns for hooks, commands, and agents to consume the settings. It also covers enabled-state checks, defaults, numeric validation, path-traversal checks, file permissions, .gitignore entries, and restarting Claude Code after changes.

Good fit
  • A plugin author needs per-project enablement for hooks and uses an `enabled` field in a local state file.
  • A team coordinates multiple agents and stores task numbers, coordinator sessions, dependencies, and status locally.
  • A project changes validation behavior between strict, standard, and lenient modes based on frontmatter settings.
  • A plugin needs local prompts, notes, or configuration that should not be committed to Git.

How do you install this skill?

Before you use it
  • Do not treat the sed/grep parser as a general YAML parser; complex values, colons, multiline content, lists, and quoting may be misparsed.
  • When using user-controlled settings bodies in prompts or JSON, use parameterized construction and strictly constrain writable paths and sensitive fields.
  • The restart requirement is asserted but not demonstrated for every relevant runtime; the consuming plugin should verify the lifecycle behavior.
  • No tests or execution records cover the key scripts; add tests for malformed input, missing fields, hostile paths, and concurrent updates before deployment.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem

The source does not document a separate installation command for this skill; it is located at plugins/plugin-dev/skills/plugin-settings/SKILL.md in the repository. The README says to install Claude Code first, for example on macOS/Linux with curl -fsSL https://claude.ai/install.sh | bash, then enter a project directory and run claude. The source does not specify a separate procedure for enabling or copying this individual skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/anthropics/claude-code.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/plugins/plugin-dev/skills/plugin-settings" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Create .claude/plugin-name.local.md in the project root with YAML frontmatter such as enabled: true and mode: standard, followed by any Markdown context. Have the plugin's hooks, commands, or agents read the file. After saving or editing it, exit and restart Claude Code because the documented pattern does not hot-reload settings during a session. No specific trigger command is defined in the source.

What are this skill's strengths and limitations?

Pros
  • Defines a clear project-local configuration convention.
  • Combines structured YAML values with Markdown prompts and context.
  • Includes examples for Bash parsing, defaults, validation, permissions, and Git exclusion.
  • Covers use by hooks, commands, and agents.
Limitations
  • Provides no standalone installation or enablement command for the skill.
  • Examples depend on Bash, sed, grep, and awk, so other environments may require adaptation.
  • Settings changes require restarting Claude Code and are not hot-swapped in-session.
  • The source provides no test results or cross-platform verification.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Claude Code Plugin Settings Pattern this page ✓ Anthropic · Official 45 · Not recommended ★ 151k 11d ago —
Project Plugin Settings Pattern ✓ Anthropic · Official 49 · Use with care ★ 38k 11d ago Apache-2.0
Claude Skill Template Example ✓ Anthropic · Official 58 · Recommended ★ 38k 11d ago Apache-2.0
Claude Code Plugin Skill Development ✓ Anthropic · Official 51 · Use with care ★ 38k 11d ago Apache-2.0
Claude Code Plugin Agent Development ✓ Anthropic · Official 47 · Use with care ★ 151k 11d ago —

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
45/ 100 5-point scale 2.3 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust14 / 25 · 2.8/5

The documentation describes project-local files, gitignore handling, input validation, traversal checks, and permission recommendations, with no evidence of malware, credential theft, or covert exfiltration. However, most safeguards are advisory; heredoc examples, brittle parsing, and user-controlled body content can still create injection, disclosure, or unsafe-write risks, so points are deducted.

2Reliability6 / 20 · 1.5/5

Scripts, defaults, partial validation, atomic updates, and error messages make the happy path plausible. However, sed/grep is not full YAML parsing, missing fields can fail under set -e, the validator can overstate validity, and no tests or execution evidence are provided; the static ceiling therefore applies and points are deducted.

3Adaptability8 / 15 · 2.7/5

The trigger description clearly covers plugin settings, state files, YAML frontmatter, and per-project configuration. Boundaries are incomplete for complex YAML, concurrent updates, varying working directories, and non-Bash environments, and semantic non-trigger conditions are not explicit, so points are deducted.

4Convention8 / 15 · 2.7/5

The material is organized into overview, templates, parsing guidance, examples, scripts, best practices, and workflow, with a version and official organizational attribution. License terms, changelog, named maintenance responsibility, update path, and dependency-installation notes are incomplete, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

The templates, examples, and two utility scripts can directly support creation and reading of simple settings files and offer clear value over manual repetition. However, users must integrate the pattern themselves, parsing is limited, some examples are unsafe, and representative outputs are not verified, so points are deducted.

6Verifiability3 / 10 · 1.5/5

The selected path contains auditable source, scripts, and concrete examples supporting the main design claims. It provides no committed test suite, CI coverage, or third-party execution evidence, so static review can award only limited verifiability.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 015170d3fd84 Review evidence[1][2][3][4][5][6][7][8][9][10][11][12][13][14]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill automatically create the settings file?
No. It documents how a command could create one, but does not define an automatic execution workflow for the skill itself.
Should the settings file be committed to Git?
No. The document recommends ignoring `.claude/*.local.md` and `.claude/*.local.json`.
What happens when no settings file exists?
The recommended approach is to use sensible defaults; examples either exit early or assign default values and modes.
What permissions should the file have?
The document recommends user-only readability, such as `chmod 600`, and advises against sharing the file between users.

More skills from this repository

All from anthropics/claude-code

Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Agent Development

A practical guide to designing, writing, validating, and testing autonomous agents for Claude Code plugins.

★ 151k FS 47 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Command Development

Design reusable, interactive slash commands for Claude Code.

★ 151k FS 46 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Skill Development

A practical guide to creating, organizing, and validating Claude Code plugin skills.

★ 151k FS 46 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Hookify Rule Writer

Guides Claude Code users in writing Hookify rules that warn about or block matching actions.

★ 151k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Structure Guide

A practical guide to organizing, configuring, and troubleshooting Claude Code plugins.

★ 151k FS 50 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Hook Development (claude-code)

Build controlled, testable event automation for Claude Code plugins.

★ 151k FS 42 Not recommended 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code MCP Integration

Configure external MCP services and tools for Claude Code plugins.

★ 151k FS 49 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Opus 4.5 Migration Assistant

Move existing Claude model integrations to Opus 4.5.

★ 151k FS 40 Not recommended 11d ago

Related skills