cpaua
·1 min2

Context Timeline Hook for Claude Code: Track Context & Sub-Agents

Managing the context window and sub-agents launched in Claude Code is difficult, because it’s hard to keep track of everything.

So we made this hook. It’s called Context Timeline.

It starts immediately when you open a session and shows a timeline with the main agent’s context window and how sub-agents start working in their own separate contexts.

Each launched sub-agent is displayed in real time.

This way you can manage the context and sub-agents and see everything in a simpler view than in the console.

Installation: npx claude-code-templates@latest --hook monitoring/context-timeline

davila7/claude-code-templatesdavila7/claude-code-templates/blob/main/cli-tool/components/hooks/monitoring/context-timeline.json
Share:
Author
cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Comments

To leave a comment, log in or sign up
Loading...

Related articles