2.13.0-beta.20). Features may change before the next stable release.Switch to stable →Skills
Preserve session context with ak:handoff
Create a concise, redacted handoff that records goals, decisions, evidence, blockers, and open state for a fresh agent session.
Use ak:handoff when a fresh agent session must continue the same work without
rediscovering its purpose, decisions, evidence, and blockers. The Skill produces
a compact conversation handoff, shows it in the response, and saves the same
redacted content as a project report.
Choose ak:handoff for session continuity
Use ak:handoff when
- You are ending a work session before the goal is complete.
- You are switching to a fresh agent or a smaller context window.
- Important decisions, rejected approaches, blockers, or verification state would otherwise be lost.
- You want the next session to verify current state against source artifacts.
Choose another workflow when
- You want a Git-derived status report across branches, worktrees, plans, and
repository history. Use
ak:watzup. - You need to commit, push, or open a pull request. Use
ak:git. - You want an implementation plan rather than session context. Use
ak:plan.
Run a cross-Kit product-launch handoff
Use a two-way handoff when Marketing owns the launch outcome and Engineer owns a bounded implementation. The handoff transfers context, not authority.
- Marketing approves the audience, user outcome, positioning, assets, acceptance criteria, target window, measurement, and non-goals.
- Marketing creates a handoff naming the exact engineering deliverable and unresolved decisions. It excludes credentials, customer data, and broad publication or production authority.
- Engineer runs
ak:plan, obtains scope approval, implements withak:cook, and verifies withak:test. - Engineer returns changed behavior, preview route or artifact, test evidence, known limitations, rollout/rollback needs, and decisions Marketing must make.
- Marketing validates the result against the launch contract before campaign, publication, spend, or measurement work continues.
The receiving Engineer should reject a handoff that lacks acceptance criteria, names a date without dependencies, combines unrelated deliverables, or assumes deploy/merge authority. Split it into a bounded deliverable or send the missing decision back to Marketing.
Prepare the project and runtime
Before you start:
- Complete Onboarding, and confirm Engineer Kit is installed for the runtime and scope you are using.
- Open the project and make its instructions and relevant plans available.
- Identify the next session's focus and the current goal.
- Locate a previous handoff for the same focus when one exists.
- Review the conversation for secrets, private URLs, customer data, and personal data that must not enter the report.
| Runtime | Invocation | Availability boundary |
|---|---|---|
| Claude Code | /ak:handoff ... | Runs as an installed Engineer Skill under native or explicit plugin delivery. |
| Cursor | /ak:handoff ... | Uses the user-verified slash spelling for Engineer Skills; broader runtime parity is not established. |
| Codex | $ak:handoff ... | Uses native Codex discovery; file creation still depends on workspace access. |
Run the Skill
/ak:handoff "Continue the authentication migration after the failing integration test is diagnosed"/ak:handoff "Continue the authentication migration after the failing integration test is diagnosed"$ak:handoff "Continue the authentication migration after the failing integration test is diagnosed"The optional argument names the next-session focus. The Skill has no published mode flag.
Understand what happens during a run
- The Skill reads project authority. It checks repository instructions, relevant plans, and the previous handoff for the same focus when available.
- The Skill captures the goal and current state. It distinguishes completed, in-progress, blocked, and unverified work.
- The Skill records decisions. It preserves rationale, rejected approaches, dependencies, and known traps without inventing new decisions.
- The Skill points to evidence. It references plans, issues, decisions, commits, diffs, tests, and files instead of copying them.
- The Skill redacts sensitive material. It removes secrets, credentials, private URLs, customer data, and personal data while retaining safe location pointers when needed.
- The Skill writes two matching outputs. It returns one fenced Markdown block and saves the same content as a timestamped report.
- The Skill prepares re-entry. It ends with a short prompt telling the fresh agent which files to read and to verify the handoff before acting.
Keep the report safe
A handoff always creates a project artifact
The Skill writes
plans/reports/handoff-YYYYMMDD-HHmm-<slug>.md. If the project has no
plans/ directory, it asks you for a safe output location before writing.
The handoff must stay inside the agreed project or report location. It must not duplicate root instructions, include credentials or private data, introduce new decisions, or turn open work into unverified commands for the next agent.
The source-defined workflow does not require Git mutation, network access, publication, an external provider, or a paid service.
Verify the result
A complete handoff contains:
- The short title, generation time, and next-session focus.
- The goal and why it matters.
- The factual current state.
- Key decisions and their rationale.
- Rejected approaches and known traps.
- Verification status, including checks not yet run or not yet passing.
- Relevant files and source pointers.
- Open work expressed as state and dependencies.
- A short fresh-agent verification prompt.
Confirm that the fenced response and saved report match and that redacted values cannot be reconstructed from the text.
Troubleshoot or continue
| Symptom | Safe next step |
|---|---|
| The handoff reads like a task list | Restate open work as current state, dependencies, and evidence still needed. |
| It duplicates project instructions | Replace copied rules with a pointer to the owning instruction file. |
| It contains a secret or private URL | Stop, remove the sensitive value from both outputs, and keep only a safe location reference if necessary. |
No plans/ directory exists | Choose and approve a safe project-local report location before writing. |
| Current Git status is missing | Use ak:watzup for a repository-derived status report; do not expand the handoff into one. |
| The runtime does not recognize the Skill | Confirm target and scope, restart the runtime session, then follow Runtime cannot find a Skill or Agent. |
Know the current limits
- The handoff reflects the conversation, inspected plans, and available evidence; the next session must verify it against the repository.
- Redaction protects the report only when sensitive material is recognized and removed; review the artifact before sharing it.
- The Skill preserves session context, not a complete repository audit.
- Cursor slash invocation is user-verified evidence, not proof of full runtime parity.
- Stable and beta package the same
ak:handoffworkflow and report shape.
Ship a completed branch to a pull request with ak:ship
Merge the target branch, run release gates, update release artifacts, commit every intended change, push, and create or update an evidence-rich PR.
Hand work to a selected coding agent with ak:handover
Capture a portable handoff, then dispatch one single-job orchestration spec at a specific coding runtime with preflight, safety gates, and arbiter review.