26 lines
568 B
Markdown
26 lines
568 B
Markdown
# claudeplus
|
||
|
||
Claude Code 自定义命令集合。
|
||
|
||
## 安装
|
||
|
||
```bash
|
||
git clone https://git.deepknow.site/Knowit/claudeplus.git
|
||
mkdir -p ~/.claude/commands
|
||
cp claudeplus/commands/* ~/.claude/commands/
|
||
```
|
||
|
||
重启 Claude Code 后即可使用。
|
||
|
||
## 命令列表
|
||
|
||
### /token-stats [username|all]
|
||
|
||
统计本机 Claude token 用量,按日期分组展示。建议在 root 用户下使用,否则只能统计当前用户的数据。
|
||
|
||
```
|
||
/token-stats # 当前用户
|
||
/token-stats charles # 指定用户
|
||
/token-stats all # 所有用户(含 root)
|
||
```
|