Individual skill
session-profiler
Profile and debug Hermes sessions from their JSONL transcripts. Find a session and its subagents, build a queryable event table, summarize the work as a hierarchical table of contents, break down wall time, inference, tools, tokens, and estimated cost per agent, identify errors and improvement opportunities, and export a shareable Perfetto trace. Use when a user wants to inspect what a Hermes session did, debug agent or subagent activity, understand session cost or latency, create a session timeline, generate a trace, or learn how to improve the next agent run.
skills/session-profiler/SKILL.md
Source commit 1be9984bdafbb68eaff400bdd82773a1d41ee7ec
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 227
- Repository last updated
- Aug 16, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- ai Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- claude-code-plugin Repository topic
- claude-skills Repository topic
- codex Repository topic
- codex-skill Repository topic
- hermes-agent Repository topic
- openclaw Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 736 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesSKILL.mdcore · 6,049 bytesagents/openai.yamlasset · 253 bytesscripts/requirements.txtdoc · 24 bytesscripts/session_profiler/__init__.pyruns · 84 bytesscripts/session_profiler/analyses.pyruns · 12,118 bytesscripts/session_profiler/cli.pyruns · 4,467 bytesscripts/session_profiler/dataset.pyruns · 20,923 bytesscripts/session_profiler/discover.pyruns · 7,529 bytesscripts/session_profiler/toc.pyruns · 4,010 bytesscripts/session_profiler/trace.pyruns · 7,757 bytesscripts/spruns · 537 bytesscripts/tests/fixture/main.jsonlasset · 1,757 bytesscripts/tests/fixture/main/subagents/agent-abc.jsonlasset · 584 bytesscripts/tests/fixture/main/subagents/agent-abc.meta.jsonasset · 118 bytesscripts/tests/hermes_home/sessions/2026/01/01/rollout-child.jsonlasset · 1,278 bytesscripts/tests/hermes_home/sessions/2026/01/01/rollout-root.jsonlasset · 1,862 bytesscripts/tests/test_fixture.pyruns · 2,408 bytes
Read excerpt
# Session Profiler
Turn one Hermes main transcript plus its subagent transcripts into analysis artifacts. Route every operation through the bundled wrapper so it uses a consistent environment and remembers the latest parsed work directory.
```bash
SP="$SKILL/scripts/sp"
```
Resolve `SKILL` to this skill's directory. If it is unavailable, use the absolute path to `scripts/sp` beside this file.
## Workflow
1. Find and inspect the session.