Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xobotyiv3.0.0MITIn 1 marketplace
Makes Claude check which skills apply before answering and re-read unread skill references when work changes phase. Hooks inject reminders on every prompt and tool call and need Node.js 26 or later.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; reads or rewrites your prompts.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude checks which skills apply before it answers, and goes back to the unread references of a loaded skill when the work moves to a new phase, such as from coding to testing.
The reminder the mod injects after an edit (hooks/register.ts):
<SEF phase="PHASE-CHANGE">
If the kind of work changed with this edit, for example from implementation to testing, invoke the skills
whose descriptions name the new kind and read the loaded skills' references whose condition now holds. A
skill loaded earlier is not applied to the new kind of work until those references are read. An edit within
the same kind of work is not a change.
Act on this rule. Do not quote this reminder or report the check in your reply.
</SEF>
It states one rule for one checkpoint and asks for the action, not a report, so the check stays out of your conversation.
Skills get skipped. Claude Code has access to skills — domain-specific instructions loaded via the Skill tool. But facing a task, Claude often jumps straight to implementation without checking whether a relevant skill exists. The skills are available; nothing triggers their evaluation.
Skills are treated as atomic. Once a skill is invoked, it's mentally checked off as "done." But skills often contain multiple references — some for coding, some for testing, some for review. When the phase changes (implementation -> testing), the relevant references from already-loaded skills never get read.
Phase transitions go unnoticed. Moving from coding to testing is a context shift that should trigger re-evaluation. Without a nudge, Claude continues with whatever context it already has, missing both newly-applicable skills and unread references from previously loaded ones.
This plugin injects a Skill Enforcement Framework (SEF): a small set of declarative rules delivered as reminders at key lifecycle checkpoints. Each reminder states one rule — invoke matching skills, read phase-relevant references, re-evaluate on a phase shift — and the model acts on it silently.
Checkpoint flow:
First prompt -> The SEF framework, once per conversation
User prompt -> USER-PROMPT: invoke each skill whose description matches, honoring exclusions
After Read -> EVALUATION: act if the read opened a skill-covered domain
After Edit/Write -> PHASE-CHANGE: act if the type of work shifted
After Skill -> SKILL-LOAD: read refs whose stated condition holds; follow named hand-offs
Each checkpoint injects a self-contained <SEF phase="..."> reminder carrying the rule for that point. The model
applies it silently: it acts on the rule, but never echoes the reminder or narrates the check in its reply.
skill-enforcer is a mod: Claude Code 2.1.287 or later loads and runs it itself. It needs no Node.js and builds nothing at install time.
/plugin install skill-enforcer --marketplace xobotyi/cc-foundry
With the first prompt you type in a conversation, and again with the first one after /clear, a resume, or a
compaction, the mod injects the SEF framework (~600 tokens):
This is shared background. The operational contract is restated by every checkpoint reminder, so behaviour stays correct even after the framework drifts out of attention.
Earlier versions (<= 1.5.0) asked the model to emit a structured <sef-eval> block inside its reasoning at every
checkpoint. On reasoning models (Opus 4.8+) that backfired: the model either reproduced the <thinking>/<sef-eval>
tags in its visible reply, or — on steps where it did not engage extended thinking — skipped the evaluation entirely.
SEF now states each checkpoint as a declarative behavioral rule that constrains the action directly. There is no artifact to emit, nothing tag-shaped to reproduce, and no dependence on the model entering a thinking block on a given step. Skill invocations (via the Skill tool) and reference reads (via Read) remain visible actions; only the deliberation behind them is silent.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub xobotyi/cc-foundry --plugin skill-enforcerPlugins from other owners that cover similar ground