Session Stats
技能 已验证 活跃显示 Claude Code 会话的 token 用量、模型分布、轮次计数、时长和工具使用情况。当用户询问 token 用量、会话成本、模型细分,或说“会话统计信息”或“这次会话用了多少”时使用。
为用户提供对其 Claude Code 会话活动的详细见解,使他们能够了解 token 消耗、模型使用情况和工具利用情况。
功能
- 显示 token 用量细分
- 详细说明每个会话的模型分布
- 列出工具使用统计信息
- 提供会话时长和轮次计数
使用场景
- 当询问会话的 token 用量时
- 当查询会话成本或模型细分时
- 当请求“会话统计信息”或“这次会话用了多少”时
非目标
- 会话成本估算
- 修改或删除会话文件
安装
请先添加 Marketplace
/plugin marketplace add apappascs/claude-code-sessions/plugin install claude-code-sessions@claude-code-sessions质量评分
已验证类似扩展
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references
Typescript Advanced Types
100Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.
Running Claude Code Via Litellm Copilot
100当通过本地 LiteLLM 代理将 Claude Code 路由到 GitHub Copilot 时使用,以减少直接的 Anthropic 支出,配置 ANTHROPIC_BASE_URL 或 ANTHROPIC_MODEL 覆盖,或对 Copilot 代理设置失败进行故障排除,例如 model-not-found、无 localhost 流量或 GitHub 401/403 身份验证错误。
Guard
100保护 Claude Code 会话免受上下文溢出影响,通过运行一个后台守护进程来监控会话大小并在压缩命中之前自动进行修剪。当用户说“guard”、“protect session”、“context getting long”、“prevent compaction”、“session management”或正在运行需要持续上下文保护的代理团队时使用。
Create Command
100Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration
Rule Effectiveness Analysis
100Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.