Session Summarizer logo

Session Summarizer

Community
fimoklei
session-summarizer

Use when user runs /summarize command to capture session knowledge

Overview

Publisherfimoklei
Repositorypm-ai-playbook
Skill namesession-summarizer
Stars
42
Forks
8
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by fimoklei on GitHub. Read the source before you install it.

Installation

Install the Session Summarizer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/session-summarizer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fimoklei/pm-ai-playbook.git /tmp/pm-ai-playbook
mkdir -p .claude/skills
cp -r /tmp/pm-ai-playbook/skills/agentic-skills/session-summarizer .claude/skills/session-summarizer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Session Summarizer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Session Summarizer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Session Summarizer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Session Summarizer

Overview

Every session generates knowledge: decisions made, patterns that worked, problems encountered, questions that arose. Session summaries capture this for future compound learning.

Core principle: Document sessions to build knowledge that compounds across time.

When to Use

User runs /summarize command to create a session summary.

Create summaries to capture:

  • What worked and why
  • What didn't work and why
  • Questions encountered
  • Patterns to remember
  • Context for future sessions

Information Sources (Required)

You MUST integrate all three sources:

  1. Session logs: ~/.claude/projects/[project-path]/[session-id]/session-memory/summary.md

    • Contains context, decisions, learnings that commit messages miss
    • Read this FIRST before writing summary
  2. Git history: git log --oneline -n 20 and git diff since session start

    • What actually changed
    • Commit messages and patterns
  3. Conversation context: Your memory of the session

    • Questions asked, approaches tried, decisions made

Using session logs:

bash
# Find current session log
ls -la ~/.claude/projects/$(pwd | sed 's/\/Users\/[^/]*\/Projects\///g')/*/session-memory/summary.md | tail -1

# Read it
cat [path-from-above]

Summary Structure

markdown
# Session Summary - [Date]

## Context
[One-line: what was the goal/problem]

## Victories
- [What worked, solutions found]
- [Patterns that were effective]

## Failures
- [What didn't work, why]
- [Dead ends, wrong assumptions]

## Root Causes
- [For each failure above: What in your system prompt or tooling made you make this mistake?]
- [Analyze prompt assumptions, tool limitations, missing context that led to errors]
- [Example: "Assumed Write tool would create parent directories - tooling doesn't support this"]
- [Example: "System prompt emphasized speed over verification - led to skipping file reads"]

## Tough Questions
- [Questions that came up, answered or not]
- [Ambiguities encountered]

## Improvements
- [What could be better next time]
- [Patterns to codify, failures to document]

## Git Activity
- [Commit count, key changes]
- [Files modified, tests added]

## Next Session
- [Unfinished items, follow-ups needed]

Workflow

  1. User runs /summarize command
  2. Read session logs at ~/.claude/projects/.../summary.md
  3. Check git log and git diff
  4. Write structured summary integrating all three sources
  5. For each failure, analyze root causes in system prompt/tooling
  6. Ask user if they want summary saved anywhere specific

Root Cause Analysis

For each failure or mistake documented:

  • What in the system prompt made you assume something incorrect?
  • What tool limitations were you unaware of?
  • What context was missing that would have prevented the error?

Examples:

  • "Assumed Edit tool would preserve formatting - tool doesn't guarantee this"
  • "System prompt didn't mention needing parent directories - led to Write failures"
  • "Believed git hooks were disabled by default - prompt never specified"

Purpose: Understand what gaps in prompts or tooling cause errors, enabling systemic improvements.

Example

User: /summarize

You: "I'll create a session summary capturing what we accomplished and learned today."

[Read session logs, check git, write summary with root cause analysis...]

You: "Here's the summary:

Session Summary - 2025-01-18

Context

Fixed authentication bug in React app where tokens weren't persisting across page refreshes.

Victories

  • Identified root cause in localStorage timing
  • Implemented useEffect hook with proper dependencies
  • All tests pass, authentication now persists correctly

Failures

  • Initially tried sessionStorage (wrong storage type)
  • First useEffect implementation had dependency array issues causing infinite loops

Root Causes

  • sessionStorage attempt: System prompt didn't emphasize localStorage vs sessionStorage differences - I assumed sessionStorage would persist but it's page-scoped only
  • useEffect infinite loop: Tool limitations - no linter feedback in Edit tool, had to discover through testing rather than static analysis

Tough Questions

  • Should tokens go in httpOnly cookies instead of localStorage? (security trade-off)

Improvements

  • Add localStorage persistence patterns to project documentation
  • Consider adding ESLint rules for useEffect dependencies

Git Activity

  • 3 commits
  • Modified: src/hooks/useAuth.ts, src/components/Login.tsx
  • Added: tests for token persistence

Next Session

  • Consider cookie-based auth implementation for better security

Would you like me to save this anywhere specific, or is the session log sufficient?"

Frequently asked questions

What does the Session Summarizer AI skill do?

Use when user runs /summarize command to capture session knowledge

Why use Session Summarizer on TypingMind?

Because you install it once and use it with any model. Session Summarizer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Session Summarizer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fimoklei/pm-ai-playbook/tree/main/skills/agentic-skills/session-summarizer. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Session Summarizer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Session Summarizer?

As many as you like. As long as a model supports skills, you can use Session Summarizer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Session Summarizer AI skill free?

It is published on GitHub by fimoklei. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇