← Back to Skills Marketplace
goog

openclaw context usage

by Jay · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
178
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install context-usage
Description
Check current session's context window usage. Shows model name, estimated token usage, and context window utilization percentage. Use when user asks about co...
README (SKILL.md)

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: \x3Cmodel_name>
Used: \x3Cused> / \x3Ctotal> (\x3Cpercent>%)
Cache: \x3Ccache_hit>% hit · \x3Ccached_tokens> cached
Status: 🟢 Comfortable | 🟡 Getting Full | 🔴 Near Limit

Thresholds

Usage Status Action
\x3C50% 🟢 Comfortable No action needed
50-70% 🟡 Getting Full Monitor
70-85% 🟠 Consider compact Suggest /compact
>85% 🔴 Near limit Recommend /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
Usage Guidance
This skill is narrowly focused and appears safe: it only asks the agent to call session_status (platform session metadata) and display token/context usage. It requires no installs or credentials. Before installing, confirm you are comfortable with the agent having access to session metadata (token counts/cache rates). Also note the skill may recommend running an 'op-helper' skill to compact context — review/trust that helper before following its recommendation.
Capability Analysis
Type: OpenClaw Skill Name: context-usage Version: 1.0.0 The skill bundle is a utility designed to monitor and report on the AI agent's context window usage. It provides instructions for the agent to call a 'session_status' tool and format the resulting token usage data for the user, with no evidence of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
Skill name/description (context usage) match the runtime instructions: call session_status, parse the '📚 Context:' line, and present a summary. No unrelated binaries, env vars, or paths are requested.
Instruction Scope
SKILL.md only instructs obtaining session metadata via session_status and formatting a summary. It does not ask to read files, secrets, or unrelated system state. It does reference recommending the 'op-helper' skill for /compact, which is an expected follow-up action and not an immediate scope expansion.
Install Mechanism
No install spec or code files are included; this is instruction-only and therefore does not write or execute new code on disk.
Credentials
No environment variables, credentials, or config paths are required. Requested access (session_status) is proportional to the stated goal of reporting context usage.
Persistence & Privilege
always is false and the skill does not request persistent presence or modification of other skills/config. Model invocation is allowed (the platform default) but that is expected for a user-invocable utility skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install context-usage
  3. After installation, invoke the skill by name or use /context-usage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the "Context Window Usage" skill. - Lets users check the current session's context window usage, model name, token usage, and utilization percentage. - Displays a clear summary with usage status: Comfortable, Getting Full, Consider Compact, or Near Limit. - Advises users to compact context when nearing the limit and offers guidance on next steps. - Responds to queries about context window, token usage, or how much of the model’s context is in use.
Metadata
Slug context-usage
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is openclaw context usage?

Check current session's context window usage. Shows model name, estimated token usage, and context window utilization percentage. Use when user asks about co... It is an AI Agent Skill for Claude Code / OpenClaw, with 178 downloads so far.

How do I install openclaw context usage?

Run "/install context-usage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is openclaw context usage free?

Yes, openclaw context usage is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does openclaw context usage support?

openclaw context usage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created openclaw context usage?

It is built and maintained by Jay (@goog); the current version is v1.0.0.

💬 Comments