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 proactively rotate sessions and avoid context overflow in long chats.
Install
/plugin marketplace add dvcrn/openclaw-skills-marketplaceThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add dvcrn/openclaw-skills-marketplace --skill session-rotate-80git clone --depth 1 https://github.com/dvcrn/openclaw-skills-marketplace.git /tmp/openclaw-skills-marketplace
mkdir -p ~/.claude/skills
cp -r /tmp/openclaw-skills-marketplace/plugins/0range-x--session-rotate-80/skills/session-rotate-80 ~/.claude/skills/session-rotate-80Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Session Rotate 80 ## Overview Trigger a standard `[NEW_SESSION]` message when context usage reaches 80%. This skill is memory-system-agnostic and works in plain default OpenClaw setups. ## Workflow 1. Read current context usage from runtime status. 2. Run `scripts/context_guard.py <used_tokens> <max_tokens>`. 3. If threshold reached, output the new-session trigger and handoff hint. 4. Keep old session only for short handoff, then continue in new session. ## Command ```bash python scripts/context_guard.py <used_tokens> <max_tokens> --threshold 0.8 --channel boss ``` Example: ```bash python scripts/context_guard.py 220000 272000 --threshold 0.8 --channel boss ``` ## Expected Output At or above threshold: - `[ROTATE_NEEDED]` - `[NEW_SESSION] 上下文达到80%(used/max),自动切换新会话` - `[HANDOFF_HINT] ...` Below threshold: - `[ROTATE_NOT_NEEDED] ratio=x.xx < 0.800` ## Integration Hint (Heartbeat) In heartbeat flow, after reading context usage: 1. Call `context_guard.py`. 2. If `[ROTATE_NEEDED]`, emit `[NEW_SESSION]...` directly. 3. Stop handling new tasks in old session except handoff confirmation. ## scripts/ - `scripts/context_guard.py`: threshold detector and trigger emitter (no memory dependency).
Details
- Skill name
session-rotate-80- Repository
- dvcrn/openclaw-skills-marketplace
- Path
plugins/0range-x--session-rotate-80/skills/session-rotate-80/SKILL.md- Repo updated
- 29 August 2026
FAQ
What does the Session Rotate 80 skill do?
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.
How do I install the Session Rotate 80 skill?
Claude Code plugin: /plugin marketplace add dvcrn/openclaw-skills-marketplace. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Session Rotate 80 popular?
It lives in dvcrn/openclaw-skills-marketplace, which has 33 GitHub stars and 17 forks.
Related skills
0protocol
33dvcrn/openclaw-skills-marketplace
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
0xarchive
33dvcrn/openclaw-skills-marketplace
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.
Aaas Roi Calculator
33dvcrn/openclaw-skills-marketplace
Calculate ROI for AI-as-a-Service (managed AI agents). Estimates cost savings, efficiency gains, and payback period for deploying AI agents across business operations. Use when evaluating whether managed AI agents make financial sense for a company.
Skreenshot
33dvcrn/openclaw-skills-marketplace
Organize, tag, search, and manage screenshots on macOS. Use when users need to: (1) find specific screenshots, (2) organize screenshots into folders by category/project, (3) search screenshot content via OCR, (4) bulk rename or move screenshots, (5) clean up old screenshots, or (6) integrate with CleanShot X or macOS screenshot tool.
Openclaw Safe Change Flow
33dvcrn/openclaw-skills-marketplace
Safe OpenClaw config change workflow with backup, minimal edits, validation, health checks, and rollback. Single-instance first; secondary instance optional.
Soulflow
33dvcrn/openclaw-skills-marketplace
General-purpose AI workflow framework for OpenClaw. Build custom multi-step workflows for any task — dev, ops, research, content, or automation. Ships with dev workflow examples.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.