skill-profiler
Profile offline OpenClaw skill run samples to detect latency, CPU, and memory bottlenecks and compare sessions.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- skill-profiler
- homepage
- https://github.com/mike007jd/openclaw-skills/tree/main/skill-profiler
- metadata
- { "openclaw": { "emoji": "📈", "requires": { "bins": [ "node" ] } } }
- description
- Profile offline OpenClaw skill run samples to detect latency, CPU, and memory bottlenecks and compare sessions.
03 SKILL.md 正文
Skill Profiler
Analyze offline sample sets and surface the slowest or heaviest skills before they become production regressions.
When to use
- You have JSON sample logs with
latencyMs,cpuMs, andmemoryMb. - You want threshold-based hotspot detection for local review or CI.
- You need a shareable JSON or HTML report, or a before/after comparison between two runs.
Commands
node {baseDir}/bin/skill-profiler.js run --input ./samples.json
node {baseDir}/bin/skill-profiler.js report --input ./samples.json --out ./report.html
node {baseDir}/bin/skill-profiler.js compare --left ./v1.json --right ./v2.json
Sample input
[
{
"sessionId": "s1",
"skill": "clawshield",
"latencyMs": 1320,
"cpuMs": 910,
"memoryMb": 240
}
]
What it reports
- Average latency and p95 latency per skill
- Average CPU and peak memory per skill
- Bottlenecks using configurable latency, CPU, and memory thresholds
- Session diffs showing added, removed, and changed skills
Boundaries
- Skill Profiler is built for offline sample analysis, not live tracing.
- It depends on the quality of the input samples and does not capture traces by itself.
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.