context-status
4
总安装量
3
周安装量
#51826
全站排名
安装命令
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill context-status
Agent 安装分布
openclaw
3
claude-code
3
codex
3
kiro-cli
3
kimi-cli
3
cursor
3
Skill 文档
/context-status â Check Session Health
Show the current session status including context usage estimate, active plan, and preservation state.
What This Skill Shows
- Context usage estimate â Approximate % of context window used
- Active plan â Current plan file and status
- Session log â Most recent session log
- Preservation state â What will survive compaction
Workflow
Step 1: Check Context Monitor Cache
Read the context monitor cache to get the current estimate:
cat ~/.claude/sessions/*/context-monitor-cache.json 2>/dev/null | head -20
Step 2: Find Active Plan
ls -lt quality_reports/plans/*.md 2>/dev/null | head -3
Step 3: Find Session Log
ls -lt quality_reports/session_logs/*.md 2>/dev/null | head -1
Step 4: Report Status
Format the output:
ð Session Status
âââââââââââââââââââââââââââââââââ
Context Usage: ~XX% (estimated)
Auto-compact: [approaching | not imminent]
ð Active Plan
File: quality_reports/plans/YYYY-MM-DD_description.md
Status: [draft | approved | in_progress | completed]
Task: [current unchecked task or "none"]
ð Session Log
File: quality_reports/session_logs/YYYY-MM-DD_description.md
â Preservation Check
⢠Pre-compact hook: [configured | missing]
⢠Post-compact restore: [configured | missing]
⢠Session state will be saved before compaction
Notes
- Context % is an estimate based on tool call count
- Actual compaction is triggered by Claude Code automatically
- All important state is saved to disk (plans, logs, MEMORY.md)