handoff
Originally fromsteveyegge/beads
Installation
SKILL.md
Hand off the CLI session to Lark so the user can continue interacting with Claude on the go.
Skill Path
Before running any script from this skill, resolve the scripts directory once:
SKILL_SCRIPTS=$(python3 -c "import os; p='.claude/skills/handoff/scripts'; print(p if os.path.isdir(p) else os.path.expanduser('~/.claude/skills/handoff/scripts'))")
Use $SKILL_SCRIPTS wherever you see .claude/skills/handoff/scripts in the commands below. For example: python3 $SKILL_SCRIPTS/preflight.py.
Platform Detection
Before following this protocol, identify your runtime:
- Claude Code — you are the
claudeCLI. Follow this document as written. - OpenCode — you are the
opencodeagent. Apply the OpenCode Overrides section below throughout, then follow the rest of this document.
Related skills