skills/handoff/SKILL.md
Compact the current conversation into a handoff document for another agent to pick up.
npx skillsauth add olliecrow/codex handoffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
rg -> find/grep, python -> python3, alternate repo-native scripts).plan/, ensure required plan directories exist before reading/writing them (create when edits are allowed; otherwise use an in-memory fallback and call it out).organise-docs frequently during execution when durable project knowledge should be promoted instead of left only in the handoff.git-commit when changes are commit-eligible, checks are green, and repo policy permits commits.git-commit to create a small logical checkpoint commit once relevant checks are green and repo policy permits commits.organise-docs whenever durable learnings/decisions appear, and prune stale plan/ scratch artifacts.The skill is complete only when all of the following are true:
mktemp -t handoff-XXXXXX.md path, or the task is marked blocked with concrete blocker evidence.done, blocked, or not-applicable.Stop only after this terminal contract is satisfied; otherwise continue iterating.
done: the handoff file exists, has been read back, references existing artifacts instead of copying them, and lists next useful skills.blocked: the agent cannot create or read the temp file after bounded retries; the report states the failing command and the needed unblock action.not-applicable: no next-session skill is useful; the handoff says no skill suggestion is needed and why.mktemp -t handoff-XXXXXX.md.Include only what a fresh agent needs:
Do not duplicate content already captured in other artifacts such as PRDs, plans, ADRs, issues, commits, diffs, reports, or notebooks. Reference those by path or URL instead.
Use this compact shape unless the task clearly needs another one:
# Handoff
## Next focus
## Current state
## Existing artifacts
## Open items
## Suggested skills
## Verification
Keep the document short, direct, and specific. Prefer links and paths over copied detail.
When this skill is triggered, compose other skills as needed:
organise-docs first when the conversation contains durable project knowledge that belongs in long-lived docs, not only in a temp handoff.summarize when the conversation is long or messy and needs a brief first pass before writing the final handoff.verify when the handoff depends on current code, tests, job state, or external artifacts that may have changed.git-summary when the next session is mainly about a branch or PR and the branch delta is the best source of truth.If there is a conflict, durable canonical artifacts win. The handoff should point to them and only add the live state needed for the next agent.
data-ai
Use automatically for Sentinel repo sessions, trading research questions, market/company/ticker/source questions, or any request that should use Sentinel's read-only data sources and reference context. Enforces Sentinel's high-confidence, read-only, no-local-query-trace research posture.
tools
Run the Codex custom review feature from the CLI for arbitrary review instructions. Use when the user asks to use /review, custom review, or Codex review without tying the review to commits, uncommitted changes, or a base branch; prefer multicodex exec review with no explicit account and fall back to codex exec review only when multicodex is unavailable.
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
development
Wait for long-running external tasks from waiting or queued state through running to validated completion before continuing work. Use when Codex must block on cluster jobs, batch pipelines, CI runs, or other asynchronous operations by polling status every N seconds (default 120), checking the best available logs/outputs/results while the work is active, and proceeding only after completion is confirmed, with a hard timeout cap of 8 hours.