Add token-stats slash command
This commit is contained in:
26
README.md
Normal file
26
README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# claudeplus
|
||||
|
||||
Claude Code 自定义命令集合。
|
||||
|
||||
## 安装
|
||||
|
||||
将 `commands/` 目录下的文件复制到 `~/.claude/commands/`:
|
||||
|
||||
```bash
|
||||
mkdir -p ~/.claude/commands
|
||||
cp commands/* ~/.claude/commands/
|
||||
```
|
||||
|
||||
重启 Claude Code 后即可使用。
|
||||
|
||||
## 命令列表
|
||||
|
||||
### /token-stats [username|all]
|
||||
|
||||
统计本机 Claude token 用量,按日期分组展示。
|
||||
|
||||
```
|
||||
/token-stats # 当前用户
|
||||
/token-stats charles # 指定用户
|
||||
/token-stats all # 所有用户(含 root)
|
||||
```
|
||||
Reference in New Issue
Block a user