← Back to Skills Marketplace
301
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install session-rotate-80
Description
Auto-create a new session when OpenClaw context usage reaches 80% without requiring Mem0 or file memory systems. Use when users want default OpenClaw to proa...
Usage Guidance
This skill appears coherent and low-risk: it simply computes used/max ratio and prints standardized trigger lines. Before installing, confirm how your agent supplies used_tokens and max_tokens (ensure those values come from the agent runtime and not untrusted input). Note that the script has no cooldown — repeated checks at or above threshold will repeatedly emit triggers, so integrate it into your heartbeat logic (or add a cooldown/state) to avoid spamming new-session events. If you require stricter guarantees, review/modify the script to add cooldowns, logging, or confidence checks appropriate to your platform.
Capability Analysis
Type: OpenClaw Skill
Name: session-rotate-80
Version: 1.0.1
The skill bundle is a utility designed to monitor LLM context usage and trigger session rotation when a threshold (default 80%) is reached. The core logic in `scripts/context_guard.py` is a simple Python script that performs a mathematical comparison of token counts and outputs standardized trigger strings like `[NEW_SESSION]`. There is no evidence of data exfiltration, malicious execution, or unauthorized access; the behavior is entirely consistent with the stated purpose of preventing context overflow in long conversations.
Capability Assessment
Purpose & Capability
Name/description match the included script and SKILL.md. The single Python script and instructions are exactly what you'd expect for a threshold-based session-rotation helper; no unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md instructs the agent to read current context usage and call the bundled script with used/max tokens. The instructions do not ask the agent to read unrelated files, access credentials, or send data externally. They are specific and scoped to the purpose.
Install Mechanism
No install spec; the skill is instruction-only with a small included script. No downloads, package installs, or archive extraction are performed.
Credentials
The skill requests no environment variables, credentials, or config paths. The functionality (token ratio check → printed triggers) does not require secrets or external service access.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not modify other skills or system settings and has no persistence or privileged installation steps.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install session-rotate-80 - After installation, invoke the skill by name or use
/session-rotate-80 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Add README and practical usage guide; clarify default OpenClaw no-memory mode
v1.0.0
Initial release: 80% context auto session rotation without memory dependencies
Metadata
Frequently Asked Questions
What is Session Rotate 80?
Auto-create a new session when OpenClaw context usage reaches 80% without requiring Mem0 or file memory systems. Use when users want default OpenClaw to proa... It is an AI Agent Skill for Claude Code / OpenClaw, with 301 downloads so far.
How do I install Session Rotate 80?
Run "/install session-rotate-80" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Session Rotate 80 free?
Yes, Session Rotate 80 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Session Rotate 80 support?
Session Rotate 80 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Session Rotate 80?
It is built and maintained by 0r@nge (@0range-x); the current version is v1.0.1.
More Skills