Logo di Melech Handoff

Melech Handoff

Community
AdirD
melech-handoff

List and continue coding-agent transcripts across Cursor, Claude Code, Codex, Gemini, and other local agents. Use when finding a recent transcript, resuming prior work, or invoking `/melech-handoff`.

Panoramica

Pubblicato daAdirD
Repositoryagent-shell-hamelech
Nome della skillmelech-handoff
Stelle
46
Fork
5
File inclusi
6
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: 6

    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 AdirD su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Melech Handoff 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/AdirD/agent-shell-hamelech/tree/main/skills/melech-handoff
  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/AdirD/agent-shell-hamelech.git /tmp/agent-shell-hamelech
mkdir -p .claude/skills
cp -r /tmp/agent-shell-hamelech/skills/melech-handoff .claude/skills/melech-handoff
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Melech Handoff 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 Melech Handoff 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 Melech Handoff 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à.

Melech Handoff

Find and resume coding-agent sessions without putting handoff files in the repository or making the user copy transcript paths between chats.

Two modes only: list and cont. The script only discovers, lists, and looks up transcripts. The agent does the intelligent retrieval.

text
/melech-handoff
/melech-handoff list
/melech-handoff cont [session-id-prefix | objective]

Resolve the mode from the invocation. Do not ask which mode they want.

  • Bare /melech-handoff or /melech-handoff list → list
  • /melech-handoff plus a session id / unique id prefix → cont
  • /melech-handoff cont … → cont

Set HANDOFF_SCRIPT to scripts/handoff.py beside this file. Run it with Python 3.9 or newer. Treat its JSON output as the source of truth; do not recreate transcript discovery with an unbounded home-directory search.

List

Run:

bash
python3 "$HANDOFF_SCRIPT" list --cwd "$PWD" --limit 12

Show the rows newest first as compact Markdown cards. Do not use a table: CLI table renderers crush the metadata columns and cannot display multiline glimpses. Use the script fields; do not invent dates, agents, worktrees, or counts.

text
### `<short_id>` · <topic>
<provider> · <age>
`<worktree>` · <stats.user_messages> user msgs · ~<stats.approx_tokens> tokens

1. <third-to-last user message>
2. <second-to-last user message>
3. <latest user message>

age is the compact time since the transcript was last written, such as 8m ago, 3h ago, or 2d ago; this is the only timestamp shown because the list is ordered by recent activity. Exact created and modified values remain in the script output for lookup or debugging. worktree is main for the repository's main worktree and otherwise the worktree directory name. stats.approx_tokens is a cheap chars / 4 estimate, not a tokenizer result. topic is a short hint derived from the first meaningful human request. glimpse contains up to the three latest human user messages as real numbered lines. Preserve the newlines when rendering the card; do not duplicate messages when fewer than three exist. Each message may use up to 160 characters. Do not remove the cap because individual transcript turns can be thousands of characters. Tool results and metadata-only user records are ignored.

list is read-only. Show enough information for the user to invoke /melech-handoff cont <id>, then stop. Do not start working or read full transcripts.

Continue

If the argument begins with a session ID or unique ID prefix, run:

bash
python3 "$HANDOFF_SCRIPT" lookup --cwd "$PWD" --id "<id-prefix>"

Any remaining text is the continuation objective.

If there is no ID, run list without a query. The script does not pretend to understand the objective. Choose distinctive terms from the objective and search only the returned primary_transcript_path files with rg.

  • One clear transcript match: run lookup on its id, then continue.
  • Several plausible matches: use one combined AskQuestion picker with the matching candidates. After the pick, run lookup.
  • No argument: show the five newest rows in one combined AskQuestion picker. Each option starts with <age> · <provider> · <topic> · <short_id>, followed by worktree, stats, and the three-line glimpse. If undisplayed rows remain, append an Older sessions… option that opens the next five rows using the same layout. Do not add multiple questions to one picker because that requires one answer per question.
  • If the user selects the picker's automatic Other option and enters text, treat that text as the continuation objective and relevance query. Search the returned primary_transcript_path candidates for distinctive terms, independent of recency. Continue a single clear match; otherwise show one refreshed picker containing only the strongest relevant candidates.
  • After a session is picked, run lookup.
  • No match among the listed candidates: say so. Do not broaden into an unbounded home-directory scan.

lookup returns primary_transcript_path, the text file to consult. If anything about the task or current state is unclear, search that transcript for relevant keywords such as task names, filenames, IDs, errors, and tool names. Then read a small window around matching lines to reconstruct intent and state. Avoid reading linearly end-to-end: JSONL transcripts can be large and individual lines can contain large payloads.

Use the continuation objective to decide what context is relevant. The agent, not the Python script, makes that judgment.

Do not write a card and do not invent a long recap. Follow retrieval constraints in the objective, such as “don’t read all.”

Continue the work directly once the target is clear. Do not ask whether the user wants you to proceed.

Boundaries

  • Do not write files under ~/.melech/handoffs/. List and continue from transcripts only.
  • Scope defaults to the current worktree root, not sibling worktrees.
  • Provider locations come only from references/providers.json.
  • Database, encrypted, protobuf-only, and compressed-only histories are recorded but unsupported.
  • Transcript and handoff contents are private local history. Never publish, upload, or paste them externally without explicit user instruction.

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 Melech Handoff?

List and continue coding-agent transcripts across Cursor, Claude Code, Codex, Gemini, and other local agents. Use when finding a recent transcript, resuming prior work, or invoking `/melech-handoff`.

Perché usare Melech Handoff su TypingMind?

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

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/AdirD/agent-shell-hamelech/tree/main/skills/melech-handoff. 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 Melech Handoff?

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 Melech Handoff?

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

La skill IA Melech Handoff è gratuita?

Sì. È pubblicata su GitHub da AdirD 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 👇