# Send Session Monitor to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/session-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=session-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "config.json",
      "scripts/__init__.py",
      "scripts/config_manager.py",
      "scripts/session_monitor.py"
    ],
    "downloadMode": "redirect",
    "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### 功能概述

自动在每次对话回复中添加简洁的会话状态信息，包括：

当前使用的模型
输入/输出 token 消耗
上下文使用率
功能开关状态（Reasoning/Elevated等）

### 显示格式

默认格式：[🧠 qwen3-max | 📥123k/📤420 | Context: 47%]

可配置格式选项：

compact: 紧凑模式 [qwen3-max|123k/420|47%]
detailed: 详细模式（包含功能状态）
hidden: 隐藏模式（仅通过命令查看）

### 开关控制

/token on      # 启用状态显示
/token off     # 禁用状态显示  
/token toggle  # 切换显示状态

### 格式控制

/token format compact    # 设置紧凑格式
/token format detailed   # 设置详细格式  
/token format default    # 恢复默认格式

### 手动查看

/status        # 查看详细状态信息
/token         # 查看当前token统计

### 配置

通过环境变量控制默认行为：

SESSION_MONITOR_ENABLED=true|false (默认: true)
SESSION_MONITOR_FORMAT=default|compact|detailed|hidden (默认: default)

### 集成

此技能与 OpenClaw 的 hooks 系统集成，在每次响应后自动注入状态信息。
支持与其他监控技能协同工作，如 task-persistence 和 gateway-monitor。

### 使用示例

启用后，每条消息底部会自动显示：

这是正常的回复内容...

[🧠 qwen3-max | 📥123k/📤420 | Context: 47%]
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: yangdaowan
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/session-monitor)
- [Send to Agent page](https://openagent3.xyz/skills/session-monitor/agent)
- [JSON manifest](https://openagent3.xyz/skills/session-monitor/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/session-monitor/agent.md)
- [Download page](https://openagent3.xyz/downloads/session-monitor)