{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-session-guard",
    "name": "OpenClaw Session Guard",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tel18610240060-collab/openclaw-session-guard",
    "canonicalUrl": "https://clawhub.ai/tel18610240060-collab/openclaw-session-guard",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-session-guard",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-session-guard",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "reference.md",
      "scripts/install.sh",
      "scripts/openclaw-session-rotator.sh",
      "scripts/status.sh",
      "scripts/uninstall.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-session-guard",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T12:30:15.860Z",
      "expiresAt": "2026-05-13T12:30:15.860Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-session-guard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-session-guard",
        "contentDisposition": "attachment; filename=\"openclaw-session-guard-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-session-guard"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-session-guard"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openclaw-session-guard",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-session-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-session-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-session-guard/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenClaw Session Guard",
        "body": "用于治理 OpenClaw 会话上下文过长导致的反复 compaction。"
      },
      {
        "title": "适用场景",
        "body": "用户反馈 compacting context 频繁出现\n想要“到阈值自动摘要+存档+续聊”\n需要安装/检查/卸载会话轮换定时任务"
      },
      {
        "title": "默认策略",
        "body": "阈值：80%\n冷却：1800s（30 分钟）\n扫描周期：300s（5 分钟）\n摘要条数：每个角色最近 6 条"
      },
      {
        "title": "快速操作",
        "body": "安装/更新\n\nbash ~/.openclaw/skills/openclaw-session-guard/scripts/install.sh\n\n查看状态\n\nbash ~/.openclaw/skills/openclaw-session-guard/scripts/status.sh\n\n卸载\n\nbash ~/.openclaw/skills/openclaw-session-guard/scripts/uninstall.sh"
      },
      {
        "title": "交付要求",
        "body": "给用户汇报：当前阈值、冷却、扫描周期\n给用户汇报：最新归档文件与最新轮换 sessionId\n若失败：给出可执行修复命令，不只描述原因"
      },
      {
        "title": "参考",
        "body": "详细机制和目录说明见 reference.md"
      }
    ],
    "body": "OpenClaw Session Guard\n\n用于治理 OpenClaw 会话上下文过长导致的反复 compaction。\n\n适用场景\n用户反馈 compacting context 频繁出现\n想要“到阈值自动摘要+存档+续聊”\n需要安装/检查/卸载会话轮换定时任务\n默认策略\n阈值：80%\n冷却：1800s（30 分钟）\n扫描周期：300s（5 分钟）\n摘要条数：每个角色最近 6 条\n快速操作\n安装/更新\nbash ~/.openclaw/skills/openclaw-session-guard/scripts/install.sh\n\n查看状态\nbash ~/.openclaw/skills/openclaw-session-guard/scripts/status.sh\n\n卸载\nbash ~/.openclaw/skills/openclaw-session-guard/scripts/uninstall.sh\n\n交付要求\n给用户汇报：当前阈值、冷却、扫描周期\n给用户汇报：最新归档文件与最新轮换 sessionId\n若失败：给出可执行修复命令，不只描述原因\n参考\n详细机制和目录说明见 reference.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tel18610240060-collab/openclaw-session-guard",
    "publisherUrl": "https://clawhub.ai/tel18610240060-collab/openclaw-session-guard",
    "owner": "tel18610240060-collab",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-session-guard",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-session-guard",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-session-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-session-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-session-guard/agent.md"
  }
}