session-deep-dive

session-deep-dive is a skill for Claude Code, Codex from slbug/claude-ruby-grape-rails. It costs 36 tokens per session (999 once invoked), scanned A, original, MIT.

A qualitative review tool for examining selected Claude Code sessions in detail after a session scan. It uses session measurements as clues and reads full transcripts to check what happened.

In plain words
What is it for?
Use it to inspect the latest session, sessions flagged by a scan, a chosen session, or changes in findings compared with an earlier analysis.
Why use it?
It helps validate automated signals and turn individual coding sessions into findings for contributors.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/slbug/claude-ruby-grape-rails/session-deep-dive
Any agent
npx skills add slbug/claude-ruby-grape-rails --skill session-deep-dive
Clone the repo
git clone --depth 1 https://github.com/slbug/claude-ruby-grape-rails

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-deep-dive

README.md
[![agentmods](https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/session-deep-dive.svg)](https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/session-deep-dive)
Your own site
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/session-deep-dive"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/session-deep-dive.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 999 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.00999
Opus 5 $0.00018 $0.00500
Sonnet 5 $0.00007 $0.00200
Haiku 4.5 $0.00004 $0.00100

Measured 4d ago against content hash bac6f18b3506, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

session-deep-dive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/session-deep-dive/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Session Deep Dive (Tier 2)

Audience: Agents, Not Humans

Imperative-only. NOT a replacement for deterministic evals.

Requirements

  • ccrider CLI on PATH (full transcript export; resolves DB path internally)
  • populated .claude/session-metrics/metrics.jsonl from /session-scan
Missing Action
ledger tell contributor to run /session-scan first
ccrider not on PATH ask contributor to install (https://github.com/neilberkman/ccrider)

Usage

Command Behavior
/session-deep-dive SESSION_ID analyze explicit session ID
/session-deep-dive --last most recent session
/session-deep-dive --from-scan sessions flagged by latest scan
/session-deep-dive --from-scan --provider <NAME> scoped to provider
/session-deep-dive --compare .claude/session-analysis/insights-2026-03-20.md comparison reference

Workflow

1. Resolve Target Sessions

Selectors: explicit session ID, --last, --from-scan, optional --provider NAME, optional --compare PATH.

--provider present → only analyze ledger entries with matching provider field.

2. Load Existing Metrics as Hints

For each target session, load ledger entry. Treat these values as starting hypotheses (NOT ground truth):

  • friction score
  • fingerprint
  • plugin opportunity score
  • tool profile
  • skill-effectiveness hints

Confirm with transcript evidence before relying on them.

3. Export Transcripts via ccrider CLI

Use ccrider export — no MCP, no truncation, full session.

Per target:

  1. mkdir -p .claude/session-analysis
  2. ccrider export SESSION_ID --output .claude/session-analysis/{short_id}-transcript.md

Each exported file = complete session markdown (user, assistant, tool messages). Main context does NOT read these files — only the analysis subagent does.

Multiple sessions → loop selected IDs, invoke ccrider export per ID. Avoids loading transcript bytes into main-context tool output.

4. Analyze Each Session

Read the full file on GitHub · 133 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 133 lines · 36 tokens per session scan A bac6f18b3506

Subscribe to this mod's changes

session-deep-dive is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 4d ago), licensed MIT. It adds 36 tokens to every session and 999 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.