Skip to content
Back to skills

Session Analyst

ASecurity

Produce an end-of-session report: what happened, what worked, what friction recurred, and which candidate learnings emerged. Use when the user asks /evolution report or invokes this manually at session end. Writes to evolution/reports/, never to stable/.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add kmshihab7878/claude-code-setup --skill session-analyst --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Analyst?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Analyst
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kmshihab7878-session-analyst/badge)](https://www.skillsdirectory.com/skills/kmshihab7878-session-analyst)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-analyst
description: "Produce an end-of-session report: what happened, what worked, what friction recurred, and which candidate learnings emerged. Use when the user asks /evolution report or invokes this manually at session end. Writes to evolution/reports/, never to stable/."
---

# session-analyst

## When to use
- User runs `/evolution report` or asks "summarize this session."
- Manually before compacting context or ending a session, if the session produced load-bearing evidence.

## Protocol
1. Scan `~/.claude/evolution/records/*.jsonl` for events with `ts` within the current session (use `session` id if known, otherwise last hour).
2. Group by `type`:
   - corrections → list with summaries
   - wins → list with summaries
   - friction → group by similar summary token overlap
3. Identify candidate patterns: any friction or correction theme that already appears ≥ 2 times in prior session records.
4. Run `bash ~/.claude/evolution/bin/evolve-collect.sh` — this updates `candidates/` based on fresh records.
5. Write a report to `~/.claude/evolution/reports/YYYY-MM-DD-session-<short-sid>.md` with sections:
   - Session summary (1 paragraph)
   - Corrections observed
   - Wins observed
   - Candidate learnings updated / created
   - Suggested next actions

## Hard rules
- Never write to `~/.claude/evolution/stable/` directly.
- Never promote a candidate — that goes through the promotion gate.
- Do not invent evidence. Only summarize what is in `records/`.

## Output
A single markdown file in `evolution/reports/`. Show the user the path and a 3-line summary inline.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…