← 返回 Skills 市场
301
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install session-rotate-80 - 安装完成后,直接呼叫该 Skill 的名称或使用
/session-rotate-80触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 301 次。
如何安装 Session Rotate 80?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install session-rotate-80」即可一键安装,无需额外配置。
Session Rotate 80 是免费的吗?
是的,Session Rotate 80 完全免费(开源免费),可自由下载、安装和使用。
Session Rotate 80 支持哪些平台?
Session Rotate 80 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Session Rotate 80?
由 0r@nge(@0range-x)开发并维护,当前版本 v1.0.1。
推荐 Skills