Logo di Analyzing Sessions

Analyzing Sessions

Community
MK27MK
analyzing-sessions

Reads past Claude Code sessions looking for the user's corrections, in two modes. Count - labels every correction since the last report with an error type from common-ai-errors.md or other, has the user confirm the labels on a page and writes the counts to ~/.kulmine/corrections/. Session page - turns a finished session into a page the user comments on message by message, then acts on every comment. Use it when the user asks to count their corrections, which errors keep coming back or whether a change to the agent setup made them rarer, and when they want to review, comment on or walk through a finished session.

Panoramica

Pubblicato daMK27MK
Repositorykulmine
Nome della skillanalyzing-sessions
Stelle
84
Fork
3
File inclusi
8
LicenzaMIT
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.

  • File inclusi: 8

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

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

Installazione

Installa la skill IA Analyzing Sessions 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/MK27MK/kulmine/tree/main/skills/analyzing-sessions
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi 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 della skill nella directory delle skill di quell'agente.

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

Usala in TypingMind

Attiva Analyzing Sessions 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 Analyzing Sessions 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 Analyzing Sessions 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à.

Analyzing sessions

A correction is a user turn saying the previous reply or action was wrong, unwanted, too long, incomplete or off topic, that repeats an instruction already given, or that interrupts the agent. New requests, approvals, answers and follow-up questions are not.

Count

The error types are the rows of the table in ${CLAUDE_SKILL_DIR}/../../docs/common-ai-errors.md. During the Count don't touch that file or the agent setup: you are measuring them.

  1. Turns. python3 "${CLAUDE_SKILL_DIR}/scripts/turns.py" > <scratchpad>/turns.jsonl, with --since <date> only if the user gives a range. One line per turn since the last report: user is the turn, agent the end of the text before it. Empty file: say so and stop.
  2. Labels. One line per correction in <scratchpad>/labels.jsonl: {"id", "type", "words", "quote", "did"}. type is a code from the table, or other if it only fits by forcing it; words the user's words copied exactly from user; quote the same in English, at most 20 words; did what the agent had done, in one line. Several complaints in the same turn: a single line, on the main point.
  3. Confirmation. A page with kulmine:pages, type report: the turns read, each error type with its habit in a few words, and one row per correction (quote, what the agent had done, proposed error type) with data-k-options option buttons on the codes, other and not a correction. In the page's reply the user adds the missing corrections. Apply the reply to labels.jsonl.
  4. Report. python3 "${CLAUDE_SKILL_DIR}/scripts/count.py" <scratchpad>/turns.jsonl <scratchpad>/labels.jsonl > <scratchpad>/report.md; if it flags wrong labels, fix them and run it again. Append ## Candidates for a new error type: every cause that corrections from two or more sessions share and no error type names, with one quote per session, or None.. Copy it to ~/.kulmine/corrections/<today>.md (<today>T<HHMM>.md if it already exists).
  5. Outcome. Update the same page with the total, the error type that changed most since the previous report in corrections per 100 turns, the report's path and the candidates: one becomes an error type only if the user picks it up.

Session page

  1. Page. python3 "${CLAUDE_SKILL_DIR}/scripts/session_page.py" --project <session folder> --grep "<words from the first prompt>" -o <scratchpad>/<name>.html. The folder comes from the user or, if they name the session by title, from the cwd of mcp__ccd_session_mgmt__list_sessions. Check that the first message is the prompt the user meant.
  2. Publish with Artifact, capabilities: {"db": {}}, icon: "chat"; for a session already reviewed, republish to its url, so the comments stay on the messages. Give the link only to the user: the page contains the whole transcript.
  3. Read when the user is done: ArtifactData list on comments and on replies with query: {"limit": 1000}, and ArtifactComments read. A comments document opens a thread on message n (selected quote, text, sometimes the first reply); a replies document is a later turn of it (comment, role, text, at). A thread is waiting for you if its last turn by at is not agent.
  4. Act on every waiting comment following "Changing the agent setup" in kulmine's AGENTS.md; comments with the same cause get a single fix. A question gets an answer and no change.
  5. Answer in the page, not in chat: an ArtifactData batch with one set in replies per thread (new doc_id, {comment, role: "agent", text, at}, at the current ISO time); for platform threads reply, then resolve. One or two sentences: what changed or why nothing did. In chat, one line.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Analyzing Sessions?

Reads past Claude Code sessions looking for the user's corrections, in two modes. Count - labels every correction since the last report with an error type from common-ai-errors.md or other, has the user confirm the labels on a page and writes the counts to ~/.kulmine/corrections/. Session page - turns a finished session into a page the user comments on message by message, then acts on every comment. Use it when the user asks to count their corrections, which errors keep coming back or whether a change to the agent setup made them rarer, and when they want to review, comment on or walk throu...

Perché usare Analyzing Sessions su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Analyzing Sessions è 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 la skill 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 Analyzing Sessions in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/MK27MK/kulmine/tree/main/skills/analyzing-sessions. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Analyzing Sessions?

Qualsiasi modello che colleghi a 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 Analyzing Sessions?

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

La skill IA Analyzing Sessions è gratuita?

Sì. È pubblicata su GitHub da MK27MK con licenza MIT. 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, template 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.

Elenco completo

Crea subito il tuo spazio di lavoro AI

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