context-status by clearsmog/claude-skills
npx skills add https://github.com/clearsmog/claude-skills --skill context-status显示当前会话状态,包括上下文使用量估算、活动计划以及保存状态。
读取上下文监控器缓存以获取当前估算值:
cat ~/.claude/sessions/*/context-monitor-cache.json 2>/dev/null | head -20
搜索常见的计划文件位置:
ls -lt quality_reports/plans/*.md .planning/*.md plans/*.md 2>/dev/null | head -3
ls -lt quality_reports/session_logs/*.md .planning/logs/*.md session_logs/*.md 2>/dev/null | head -1
格式化输出:
Session Status
-----------------------------------
Context Usage: ~XX% (estimated)
Auto-compact: [approaching | not imminent]
Active Plan
File: [plan path]
Status: [draft | approved | in_progress | completed]
Task: [current unchecked task or "none"]
Session Log
File: [log path]
Preservation Check
- Pre-compact hook: [configured | missing]
- Post-compact restore: [configured | missing]
- Session state will be saved before compaction
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
每周安装次数
1
代码仓库
GitHub 星标数
2
首次出现
今天
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
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
Search common plan locations:
ls -lt quality_reports/plans/*.md .planning/*.md plans/*.md 2>/dev/null | head -3
ls -lt quality_reports/session_logs/*.md .planning/logs/*.md 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: [plan path]
Status: [draft | approved | in_progress | completed]
Task: [current unchecked task or "none"]
Session Log
File: [log path]
Preservation Check
- Pre-compact hook: [configured | missing]
- Post-compact restore: [configured | missing]
- Session state will be saved before compaction
Weekly Installs
1
Repository
GitHub Stars
2
First Seen
Today
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
45,100 周安装