AgentSkillsCN

usage

展示会话使用统计信息,包括 Token 计数、模型详情以及活跃会话数量。

SKILL.md
--- frontmatter
name: usage
description: Show session usage statistics including token counts, model info, and active sessions.
user-invocable: true

Usage Command

This skill provides the /usage command that shows detailed statistics about Clawdbot sessions, token usage, and active models.

When to use

Use /usage when you want to see:

  • Token usage across all sessions
  • Active sessions and their models
  • Token context window usage percentages
  • Session metadata

How it works

The /usage command runs clawdbot status and parses the output to show:

  • Total active sessions
  • Tokens used vs context window per session
  • Model information
  • Session keys

Examples

User: /usage Response: Shows a formatted summary of all sessions with token counts and model details.

Implementation

Use the exec tool to run:

code
clawdbot status

Parse the Sessions table from the output and format it nicely for the user.