melech-handoff
List and continue coding-agent transcripts across Cursor, Claude Code, Codex, Gemini, and other local agents.
Skill by AdirD
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/adird-melech-handoff
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 3
codeload.github.com· found in install commandgithub.com· found in codejazzyalex.github.io· found in code
Files it touches
~/.claude/skills/melech-handoff- Your home directory (~)
~/.augment/sessions~/.deepagents/.state~/.factory/sessions~/.fx/sessions~/.gemini/antigravity-cli/brain~/.gemini/antigravity-ide/brain~/.lingma~/.mux-dev/sessions~/.openclaw~/.pi/agent/sessions~/.qoder/projects~/.rovodev/sessions~/.vscode-mock/global-storage
What's inside
- Skill name
melech-handoff- Description
- 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`.
- License
- MIT
- Instructions
- 125 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (8)
- README.md
- SKILL.md
- melech-handoff-tip-diagram.png · assets/
- melech-handoff-tip-how.png · assets/
- melech-handoff-tip-when.png · assets/
- providers.json · references/
- handoff.py · scripts/
- test_handoff.py · tests/
SKILL.md (first lines)
# 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`.
From AdirD/agent-shell-hamelech, MIT.
More from AdirD/agent-shell-hamelech
- 0.662score
melech-cost
AdirD
Show what coding-agent sessions cost for every worktree of the current repo — Cursor, Claude Code, and Codex — as handoff-style cards with dollars and tokens.
SkillAFreshness: A★ 45Claude Code +9 - 0.662score
melech-plan-review
AdirD
Review a solution before approving it, like a GitHub changes tab: a file tree of red and green pseudo-code the user can comment on inline, then answer…
SkillAFreshness: A★ 45Claude Code +9 - 0.662score
melech-live-browser
AdirD
Operate the user's already-open, logged-in Chrome tabs through Chrome DevTools MCP.
SkillAFreshness: A★ 45Claude Code +9 - 0.659score
melech-tidy
AdirD
Adaptive diff reduction — prune dead code residue, shake prompt bloat, remove cosmetic diff noise, and propose edge-case trades that drop rare-case handling…
SkillAFreshness: A★ 45Claude Code +9 - 0.659score
melech-debug-mode
AdirD
Debug or verify a local UI end to end in the user's existing Chrome tab, with temporary runtime probes and a manual browser fallback.
SkillAFreshness: A★ 45Claude Code +9 - 0.656score
melech-pr-gardener
AdirD
Tend one explicit GitHub author's open PRs and keep them green — one stateless pass per scheduled run.
SkillAFreshness: A★ 45Claude Code +9 - 0.651score
melech-smart-comments
AdirD
Preserve code intent with selective comments and protect meaningful existing comments.
SkillAFreshness: A★ 45Claude Code +9 - 0.651score
melech-8020
AdirD
Find the smallest useful path to a product or engineering outcome.
SkillAFreshness: A★ 45Claude Code +9 - 0.622score
melech-roi
AdirD
Grade whether a change's complexity and blast radius are actually worth the benefit it delivers, using an itemized ROI receipt and rankings among solutions…
SkillBFreshness: B★ 45Claude Code +9 - 0.619score
melech-make-it-click
AdirD
Recover when the agent's explanation did not land by finding the smallest thing blocking understanding and replacing the failed mental model with a concrete…
SkillBFreshness: B★ 45Claude Code +9 - 0.617score
melech-consult
AdirD
Get an independent verdict on an AI-proposed plan, fix, architecture, or claim by verifying its premises against the real artifact, then dispatching a panel…
SkillBFreshness: B★ 45Claude Code +9 - 0.616score
melech-buy-vs-build
AdirD
Decide whether to adopt an existing tool or build a capability yourself, grounded in verified research.
SkillBFreshness: B★ 45Claude Code +9
Signals
- Stars
- 45
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Sep 27, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AdirD/agent-shell-hamelech
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AdirD
- 0.662score
melech-cost
AdirD
Show what coding-agent sessions cost for every worktree of the current repo — Cursor, Claude Code, and Codex — as handoff-style cards with dollars and tokens.
SkillAFreshness: A★ 45Claude Code +9 - 0.662score
melech-live-browser
AdirD
Operate the user's already-open, logged-in Chrome tabs through Chrome DevTools MCP.
SkillAFreshness: A★ 45Claude Code +9 - 0.662score
melech-plan-review
AdirD
Review a solution before approving it, like a GitHub changes tab: a file tree of red and green pseudo-code the user can comment on inline, then answer…
SkillAFreshness: A★ 45Claude Code +9 - 0.659score
melech-debug-mode
AdirD
Debug or verify a local UI end to end in the user's existing Chrome tab, with temporary runtime probes and a manual browser fallback.
SkillAFreshness: A★ 45Claude Code +9 - 0.659score
melech-tidy
AdirD
Adaptive diff reduction — prune dead code residue, shake prompt bloat, remove cosmetic diff noise, and propose edge-case trades that drop rare-case handling…
SkillAFreshness: A★ 45Claude Code +9 - 0.656score
melech-pr-gardener
AdirD
Tend one explicit GitHub author's open PRs and keep them green — one stateless pass per scheduled run.
SkillAFreshness: A★ 45Claude Code +9
Cite this page
melech-handoff skill. Agent Mart. https://agentmart.dev/skills/adird-melech-handoff (last updated 2026-10-24)