← All skills
Tencent SkillHub · Developer Tools

OpenClaw Session Guard

管理 OpenClaw 长会话防爆机制(80%自动归档、自动轮换新会话、低 token 交接)及定时任务安装。用户提到 compacting context、会话过长、自动总结归档、session 轮换、LaunchAgent 定时任务时使用。

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

管理 OpenClaw 长会话防爆机制(80%自动归档、自动轮换新会话、低 token 交接)及定时任务安装。用户提到 compacting context、会话过长、自动总结归档、session 轮换、LaunchAgent 定时任务时使用。

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, reference.md, scripts/install.sh, scripts/openclaw-session-rotator.sh, scripts/status.sh, scripts/uninstall.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 6 sections Open source page

OpenClaw Session Guard

用于治理 OpenClaw 会话上下文过长导致的反复 compaction。

适用场景

用户反馈 compacting context 频繁出现 想要“到阈值自动摘要+存档+续聊” 需要安装/检查/卸载会话轮换定时任务

默认策略

阈值:80% 冷却:1800s(30 分钟) 扫描周期:300s(5 分钟) 摘要条数:每个角色最近 6 条

快速操作

安装/更新 bash ~/.openclaw/skills/openclaw-session-guard/scripts/install.sh 查看状态 bash ~/.openclaw/skills/openclaw-session-guard/scripts/status.sh 卸载 bash ~/.openclaw/skills/openclaw-session-guard/scripts/uninstall.sh

交付要求

给用户汇报:当前阈值、冷却、扫描周期 给用户汇报:最新归档文件与最新轮换 sessionId 若失败:给出可执行修复命令,不只描述原因

参考

详细机制和目录说明见 reference.md

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Scripts2 Docs
  • SKILL.md Primary doc
  • reference.md Docs
  • scripts/install.sh Scripts
  • scripts/openclaw-session-rotator.sh Scripts
  • scripts/status.sh Scripts
  • scripts/uninstall.sh Scripts