pedrohcgs/context-status
| Show current context status and session health. Use to check how much context has been used, whether auto-compact is approaching, and what state will be preserved.
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill context-status
Show the current session status including context usage estimate, active plan,
and preservation state.
Read the context monitor cache to get the current estimate:
cat ~/.claude/sessions/*/context-monitor-cache.json 2>/dev/null | head -20
ls -lt quality_reports/plans/*.md 2>/dev/null | head -3
ls -lt quality_reports/session_logs/*.md 2>/dev/null | head -1
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
Take pedrohcgs/context-status from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.