Back to Settings

Subagent Lifecycle Logger

Settings hooks 86 Scanned by NVIDIA SkillSpector

Audit trail for subagent invocations using SubagentStart and SubagentStop lifecycle hooks. Every time Claude spawns or finishes a subagent, a timestamped JSON entry is appended to .claude/agent-log.jsonl — recording the agent name, event type, and ISO timestamp. Provides an offline, zero-dependency log for debugging multi-agent workflows, tracking which agents ran and in what order, and estimating AI usage per session.

Install Command
npx claude-code-templates@latest --setting hooks/subagent-lifecycle-logger
View on GitHub
claude-code — subagent-lifecycle-logger

Scanned by NVIDIA SkillSpector

Automated static analysis (no LLM) · v2.12.0 · 2026-10-17

Partial analysis: some checks could not run on this component.

0 observations
scanner score 0/100

SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.

No observations.

Learn more about NVIDIA SkillSpector.

Content

JSON
{
"description": "Audit trail for subagent invocations using SubagentStart and SubagentStop lifecy..."
"hooks": {
"SubagentStart": [1 item]
"SubagentStop": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.