agentsclimarketplace

Claude session analysis

Skill kawaz/claude-session-analysis/skills/claude-session-analysis

Analyze Claude Code session files. セッションを探し、timeline(tl)を見て、コンパクトやクリアにより失われた文脈を取り戻すFrom its SKILL.md

Install
npx -y skills add kawaz/claude-session-analysis --skill claude-session-analysis

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, as published. Nobody here has run it

Claude Session Analysis

This is {SKILL_DIR}/SKILL.md. CLI: {SKILL_DIR}/bin/claude-session-analysis

My session ID: ${CLAUDE_SESSION_ID}

SubcommandDescription
sessions [--since <2d>] [--limit <N>] [--path REGEXP] [--grep REGEXP]セッション検索(デフォルト全プロジェクト)
timeline <id> [options]タイムライン表示(--help で全オプション確認可)
resolve [--path] <id_prefix>セッションID補完・パス解決
file-ops <id>ファイル操作一覧

Paths

  • Sessions: ~/.claude/projects/{project-path}/{session-id}.jsonl
  • Backups: ~/.claude/file-history/{session-id}/{hash}@v{version}

Timeline の使い分け

目的コマンド例
全体像の把握timeline SID
会話内容の確認timeline SID --md -t RU
コンパクト後の文脈復旧timeline SID --md -t TRU --last-since 2h --last-turn 10
特定トピックの抽出timeline SID --grep <pattern> -C 1 --md

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.