Logo di Session End

Session End

Community
iamneilroberts
session-end

Wrap up a coding session — run a right-sized end-of-session self-critique, optionally curator-verify the claims, prepend a SESSION_LOG.md entry, and print a rename + counter summary. Use before you /clear or stop for the day. Triggers on `/session-end`, "end this session", "wrap up and log what we did".

Panoramica

Autoreiamneilroberts
Repositoryclaude-skills
Nome della skillsession-end
Stelle
37
Fork
6
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da iamneilroberts su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Session End in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/iamneilroberts/claude-skills/tree/main/skills/session-end
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iamneilroberts/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/session-end .claude/skills/session-end
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Session End in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Session End non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Session End non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

End Coding Session

Wrap up the session: persist what was done, prepend a SESSION_LOG entry, and surface a session-rename suggestion.

Phase 1 — Take stock

Analyze what was accomplished:

  1. Files created/modified
  2. Git changes made during the session
  3. Tasks completed vs left open

While doing this, count three things (printed in Phase 5):

  • MEMORY_WRITES — auto-memory file edits (~/.claude/projects/*/memory/*.md) + any memory-MCP save calls made this session
  • COMMIT_COUNT — number of git commit invocations this session
  • SESSION_LOG_UPDATED — true/false depending on whether Phase 4 actually wrote an entry
bash
# Append session marker to the legacy per-session log if one exists
SESSION_FILE=$(ls -t .claude-sessions/session_*.log 2>/dev/null | head -1)
if [ -f "$SESSION_FILE" ]; then
  printf '\n=== Session Summary ===\nEnded: %s\n\n' "$(date)" >> "$SESSION_FILE"
fi

# Capture git context for Phase 4
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || true)
git diff --stat $(git rev-parse HEAD~1 2>/dev/null || echo HEAD) 2>/dev/null || echo "(no git changes this session)"

Phase 2 — Session-close self-critique (surface gaps before you log)

Right-size it — don't manufacture concerns. A long-but-simple session (few files, nothing risky, nothing shipped) gets one honest line ("nothing shaky; only X was deferred") and you're done. Scale up only when the work was complex, touched risky surfaces (auth / payments / prod / data / deletion), or shipped. Catch what got silently skipped or assumed — don't perform diligence. (From the r/ClaudeAI "I end every AI session with two questions" thread.)

When it's worth the deeper pass, answer as many as the session warrants:

  1. What are you least confident about right now? List every shaky spot — not one.
  2. What's the biggest thing being missed about this situation — what might I not realize?
  3. If this ships and breaks in 3 months, what's the most likely reason? (future fragility, distinct from present-state gaps.)
  4. What did you NOT do? Everything skipped, deferred, stubbed, or assumed — even things that felt out of scope.
  5. For each item surfaced in 1 and 4: name the exact test or command that would confirm or kill it. An uncertainty with no verification step is filler; a real gap comes with a way to check.

Capture, don't chase. This is a wrap-up inventory, not a fix-it session — do NOT start fixing what it surfaces. Route findings: items with a concrete check (from 5) → Phase 3 Curate; everything else → offer two routes and do the chosen one: (a) fold into the Pending / Handoff Notes below as a next-session instruction, or (b) /idea the standalone ones. Never let a finding evaporate; never let it derail the current task.

Skip this phase if Phase 1 found nothing meaningful — silence is a valid result, not a gap.

Phase 3 — Curate (verify before you log)

If a curator agent is available (attempt the dispatch, skip silently if not — ships here as agents/curator.md), dispatch it (Agent tool, subagent_type: curator) with Phase 1's accomplishments. It checks the claims against git/files, read-only environment checks, and the repo's invariants doc (e.g. LAWS.md) if any.

Apply the result before writing Phase 4:

  • Only log a claim as done if it came back VERIFIED.
  • A claim that came back UNVERIFIED may still be logged, but mark it as unverified in the entry (e.g. "deployed (unverified)") — never launder it into a flat assertion.
  • A claim that came back CONTRADICTED must NOT be logged as done. Surface it in the in-conversation summary's Handoff Notes as something the next session must fix or re-check.

Skip this phase only if Phase 1 found nothing meaningful (no files changed, no decisions, no commits).

Phase 4 — Prepend a SESSION_LOG.md entry

Determine the log path:

  • Git repo: $GIT_ROOT/SESSION_LOG.md
  • Otherwise: ~/SESSION_LOG.md

Draft a one-block entry — date, short title, 1–2 sentence summary, and a pointer to the main artifact (file path, commit SHA, PR URL, or issue ID — whichever best identifies "where does this session live"). Format (newest at top):

markdown
## YYYY-MM-DD — <Short title>

<1–2 sentence summary of what was done and why.>

Main artifact: <file path / commit SHA / issue ID / URL>

Skip the entry if nothing meaningful happened (no files changed, no decisions, no commits) — set SESSION_LOG_UPDATED=false and move on.

Prepend atomically (newest at top):

bash
LOG_PATH="${GIT_ROOT:-$HOME}/SESSION_LOG.md"
ENTRY=$(mktemp)
# Write the drafted entry to $ENTRY (Claude writes it via Write/Edit, not via this script)

if [ -s "$ENTRY" ]; then
  if [ -f "$LOG_PATH" ]; then
    { cat "$ENTRY"; printf '\n'; cat "$LOG_PATH"; } > "${LOG_PATH}.tmp" && mv "${LOG_PATH}.tmp" "$LOG_PATH"
  else
    cp "$ENTRY" "$LOG_PATH"
  fi
  echo "SESSION_LOG: $LOG_PATH"
fi
rm -f "$ENTRY"

Phase 5 — Print the close

Two lines exactly, for at-a-glance review and paste:

  1. Session rename suggestion (the user pastes this as the session name):

    Rename: [YYYY-MM-DD] <project-or-topic> - <what-was-done>

    Topic = the project / repo / domain worked in. "What was done" = the verb-phrase summary, ≤8 words.

  2. Counter summary:

    <N> memory updates · <N> commits · SESSION_LOG <updated|skipped>

If SESSION_LOG was skipped, say SESSION_LOG skipped (no meaningful changes) so it's clear that was a deliberate decision, not a bug.

Session Summary (in-conversation, before the close lines)

  • Accomplished — completed tasks, files changed, problems solved.
  • Pending — started-but-unfinished, known issues, recommended next steps.
  • Handoff Notes — key decisions, context for next session, blockers/dependencies. Any Phase 3 CONTRADICTED claim goes here.

Domande frequenti

Cosa fa la skill IA Session End?

Wrap up a coding session — run a right-sized end-of-session self-critique, optionally curator-verify the claims, prepend a SESSION_LOG.md entry, and print a rename + counter summary. Use before you /clear or stop for the day. Triggers on `/session-end`, "end this session", "wrap up and log what we did".

Perché usare Session End su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Session End è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Session End in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/iamneilroberts/claude-skills/tree/main/skills/session-end. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Session End?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Session End?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Session End: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Session End è gratuita?

È pubblicata su GitHub da iamneilroberts. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇