openclaw context usage

v1.0.0

Check current session's context window usage. Shows model name, estimated token usage, and context window utilization percentage. Use when user asks about co...

0· 192· 1 versions· 0 current· 0 all-time· Updated 10h ago· MIT-0
byJay@goog

Install

openclaw skills install context-usage

Context Window Usage

How to Check

  1. Call session_status to get current session info
  2. Extract the 📚 Context: line for usage data
  3. Present a clean summary to the user

Output Format

📊 Context Window
Model: <model_name>
Used: <used> / <total> (<percent>%)
Cache: <cache_hit>% hit · <cached_tokens> cached
Status: 🟢 Comfortable | 🟡 Getting Full | 🔴 Near Limit

Thresholds

UsageStatusAction
<50%🟢 ComfortableNo action needed
50-70%🟡 Getting FullMonitor
70-85%🟠 Consider compactSuggest /compact
>85%🔴 Near limitRecommend /compact

Notes

  • session_status provides exact context data via the 📚 Context: field
  • Token counts and cache hit rates are also available
  • If usage is high, suggest running op-helper skill for /compact

Version tags

latestvk974nrwyyvkvjxdg1ctfpqfzwh83mwmk