dsh-tool-stats
已验证dsh-tool-stats · v0.5.1 · MIT · Web 界面
Every tool call is counted, and the ones that never fire are named so you can remove them.
安装
dsh plugin add dsh-tool-stats 用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。
源码
标签
说明文档
dsh-tool-stats
Every tool call is counted, and the ones that never fire are named so you can remove them.
Install
dsh plugin --profile web add dsh-tool-stats
What it does
- Hook tool calls. Records tool name, success/failure, latency, session.
- Dead-tool detection. Tools configured but never invoked across N sessions are flagged.
- Failure analysis. Tools with high failure rates are identified with their last error.
- Recommendations. "Removing 12 unused tools would save ~1.8k tokens per context window."
- Panel. Usage table, dead/failing sections, recommendations.
CLI
dsh-tool-stats summary # show tool usage, dead tools, failures, recommendations
License
MIT