session-analysislisted
Install: claude install-skill glitchwerks/claude-prospector
# Session Analysis Skill (1b)
You are producing the **judgment** half of session drift-detection: given a
session's deterministic ask-vs-done extract (from 1a), assess whether the
agent stayed on task and what it acknowledged leaving undone — then persist a
combined record. This is interpretive work; a deterministic parser cannot do
it, which is exactly why it costs LLM tokens and is opt-in.
## Prerequisites
This skill drives the `claude_prospector` CLI. The package must be installed
in the environment Claude Code uses — see the
[README install steps](https://github.com/glitchwerks/claude-prospector#install-as-a-claude-code-plugin).
## Step 1 — Identify the target session
The session-id (or transcript path) is `` if provided.
- If `` is a session-id, use it directly.
- If `` is empty, find the most recent transcript for the current
project under `~/.claude/projects/<encoded-cwd>/*.jsonl` (newest mtime) and
**confirm the session-id with the user before spending tokens** — variance
analysis is opt-in, don't guess silently.
## Step 2 — Load the deterministic extract (free, 1a)
```bash
python -m claude_prospector session-audit --session-id <id> --format json
```
This returns `{original_ask, prior_asks, actions}`. `original_ask` is the
authoritative first ask; `prior_asks` are later distinct asks in the session;
`actions` are the Edit/Write/NotebookEdit file paths. Reason over this — it is
your ground truth for "what was asked" and "what was changed".
For richer co