← 返回
AI智能 中文

Session Observer

Observe OpenClaw session usage, token consumption, context pressure, and model/runtime state. Use when the user asks about token usage, context size, model i...
监控OpenClaw会话、令牌、上下文及状态,用于查询用量或模型信息。
qsczseasd
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 459
下载
💾 6
安装
1
版本
#latest

概述

Session Observer

Overview

Inspect OpenClaw session state with minimal disruption. Prefer session_status first, then summarize token usage, context pressure, cache ratio, model/runtime details, and any obvious follow-up actions.

Workflow

1. Start with session status

Use session_status first when the user asks about:

  • token usage
  • model in use
  • context usage
  • cache hit rate
  • premium/chat budget remaining
  • session health

If the user refers to another session, target that session explicitly.

2. Extract the practical signals

Report the fields most useful to the user:

  • current model
  • input/output token counts
  • context used and total context window
  • cache hit ratio
  • budget or usage percentage when available
  • runtime mode and whether reasoning is enabled

Do not dump raw status cards unless the user asks.

3. Interpret, do not just repeat

Classify the situation:

  • healthy: low or moderate context pressure, no obvious issues
  • watch: context is growing, cache low, or usage notably climbing
  • high pressure: context is large enough that compaction, a new thread, or cleanup may help

4. Recommend the smallest next step

Examples:

  • continue as-is
  • start a fresh thread for a new topic
  • reduce unnecessary logs or verbose outputs
  • use a sub-agent for a large parallel task
  • check a specific session if the user suspects cost spikes

Output format

Use:

  • Current state
  • What it means
  • Recommended next step

Keep it short unless the user asks for detail.

Safety rules

  • Do not invent cost numbers not shown by the tool.
  • If a field is unavailable, say unavailable.
  • Prefer session_status over guesswork.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 08:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,815
ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 417 📥 115,209
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,118