plugin-settings

plugin-settings is a skill for Claude Code, Codex from susomejias/rembric. It costs 81 tokens per session (3,117 once invoked), scanned B, a copy of plugin-settings, MIT.

A pattern for storing Claude Code plugin settings and project-specific state in a local Markdown file with structured YAML fields.

In plain words
What is it for?
Use it when a plugin needs configurable values, enabled or disabled states, prompts, notes, or other per-project information.
Why use it?
It lets plugin behavior vary by project without putting personal settings or temporary state into version control.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/susomejias/rembric/plugin-settings
Any agent
npx skills add susomejias/rembric --skill plugin-settings
Clone the repo
git clone --depth 1 https://github.com/susomejias/rembric

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plugin-settings

README.md
[![agentmods](https://agentmods.dev/badge/skills/susomejias/rembric/plugin-settings.svg)](https://agentmods.dev/skills/susomejias/rembric/plugin-settings)
Your own site
<a href="https://agentmods.dev/skills/susomejias/rembric/plugin-settings"><img src="https://agentmods.dev/badge/skills/susomejias/rembric/plugin-settings.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,117 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.03117
Opus 5 $0.00041 $0.01558
Sonnet 5 $0.00016 $0.00623
Haiku 4.5 $0.00008 $0.00312

Measured 5d ago against content hash e3966c0a9a26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

plugin-settings scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/read-settings-hook.sh, scripts/parse-frontmatter.sh, scripts/validate-settings.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Readable by user only (`chmod 600`)
Origin

This is a copy

89% identical to plugin-settings — 41 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/plugin-settings/SKILL.md · 566 lines

How it starts

The opening of the file, as written. The whole thing — 566 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

---
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

This plugin is configured for standard validation mode.
Contact @team-lead with questions.

Reading Settings Files

From Hooks (Bash Scripts)

Pattern: Check existence and parse frontmatter

#!/bin/bash
set -euo pipefail

# Define state file path
STATE_FILE=".claude/my-plugin.local.md"

# Quick exit if file doesn't exist
if [[ ! -f "$STATE_FILE" ]]; then
  exit 0  # Plugin not configured, skip
fi

# Parse YAML frontmatter (between --- markers)
FRONTMATTER=$(sed -n '/^---$/,/^---$/{ /^---$/d; p; }' "$STATE_FILE")

# Extract individual fields
ENABLED=$(echo "$FRONTMATTER" | grep '^enabled:' | sed 's/enabled: *//' | sed 's/^"\(.*\)"$/\1/')
STRICT_MODE=$(echo "$FRONTMATTER" | grep '^strict_mode:' | sed 's/strict_mode: *//' | sed 's/^"\(.*\)"$/\1/')

# Check if enabled
if [[ "$ENABLED" != "true" ]]; then
  exit 0  # Disabled
fi

# Use configuration in hook logic
if [[ "$STRICT_MODE" == "true" ]]; then
  # Apply strict validation
  # ...
fi

Read the full file on GitHub · 566 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 566 lines · 81 tokens per session scan B e3966c0a9a26

Subscribe to this mod's changes

plugin-settings is a skill published in the GitHub repository susomejias/rembric (12 stars, last pushed 2d ago), licensed MIT. It adds 81 tokens to every session and 3,117 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 89% identical to plugin-settings, differing in 41 lines, and is treated as a copy.

Related

Other skills, from other repositories

marm-init

Guided MARM MCP setup. Invoke after running marm-memory init on the CLI to configure MARM memory across your agent. Drives transport choice, runtime choice, MCP config writing, multi-agent linking, and server start. Works on Claude, Codex, Gemini, Qwen, Cursor, VS Code, and other MCP-capable agents.

Lyellr88/marm-memory · 75 tokens

codex-memory-trim

Manage Codex's native global memory (/.codex/memories) with three sub-procedures - trim (audit + dedupe + three-layer cleanup), compress (rewrite verbose memories into concise form), and add-global (add a custom global rule/preference). Use when the user asks to 精简/清理/整理/压缩 Codex 记忆, 去重, 简化冗长记忆, 添加/写入/修改全局记忆 or a…

Yu-Xiao-Sheng/codex-memory-trim · 108 tokens

mind

Local project memory with recall, provenance, policy, and dreams.

Da7-Tech/mind · 15 tokens

recap

Summarize the last N agent sessions for the current project, grouped by date, with highlight observations per session. Use when the user asks "recap", "what have we been doing", "today", "this week", or wants a rollup of recent work.

M-T-D-N/agentmemory-codex-windows · 58 tokens

personal-knowledge-graph

Use when maintaining a LoomKG/Obsidian knowledge graph.

gl00mt1t4n/loom-kg · 19 tokens

dotvibe-migration

Use when the user asks to call or use dotvibe, export memories, import old Mac memories, migrate AI coding memory, restore Claude Code memory, move Claude Code/Codex CLI/OpenCode settings, apply or create a .vibe recipe, or says Chinese phrases such as 调用 dotvibe, 导出记忆, 导入旧 Mac 记忆, 迁移 AI coding 记忆, 恢复 Claude Code…

yangyifan18/dotvibe · 101 tokens