首页龙虾技能列表 › Session Observer — 技能工具

Session Observer — 技能工具

v1.0.0

[自动翻译] Observe OpenClaw session usage, token consumption, context pressure, and model/runtime state. Use when the user asks about token usage, context size, ...

0· 158·0 当前·0 累计
by @qsczseasd·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/16
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is an instruction-only observer that asks the agent to call an existing session_status tool and summarize session/token/context metrics — its requests and instructions are consistent with that purpose.
评估建议
This skill is narrowly focused and doesn't request credentials or install anything. The main consideration is that it relies on the platform tool session_status — installing it grants the skill (when invoked) the ability to read whatever session metadata session_status exposes. If you are comfortable with session metadata being viewable to invoked skills, this is coherent; otherwise restrict who can invoke the skill or review what session_status returns before installing.
详细分析 ▾
用途与能力
Name and description match the SKILL.md: the skill's goal is to inspect session state (tokens, context, cache, model). It requests no credentials, binaries, or installs that would be unrelated to that purpose.
指令范围
Runtime instructions are narrowly scoped: call session_status, extract a short set of fields, interpret them, and recommend a small next step. It does not ask to read unrelated files, environment variables, or transmit data to external endpoints.
安装机制
Instruction-only skill with no install spec and no code files — nothing is written to disk or downloaded by the skill itself.
凭证需求
No environment variables, credentials, or config paths are required. The skill's needs are minimal and proportional to observing session state.
持久化与权限
Does not request always:true and is user-invocable only; it does not attempt to modify other skills or system-wide settings.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/16

Initial public release. Adds lightweight OpenClaw session monitoring for token usage, context pressure, cache behavior, and practical next-step guidance.

● 无害

安装命令 点击复制

官方npx clawhub@latest install session-observer
镜像加速npx clawhub@latest install session-observer --registry https://cn.clawhub-mirror.com

技能文档

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.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务