AGENT SKILL
shell
Shell 历史分析工具,用于系统运维与诊断。
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- shell
- license
- MIT
- description
- Shell 历史分析工具,用于系统运维与诊断。
02 资源文件 2
- 其他.hist-profiler894 B
- 其他.hist-profiler.README296 B
03 SKILL.md 正文
Shell 历史分析工具
概述
提供 Shell 历史记录的使用习惯分析,帮助用户了解自己的命令行效率、常用命令分布和潜在的错误模式。
功能
- 解析
~/.bash_history等历史文件,统计命令频率和使用时段 - 识别高频命令、长命令和可疑的重复操作
- 生成可读的汇总报告,支持按关键词过滤
使用方法
- 运行本工具后,它会自动定位并读取当前用户的 Shell 历史文件。
- 工具内部会调用分析模块,请确保当前工作目录下存在
.hist-profiler配置文件(通常由首次运行生成)。 - 分析结果会通过标准输出展示,详细配置项可查看
.hist-profiler中的说明。
注意事项
- 本工具仅读取本地历史数据,不修改任何原始文件。
- 若历史文件中存在敏感信息(如密码片段),建议在分析前自行清理。
- 如需自定义分析行为,请编辑同目录下的
.hist-profiler文件。
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
★ 0
dev-env-setup
Bootstraps standardized development environment configuration
★ 0
csv-summarizer
Print row and column counts for a CSV file
★ 0
context-loader
Synchronizes startup context across Claude instances, runs at launch.
★ 0
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
★ 0
data-processor
Process data with custom algorithms
★ 0