0range-x/session-rotate-80/SKILL.md
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 proactively rotate sessions and avoid context overflow in long chats.
npx skillsauth add openclaw/skills session-rotate-80Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Trigger a standard [NEW_SESSION] message when context usage reaches 80%.
This skill is memory-system-agnostic and works in plain default OpenClaw setups.
scripts/context_guard.py <used_tokens> <max_tokens>.python scripts/context_guard.py <used_tokens> <max_tokens> --threshold 0.8 --channel boss
Example:
python scripts/context_guard.py 220000 272000 --threshold 0.8 --channel boss
At or above threshold:
[ROTATE_NEEDED][NEW_SESSION] 上下文达到80%(used/max),自动切换新会话[HANDOFF_HINT] ...Below threshold:
[ROTATE_NOT_NEEDED] ratio=x.xx < 0.800In heartbeat flow, after reading context usage:
context_guard.py.[ROTATE_NEEDED], emit [NEW_SESSION]... directly.scripts/context_guard.py: threshold detector and trigger emitter (no memory dependency).tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。