Logo von 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`.

Übersicht

HerausgeberAdirD
Repositoryagent-shell-hamelech
Skill-Namemelech-handoff
Sterne
46
Forks
5
Mitgelieferte Dateien
6
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 6

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von AdirD auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Melech Handoff in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/AdirD/agent-shell-hamelech/tree/main/skills/melech-handoff
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Melech Handoff in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Melech Handoff automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Melech Handoff nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill 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`.

Warum Melech Handoff in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Melech Handoff besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Melech Handoff in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/AdirD/agent-shell-hamelech/tree/main/skills/melech-handoff ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Melech Handoff nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Melech Handoff verwenden?

So viele Sie möchten. In TypingMind können Sie Melech Handoff mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Melech Handoff kostenlos?

Ja. Der Skill wird von AdirD auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇