← ClaudeAtlas

cortex-takeofflisted

Create or resume a session takeoff baton — a curated, ephemeral, git-ignored hand-off note that lets the next Claude session continue a long-running task. A repo can hold several batons at once, one per work line (topic). Use when the user says "交接", "takeoff", "交棒", "context 快滿了交接給下個 session", "hand off to next session", "/cortexes:takeoff", "takeoff resume", or "takeoff done". The baton is scaffolding, not knowledge: it is never committed, distilled, broadcast, or indexed.
XBlueSky/cortexes · ★ 20 · AI & Automation · score 79
Install: claude install-skill XBlueSky/cortexes
# Cortex Takeoff — Session Hand-off Baton A baton is a curated continuation note for ONE work line (topic) in ONE repo. It lives at `<vault>/.takeoff/<repo-slug>/<topic>.md`, is git-ignored, and is consumed by a later session. A repo may hold several batons at once — one per work line. Batons are independent of the Raw session dump (which SessionEnd writes automatically). Do NOT commit them, distill them, broadcast them, index them with `cortex-vec`, or log them to `log.md`. Legacy layout: `<vault>/.takeoff/<repo-slug>.md` (single-baton era, no topic key). Legacy batons still list, resume, and clear (via `--legacy`), and are retired to the new layout on their next hand-off. Never create new ones. ## Locating takeoff.sh The repo slug and git-safety are handled by `takeoff.sh`, bundled in this plugin at `hooks/scripts/takeoff.sh`. In every mode below, FIRST set `TK` to that helper, resolved relative to THIS skill's base directory. Claude Code announces that base directory when it loads the skill. Use **exactly the path it announced**, verbatim — do not assume, reconstruct, or hard-code any install layout; the marketplace, plugin name, and version all appear in real paths and all of them change. The only stable fact is the relative one: `takeoff.sh` sits two levels up from the skill's base directory. ```bash TK="<the skill base dir Claude Code announced>/../../hooks/scripts/takeoff.sh" test -f "$TK" || { echo "cortex: takeoff.sh not found at $TK" >&2; exit 1; } ``` Do NOT