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.2GPL-3.0In 1 marketplace
PreToolUse(Agent|Task) hook that surfaces the agent type, parameters, and full prompt for every subagent spawn, without --verbose.
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: a PreToolUse hook (matcher
Agent|Task) that surfaces the agent type, parameters, and the full
prompt every time the model spawns a subagent.
In a normal (non---verbose) session, spawning a subagent — an
Explore, Plan, general-purpose, or sdlc:* agent — is invisible
beyond "an agent ran". This plugin prints a multi-line message on every
spawn:
Agent spawned: Explore (model: sonnet)
Description: find X
Prompt:
line one
line two
line three
The prompt is shown in full, verbatim — not truncated to a first line. That is a deliberate departure from the one-line style of the sibling plugins below: the full delegated prompt is exactly the interesting part for "why did that subagent do X" trust and debugging questions.
Sibling observability plugins cover adjacent surfaces but not this one:
show-loaded-rules surfaces
CLAUDE.md / .claude/rules/*.md loads via InstructionsLoaded.show-loaded-skills surfaces
skill loads via UserPromptExpansion and PreToolUse(Skill).Neither fires for a subagent spawn, so this plugin fills that gap.
PreToolUse hookThe plugin answers "with what parameters and what prompt", and it reads
both from the spawn tool call's own tool_input, so it hooks the tool
call itself.
hooks/hooks.json registers one hook:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Agent|Task",
"hooks": [
{ "type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/show-agent-call.sh",
"timeout": 10 }
]
}
]
}
}
hooks/show-agent-call.sh (POSIX sh + jq) reads the PreToolUse
stdin JSON and extracts, each with a fallback so a wrong/absent field
never breaks the hook:
subagent_type (fallback tool_input.agentType, then
(unknown agent))description (fallback empty — omitted from the message when empty)model (fallback (default model))run_in_background (fallback empty — omitted when empty)isolation (fallback empty — omitted when empty)prompt — the full value, verbatim, no truncation (fallback
(no prompt))It then emits a single systemMessage JSON field containing a header
line, the optional detail lines, and the full prompt under a Prompt:
heading. The hook is display-only: that field is its whole output.
If stdin is empty or not valid JSON, the script falls back to the
placeholders above ((unknown agent), (default model),
(no prompt)) rather than erroring out, and always exits 0. This
hook is purely observational, so a best-effort message beats a hard
failure.
This plugin only covers subagent-spawn visibility. Skill loads and
rules/instruction-file loads are separate concerns, covered by
show-loaded-skills and show-loaded-rules respectively.
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-agent-callsPlugins from other owners that cover similar ground