/kk:handofffrom kk
Publishes active-task context and a fresh-session starter prompt to a new secret GitHub gist for restarting conversations or switching providers/machines. Requires GitHub CLI.
Ships in kk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Publish handoff.md and prompt.md in a fresh secret (unlisted) GitHub gist.
Anyone with the link can read it. Invoking /kk:handoff requests this publication;
normal host permissions still apply, with no extra recurring confirmation step.
Ordinary summary, continuation or review-context requests do not invoke this skill.
Mandatory order — instructions before action. Follow this workflow strictly in sequence. Read this entire skill before inspecting task evidence, preparing files or publishing. This file contains all operative instructions; no other protocol is required. Only bounded routing inspection for a declared detection predicate could precede instruction loading; this skill has no such predicate.
Use the conversation actually available to identify the active task and relevant earlier decisions. Follow ordinary explicit user instructions about scope; there is no custom argument syntax. Make focused read-only project checks only when needed to reconcile progress or establish identity. This is the investigation entry point: do not run tests, conduct reviews, finish implementation, scan other worktrees or collect the whole repository for a handoff.
Prepare a concise, self-contained Markdown record using the outline below. Omit empty sections, repetition and unrelated-topic details, including in exclusion notes. Preserve context needed for the next decision without imposing a word limit.
| Content | Include when relevant |
|---|---|
| Identity | Task/topic, creation time, repository identity, branch/worktree and relevant revision if known. Label local paths as source-machine paths. |
| Objective and constraints | User intent, corrections, accepted scope and operating constraints. |
| Decisions and rationale | Accepted choices and reasons; abandoned approaches worth avoiding. Distinguish user decisions from agent proposals. |
| Progress and evidence | Completed/pending work, repository-relative file references, attributed verification results and uncertainties. Remembered tests are recorded evidence, not newly run verification. |
| Continuation | Blockers, unanswered questions, dependencies and the next useful action. Do not execute it. |
| Supporting references | Useful project documents, issues and eligible existing Capy references, with a reason to follow each. |
State material context gaps, including earlier conversation lost to compaction. Describe uncommitted work as local: a gist transfers neither worktree changes nor patches, credentials or a Capy database. Essential context must remain usable without optional references or source-machine paths.
Existing Capy references only. Include a reference only when the available conversation already evidences prior indexing/retrieval or confirmed archival of that specific relevant material. Tool availability, a familiar source label, a bare current session ID or unrelated indexing is insufficient. Otherwise omit Capy references; do not search merely to fill this section. For an eligible reference, retain the known source label or archived session identifier, project scope, a focused retrieval query/instruction and why it helps. Note destination availability limits without copying or recreating the source.
Never initiate indexing or archival during handoff. This includes indexing, fetch-and-index, vault import/reindex/archive, and indirect actions through tools, other skills, agents or the starter prompt. Never repair a missing reference by indexing it. Do not load a general Capy indexing protocol. This boundary governs handoff-initiated actions; it does not disable independent host storage or hooks.
Allocate a unique temporary directory outside the working repository (for
example, mktemp -d /tmp/kk-handoff.XXXXXXXX). Retain its absolute path. Use native
file tools to write handoff.md and draft the starter-prompt wording there; keep
file bodies out of shell interpolation. Do not create a persistent local store,
write artifacts into the repository, stage or commit anything.
Prepare a gist description containing the project/topic and creation time.
Before sending each payload, read its local content and omit or redact
credentials, authentication tokens, credential-bearing connection strings and
unrelated private information. Check handoff.md and the description now; check
the completed prompt.md again before adding it. A relevant hostname alone is
not a credential. If a safe, useful payload cannot be prepared, stop before
uploading it and explain the problem without echoing sensitive values.
Use the existing authenticated gh CLI. Do not install it, change credentials or
permission configuration, or switch storage products. Normal host approval
requests remain available when required; honor denials. Quote paths, the
description and returned URL as shell arguments; never interpolate Markdown
bodies into commands.
gh gist create <absolute-handoff.md-path> --desc <description>.
Omit --public/-p. Retain the returned URL immediately; a local filename or
directory name cannot replace the remote identifier.prompt.md with that actual URL and the exact filename handoff.md.
Address the receiving agent: ask it to read that handoff, reconcile relevant
current project state with the recorded evidence, and continue the intended
task. Keep the prompt short and usable without a separate resume skill. Do not
silently choose another handoff or instruct the recipient to index/archive
anything. Apply the outgoing-content check to the finished prompt.gh gist edit <returned-gist-url> --add <absolute-prompt.md-path>.gh gist view, API/metadata read, download or
other publication check.After success, remove only this invocation's temporary preparation files using host-permitted file operations. If cleanup fails or is denied, report remaining absolute paths separately: publication still succeeded and must not be retried. Do not work around a deletion denial with another command or tool. Gists remain until the user removes them.
On a failed, denied or uncertain publishing command, stop; preserve prepared local files and report their absolute paths with the concrete failure. Do not inspect remote state or automatically retry.
prompt.md failed or is uncertain,
report that URL as partial/uncertain, along with the recovery files. Do not
claim the complete two-file handoff was published.agents/openai.yaml (opens in a new tab)evals/README.md (opens in a new tab)evals/_support/gh (opens in a new tab)evals/active-task-handoff/eval.json (opens in a new tab)evals/active-task-handoff/oracle/runbook.md (opens in a new tab)evals/active-task-handoff/test-files/client.toml (opens in a new tab)evals/active-task-handoff/test-files/previous-handoff.md (opens in a new tab)evals/active-task-handoff/test-files/project.md (opens in a new tab)evals/manual-only-invocation/eval.json (opens in a new tab)evals/manual-only-invocation/oracle/runbook.md (opens in a new tab)evals/manual-only-invocation/test-files/client.toml (opens in a new tab)evals/manual-only-invocation/test-files/project.md (opens in a new tab)evals/partial-publication/eval.json (opens in a new tab)evals/partial-publication/oracle/runbook.md (opens in a new tab)evals/partial-publication/test-files/project.md (opens in a new tab)evals/prior-indexed-context/eval.json (opens in a new tab)evals/prior-indexed-context/oracle/runbook.md (opens in a new tab)evals/prior-indexed-context/test-files/archive-excerpt.md (opens in a new tab)evals/prior-indexed-context/test-files/label-decision.md (opens in a new tab)evals/prior-indexed-context/test-files/project.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub serpro69/agentstakk --plugin kk16 skills in this plugin
/brainstormTRIGGER when: asked to brainstorm, think through, explore, or pressure-test a technical idea or decision through conversation. Interviews adaptively, asks one question at a time, and closes with a chat recap.
For technical products, architecture, infrastructure, tools, operations, and engineering workflows. Written design/specification and task-list requests belong to /kk:design; durable domain glossary/reference kits to /kk:model; implementation and fixes to /kk:implement. Not for nontechnical brainstorming.
/chain-of-verificationApply Chain-of-Verification (CoVe) prompting to improve response accuracy through self-verification.
Use when complex questions require fact-checking, technical accuracy, or multi-step reasoning.
/clarify-docsTRIGGER when: asked to clarify or improve existing documentation, PR drafts or
issue descriptions, including URLs and pasted bodies. Saves results locally,
grounded in requirements and source while preserving meaning. Not for requests
to implement, fix or work on an issue, code, config, generic response brevity,
or agent instructions. Explicit instruction or SKILL.md targets receive a
/kk:implement suggestion without edits or invoking implementation.
/dependency-handlingTRIGGER when: adding or upgrading any dependency — library, SDK, framework, API, IaC API version (K8s/Terraform/Helm), CRD, or container image. Use BEFORE writing the call. Forces context7/capy lookup instead of guessing.
/designTRIGGER when: asked to write or refine a technical design, PRD, specification, implementation plan, or task list, or resume an existing docs/feat/wip feature.
Turns ideas and requirements into written design documents, implementation plans, and tasks in docs/feat/wip/ before coding. For conversational exploration without written planning, use /kk:brainstorm.
/diff-skillCompare two versions of a skill's instructions to detect degradations and complexity increases.
TRIGGER when: user asks to diff, compare, or review changes to a skill's markdown instructions.
Asymmetric check — only regressions count. Additions, clarifications, and strengthenings are not degradations.
Compares HEAD → working tree by default. Walks the full reachable file set from SKILL.md via markdown links.
Produces a report file under docs/reviews/diff-skill/ and an inline summary.
Other plugins' skills for the same job