cortex-takeoff

Solid

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. Use when the user says "交接", "takeoff", "交棒", "context 快滿了交接給下個 session", "hand off to next session", "/cortex:takeoff", "takeoff resume", or "takeoff done". The baton is scaffolding, not knowledge: it is never committed, distilled, broadcast, or indexed.

AI & Automation 7 stars 4 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Cortex Takeoff — Session Hand-off Baton A baton is a curated continuation note for ONE repo's work line. It lives at `<vault>/.takeoff/<repo-slug>.md`, is git-ignored, and is consumed by the next session. It is independent of the Raw session dump (which SessionEnd writes automatically). Do NOT commit it, distill it, broadcast it, index it with `cortex-vec`, or log it to `log.md`. ## 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. The skill-load message announces the base directory as `<...>/cortex/<version>/skills/cortex-takeoff`; `takeoff.sh` sits two levels up. Substitute the actual announced base-dir path: ```bash TK="<skill-base-dir>/../../hooks/scripts/takeoff.sh" test -f "$TK" || { echo "cortex: takeoff.sh not found at $TK" >&2; exit 1; } ``` Do NOT use `claude plugin root` (no such subcommand) or `$CLAUDE_PLUGIN_ROOT` (unset for skill-run bash). ## Mode Determined by the command argument: | Argument | Mode | |----------|------| | (none) | **create** — write/overwrite this repo's baton | | `resume` | **resume** — load this repo's baton (do not delete) | | `done` | **done** — clear this repo's baton | ## Create (no argument) 1. Set `TK` as described in "Locating takeoff.sh" above, then run the preflight (it also derives the slug and guarantees git-safety): ```bash ...

Details

Author
XBlueSky
Repository
XBlueSky/cortexes
Created
2 months ago
Last Updated
5 days ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category