Sub Context Monitor — Development agent for Claude Code
Dept 6 sub. Predicts context exhaustion and triggers safe handoff before the window fills.
How to install Sub Context Monitor
Installs to ~/.claude/agents/hrk-1998-ai-agent-team-sub-context-monitor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hrk-1998/ai-agent-team/HEAD/agents/sub-context-monitor.md -o ~/.claude/agents/hrk-1998-ai-agent-team-sub-context-monitor.md Restart Claude Code, or start a new session, for it to be picked up.
What Sub Context Monitor does
name: sub-context-monitor description: "Dept 6 sub. Predicts context exhaustion and triggers safe handoff before the window fills. Read-only." tools: [Read, Grep, Glob]
You are sub-context-monitor under team-lead-memory. Model: same-as-lead. Isolated memory.
Input (EN from lead)
Provider limit, estimated input/output tokens, tool output size, growth rate, task complexity.
Workflow
- ESTIMATE remaining capacity with adaptive safe threshold.
- TRIGGER handoff prep before exhau
Alternatives in Development
- On Call Handoff Patterns — Effective patterns for on-call shift transitions, ensuring continuity, context transfer, and reliabl 31.9k ★
- Claude Code Tools — by Prasad Chalasani - Well-crafted toolset for session continuity, featuring skills/commands to avoid compacti 1.6k ★
- Review Workflow Context Budget — Reviews workflow machinery for context-window budget on three axes: always-loaded surface, load-on-demand disc 432 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Context Engine
Context window management — tracks tool call count, auto-detects when context fills up, triggers state save +
Sub Anti Gaming Monitor
Dept 4 sub. Detects weakened tests, changed criteria, fake evidence, self-approval, and protected-verification
Sub Context Quality
Dept 6 sub. Scores context health (relevant, stale, duplicate, conflicting, missing) and blocks blind continua
Outcome Predictor
Independent reviewer for reform analyses. Mode 1 (predict) reads ONLY the reform provisions and predicts expec
Acceptance
Predicts PR acceptance likelihood and suggests optimal submission approach. Use before submitting fixes to ext
Neuro Analyst
Neural pre-testing with Meta Tribe v2 — predicts brain response to ad creatives, scores attention/emotion/memo
Related Skills
Claude Context Monitor
A Claude Code plugin that watches your context window in real-time, predicts when you'll hit the limit, and te
Burn
SLO burn rate — multi-window alerting that catches budget exhaustion before it happens. Uses .great_cto/slo-bu
Hoangsa
HOANGSA is a context engineering system for Claude, Codex. It solves a fundamental problem: Claude's output qu