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 TheVoskampsv0.1.1GPL-3.0In 1 marketplace
InstructionsLoaded hook that surfaces a one-line message for every CLAUDE.md / .claude/rules/*.md file loaded into context, so the user can see which rules files are in play.
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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.
A single-purpose observability hook: an InstructionsLoaded hook that
surfaces a one-line message for every CLAUDE.md / .claude/rules/*.md
file loaded into context.
Claude Code loads instruction files (CLAUDE.md, .claude/rules/*.md)
both at session start and lazily during a session (nested-directory
traversal, glob-path matches, explicit include, or context
compaction). Normally that loading is invisible unless you run with
--verbose. This plugin makes each load visible in a normal session by
printing a short Rules loaded: <path> (<reason>) message for every
file as it loads.
Knowing exactly which rules files are in context — and why they loaded
— is useful for debugging "why is Claude doing X" questions and for
building trust that the right project/user rules are actually active.
InstructionsLoaded is the only hook event that observes this, so a
tiny dedicated hook is the simplest way to expose it.
hooks/hooks.json registers an InstructionsLoaded hook with no
matcher (the event has no tool name to match on; it fires for every
loaded file regardless of load_reason):
{
"hooks": {
"InstructionsLoaded": [
{
"hooks": [
{ "type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/show-loaded-rule.sh",
"timeout": 10 }
]
}
]
}
}
hooks/show-loaded-rule.sh (POSIX sh + jq) reads the hook stdin
JSON, extracts file_path and load_reason, and emits a
systemMessage JSON field with a one-line summary:
Rules loaded: /path/to/CLAUDE.md (session_start)
InstructionsLoaded is observe-only — it has no decision control and
its exit code is ignored, so the hook cannot block or alter a load. It
also does not surface plain stdout to the user for this event; only the
systemMessage JSON field does, which is why the script emits JSON
rather than printing text directly. The event fires once per file
loaded, both at session start and on lazy loads during the session,
with load_reason one of session_start, nested_traversal,
path_glob_match, include, or compact.
If stdin is empty or not valid JSON, the script falls back to
(unknown file) / (unknown) rather than erroring out — this hook is
purely observational, so a best-effort message beats a hard failure.
This plugin only covers rules/instruction files (InstructionsLoaded).
Skill-loading visibility is a separate concern, tracked separately and
not covered here.
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 thevoskamps/claude-plugins-marketplace --plugin show-loaded-rulesPlugins from other owners that cover similar ground