dabiggestpoppa/larger-lab/context-monitor
Claude Code and agent skill by dabiggestpoppa/larger-lab
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install dabiggestpoppa/larger-lab/context-monitorSKILL.md
The same SKILL.md was published earlier as dabiggestpoppa/larger-lab/context-monitor.
Context Monitor Skill
Purpose: Monitor session context usage and alert when approaching limit.Trigger: Check context after every response. Alert at 75% threshold.
Context Limits by Model
| Model | Max Tokens | 75% Warning | 90% Critical | |
|---|---|---|---|---|
| openrouter/owl-alpha | 1,000,000 | 750,000 | 900,000 | |
| openrouter/anthropic/claude-sonnet-4 | 200,000 | 150,000 | 180,000 | |
| inclusionai/ring-2.6-1t | 131,072 | 98,304 | 117,964 | |
| nvidia/nemotron-3-ultra-550b-a55b | 131,072 | 98,304 | 117,964 | |
| minimax/minimax-m3 | 128,000 | 96,000 | 115,200 |
Behavior
After Every Response
- Check
contextTokensfrom session state - Calculate percentage of model's max context
- If ≥ 75%: Send warning message to user
- If ≥ 90%: Send critical alert + suggest new session
Warning Message (75%)
Critical Message (90%)
Auto-Compaction (95%)
At 95%, automatically:
- Summarize the session so far
- Save summary to
logs/session-summaries/ - Start a new session with the summary as context
- Notify user of the transition
Session State Location
- Sessions file:
.openclaw-2/.openclaw/agents/main/sessions/sessions.json - Each session has:
contextTokens,model,status
Implementation
This skill runs as part of the agent's post-response hook. It reads the session state file and sends alerts via Telegram DM.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.openclaw-2/skills/context-monitor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dabiggestpoppa/larger-lab/context-monitor)