handofflisted
Install: claude install-skill jieliapp/plugins
# Handoff
Compress the current session into a self-contained handoff prompt that a fresh agent can start from. When the current Jieli thread can be identified, embed its thread id and URL so the next agent can use the `jieli-read` skill to read the full transcript if the summary is not enough.
## When to Use
Use this skill when:
- The user asks to hand off, hand over, or pass the work to another agent or a new session.
- The user asks to compress, compact, or summarize the context to keep working past the context window.
- The user wants a prompt they can paste into a fresh Codex (or other) session to continue this work.
Do not use this skill for ordinary status updates or to read/search other threads. Reading known thread ids/URLs is the `jieli-read` skill; searching by clues is the `jieli-find` skill.
## Inputs
- Optional next goal: what the next agent should do first. If the user did not give one, derive it from the most recent request and any open follow-ups in this conversation.
- Current session metadata from the `jieli-handoff-info` helper. The helper receives hook context from the `PreToolUse` hook and returns JSON. No API key is needed; the helper only builds a thread URL and never calls the Jieli API.
## Procedure
### 1. Resolve current session metadata
Run the helper exactly as a plain command so the `PreToolUse` hook can inject the current `session_id`, `transcript_path`, and `cwd`:
```bash
jieli-handoff-info
```
Expected JSON shape:
```json
{
"conf