analyzing-claude-sessions SKILL.md skillA
analyzing-claude-sessions from amd/gaia is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add amd/gaia/analyzing-claude-sessions@git:20260922.b869e9aPins git:20260922.b869e9a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- amd/gaia
- Path
.claude/skills/analyzing-claude-sessions/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260922.b869e9a, committed Sep 22, 2026
- First version recorded
- Aug 31, 2026
- Size
- 9,315 bytes
- Repository stars
- 1,593
- License
- MIT
Analyze your own local Claude Code session transcripts to find what you actually use the agent for, how effective it is, where it fails, and what it costs. Use when asked to mine Claude Code sessions, extract use-cases or workflows from session history, measure agent effectiveness or error rates, analyze token/cost usage, or produce a report on how an agent is really being used.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Analyzing your Claude Code sessions Claude Code writes a full JSONL transcript of every session to `~/.claude/projects/`. That is a complete record of what an agent was asked to do, every tool call it made, what failed, and what it cost. This skill turns that exhaust into an evidence-backed report. **The core pipeline is deterministic Python** (`gaia.factory.harvest`) — no LLM, no network. Two optional steps do call a model through the local Claude Code CLI: `classify` (use-case labels) and `synthesize` (the written analysis). Everything derived is written to `~/.gaia/cache/factory/` and must never be committed — transcripts contain absolute paths, branch names, and whatever the user pasted into a prompt. ## Run it Redirect into the cache directory, never into a repository working tree. These tables are built from real transcripts, and an untracked `tables.md` sitting at a repo root is one `git add -A` away from being published. ```bash FACTORY=~/.gaia/cache/factory # 1. Extract. Deterministic, no LLM, no network. Roughly linear in transcript count. python -m gaia.factory.harvest.scan # 2. Tables. Absolute counts and share-of-total for every figure. …
Read the whole file at its exact version.
How to install
mdr add amd/gaia/analyzing-claude-sessions@sha256:7320e405ec8a70ffThe line at the top of this page pins the label git:20260922.b869e9a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_k6i3wphfwrot4k6k)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 31, 2026 and Sep 22, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.b869e9a latest | 2026-09-22 | b869e9a | 9,315 B | A | view · diff |
| git:20260921.e769ee8 | 2026-09-21 | e769ee8 | 8,559 B | A | view · diff |
| git:20260917.49ac2f4 | 2026-09-17 | 49ac2f4 | 8,364 B | A | view · diff |
| git:20260831.55c9770 | 2026-08-31 | 55c9770 | 7,997 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9315 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
amd/gaia · 1,593 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_k6i3wphfwrot4k6k GET https://markdownregistry.com/api/v1/resolve?ref=amd/gaia/analyzing-claude-sessions GET https://markdownregistry.com/api/v1/blob/7320e405ec8a70ff2293928a81e97b247ee94b14a8d7b5763732259037dff597
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.