AI AGENT ADDONS
Skill Development
3,308installs

You can add settings to your own Claude plugins using a simple file. This file goes in the .claude folder and has a special name like plugin-name.local.md. It uses YAML frontmatter to store things like on or off, mode, or numbers. The rest of the file holds extra instructions or notes. This pattern is great for making plugins work differently in each project.

Developers can read these settings from bash scripts or from plugin commands. For example a hook can check if a plugin is enabled and then act accordingly. Parsing the YAML frontmatter is easy with simple commands like sed and grep. This gives you a flexible way to let users configure your plugin without changing code.

Remember to add this file to .gitignore so each developer can have their own settings. This keeps project configuration personal and safe. Using this pattern helps you build plugins that are both powerful and easy to adjust.

Add Plugin Settings skill to your workflow

Global

mkdir -p ~/.claude/skills/plugin-settings

Project

mkdir -p .claude/skills/plugin-settings

Source Repository

Stars
31,260
Forks
3,414
Watchers
31,260
License
Apache-2.0
Last Push
23 days ago
Created
8 months ago