Back to Registry
View Author Profile
Official Verified
heap-dump
内存快照分析(v8 heap snapshot)+ 性能分析(perf_hooks)
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/amd5/heap-dumpOr
Heap Dump & Profiler — 内存与性能分析
版本: 1.0.1
创建日期: 2026-04-13
更新日期: 2026-04-14
📋 功能
| 功能 | 说明 |
|---|---|
| heap-dump | 生成 v8 堆快照,Chrome DevTools 分析 |
| profiler | perf_hooks 性能分析(start/checkpoint/end/report) |
📂 文件结构
skills/heap-dump/
├── SKILL.md
├── skill.json
└── scripts/
├── heap-dump.js # 内存快照生成
└── profiler.js # 性能分析工具
🔧 用法
# 内存快照
node skills/heap-dump/scripts/heap-dump.js snapshot
# 性能分析
node skills/heap-dump/scripts/profiler.js start "任务名" # 开始
node skills/heap-dump/scripts/profiler.js checkpoint "阶段" # 标记点
node skills/heap-dump/scripts/profiler.js end # 结束
node skills/heap-dump/scripts/profiler.js report # 生成报告
📊 触发方式
- 手动触发(按需使用的诊断工具,无需自动化)
⚠️ 注意事项
- heap snapshot 文件较大,建议分析后删除
- profiler 输出写入
memory/perf/目录 - 已合并 headless-profiler 功能
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-amd5-heap-dump": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.
Related Skills
feishu-repair
自动修复飞书-自动修复飞书群聊+自动修复会话 - 诊断 Gateway 连接、权限配置、消息投递问题
amd5 4473
memory-archiver
记忆管理技能 - 三层时间架构 + 自动搜索/提取/会话笔记统一 Hook + 记忆巩固(整合 auto-dream)
amd5 4473
error-monitor-fix
错误监控 - 扫描 JSON 日志、捕获 ERROR 级别错误、OpenClaw 系统级错误修复建议
amd5 4473
work-progress
工作进度检查技能 - 定期检查待办事项 + 子代理超时/消失检测与自动恢复 + 全量会话监控
amd5 4473
secure-storage
AES 加密存储,用于安全保存 API 密钥等敏感信息
amd5 4473