Developers are creating systems to track agent usage within the Claude Code environment to identify and prune unused agents. These systems leverage Claude Code's Stop hook, which triggers upon session completion and provides a transcript path. By parsing this transcript, developers can log agent invocations, including details like agent type, description, and duration. A daily summary script then analyzes this log to report on agent usage over 7-day and 30-day windows, highlighting agents that have not been invoked and can potentially be deleted. AI
IMPACT Enables better management of custom agent definitions within LLM development environments.
RANK_REASON The cluster describes a custom tooling solution built by a user for a specific environment (Claude Code), rather than a release from the core AI provider.
Read on dev.to — Claude Code tag →
- agent-invocations.jsonl
- agents-index.sh
- agent-usage-latest.md
- agent-usage-summary.sh
- Claude
- Claude Code
- INDEX.md
- stop_agent_tracker.sh
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →