context-monitor
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/youngger9765/career_ios_backend --skill context-monitor
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Context Usage Monitor
Purpose
Monitor and warn about context usage to prevent context exhaustion.
Usage Thresholds
- 30k tokens: First warning (Yellow)
- 50k tokens: Strong warning (Orange)
- 70k tokens: Critical warning (Red) – Consider /clear
Monitoring Points
- After each agent invocation
- Before complex tasks
- When reading large files
Warning Messages
Yellow (30k)
â ï¸ Context Usage: ~30k tokens
Consider focusing on current task only.
Orange (50k)
ð Context Usage: ~50k tokens
Recommend completing current task then /clear.
Red (70k+)
ð´ Context Usage: 70k+ tokens
CRITICAL: Use /clear soon to prevent errors.
Save important context before clearing.
Best Practices
- Use subagents to preserve main context
- Clear context between major features
- Avoid reading unnecessary large files
- Use Task tool for complex searches
Context-Saving Commands
Before /clear, save important info:
# Save current branch and status
git status > /tmp/context_save.txt
git diff --staged >> /tmp/context_save.txt
# After /clear, restore context:
cat /tmp/context_save.txt
Skill Version: v1.0 Last Updated: 2025-12-25 Project: career_ios_backend