{
  "schemaVersion": "1.0",
  "item": {
    "slug": "session-monitor",
    "name": "Session Monitor",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/yangdaowan/session-monitor",
    "canonicalUrl": "https://clawhub.ai/yangdaowan/session-monitor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/session-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=session-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "config.json",
      "scripts/__init__.py",
      "scripts/config_manager.py",
      "scripts/session_monitor.py"
    ],
    "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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/session-monitor"
    },
    "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/session-monitor",
    "agentPageUrl": "https://openagent3.xyz/skills/session-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/session-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/session-monitor/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": "功能概述",
        "body": "自动在每次对话回复中添加简洁的会话状态信息，包括：\n\n当前使用的模型\n输入/输出 token 消耗\n上下文使用率\n功能开关状态（Reasoning/Elevated等）"
      },
      {
        "title": "显示格式",
        "body": "默认格式：[🧠 qwen3-max | 📥123k/📤420 | Context: 47%]\n\n可配置格式选项：\n\ncompact: 紧凑模式 [qwen3-max|123k/420|47%]\ndetailed: 详细模式（包含功能状态）\nhidden: 隐藏模式（仅通过命令查看）"
      },
      {
        "title": "开关控制",
        "body": "/token on      # 启用状态显示\n/token off     # 禁用状态显示  \n/token toggle  # 切换显示状态"
      },
      {
        "title": "格式控制",
        "body": "/token format compact    # 设置紧凑格式\n/token format detailed   # 设置详细格式  \n/token format default    # 恢复默认格式"
      },
      {
        "title": "手动查看",
        "body": "/status        # 查看详细状态信息\n/token         # 查看当前token统计"
      },
      {
        "title": "配置",
        "body": "通过环境变量控制默认行为：\n\nSESSION_MONITOR_ENABLED=true|false (默认: true)\nSESSION_MONITOR_FORMAT=default|compact|detailed|hidden (默认: default)"
      },
      {
        "title": "集成",
        "body": "此技能与 OpenClaw 的 hooks 系统集成，在每次响应后自动注入状态信息。\n支持与其他监控技能协同工作，如 task-persistence 和 gateway-monitor。"
      },
      {
        "title": "使用示例",
        "body": "启用后，每条消息底部会自动显示：\n\n这是正常的回复内容...\n\n[🧠 qwen3-max | 📥123k/📤420 | Context: 47%]"
      }
    ],
    "body": "Session Monitor - 会话状态监控\n功能概述\n\n自动在每次对话回复中添加简洁的会话状态信息，包括：\n\n当前使用的模型\n输入/输出 token 消耗\n上下文使用率\n功能开关状态（Reasoning/Elevated等）\n显示格式\n\n默认格式：[🧠 qwen3-max | 📥123k/📤420 | Context: 47%]\n\n可配置格式选项：\n\ncompact: 紧凑模式 [qwen3-max|123k/420|47%]\ndetailed: 详细模式（包含功能状态）\nhidden: 隐藏模式（仅通过命令查看）\n控制命令\n开关控制\n/token on      # 启用状态显示\n/token off     # 禁用状态显示  \n/token toggle  # 切换显示状态\n\n格式控制\n/token format compact    # 设置紧凑格式\n/token format detailed   # 设置详细格式  \n/token format default    # 恢复默认格式\n\n手动查看\n/status        # 查看详细状态信息\n/token         # 查看当前token统计\n\n配置\n\n通过环境变量控制默认行为：\n\nSESSION_MONITOR_ENABLED=true|false (默认: true)\nSESSION_MONITOR_FORMAT=default|compact|detailed|hidden (默认: default)\n集成\n\n此技能与 OpenClaw 的 hooks 系统集成，在每次响应后自动注入状态信息。 支持与其他监控技能协同工作，如 task-persistence 和 gateway-monitor。\n\n使用示例\n\n启用后，每条消息底部会自动显示：\n\n这是正常的回复内容...\n\n[🧠 qwen3-max | 📥123k/📤420 | Context: 47%]"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/yangdaowan/session-monitor",
    "publisherUrl": "https://clawhub.ai/yangdaowan/session-monitor",
    "owner": "yangdaowan",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/session-monitor",
    "downloadUrl": "https://openagent3.xyz/downloads/session-monitor",
    "agentUrl": "https://openagent3.xyz/skills/session-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/session-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/session-monitor/agent.md"
  }
}