# claudeplus Claude Code 自定义命令集合。 ## 安装 ```bash git clone https://git.deepknow.site/Knowit/claudeplus.git mkdir -p ~/.claude/commands cp claudeplus/commands/* ~/.claude/commands/ ``` 重启 Claude Code 后即可使用。 ## 模块列表 | 模块 | 路径 | 说明 | |------|------|------| | 命令集 | `commands/` | Claude Code 自定义斜杠命令 | | Stop Hook | `hooks/token-stats-hook/` | 会话结束时自动备份 token 用量(Go 二进制) | --- ## 命令列表 ### /token-stats [username|all] 统计本机 Claude token 用量,按日期分组展示。建议在 root 用户下使用,否则只能统计当前用户的数据。 ``` /token-stats # 当前用户 /token-stats charles # 指定用户 /token-stats all # 所有用户(含 root) ```