npx skills add ...
npx skills add prathamdby/skills --skill handoff
handoff to save resumable context or continue from a validated handoff document.
npx skills add prathamdby/skills --skill handoff
Default create: <anchor>/handoffs/handoff-<YYYY-MM-DD-HHmmss>.md, with anchor
this skill's absolute directory. "Save to " selects create there;
"resume " selects resume. Both together, missing values, or malformed
required Context/Open tasks block. Resolve all paths absolutely.
A named live focus overrides the saved one.
Redact tokens/cookies, keys, passwords/connection credentials, private or
authenticated URLs, emails/PII, certificates, and environment values.
Use [REDACTED: token], [REDACTED: password], [REDACTED: private-key],
[REDACTED: pii], or [REDACTED: url] for those values.
Environment values become NAME=[REDACTED]. Preserve variable names, command
shapes, exit codes, and artifact pointers, not sensitive values.
Never weaken redaction to make a command copyable.
No full diffs/plans/logs/transcripts.
The bound is 12 KB, eight open tasks, twelve artifacts; one to five bullets
per section, omitting empty optional sections.
create | path | facts | redaction | written | terminal.
Done when output can be written.references/create.md to draft required sections and workflow state.
Done when each fact helps the next agent act.resume the handoff at <absolute-path>.
Done when file and resume instruction exist.resume | focus | artifact status | task | terminal.
Done when required Context/Open tasks are valid.references/resume.md to verify paths, branch/dirty state, commits,
PRs, and installed skills; classify current/moved/missing/superseded.
Redact while reading referenced artifacts. Done when stale facts cannot act.Terminals: SUCCESS, BLOCKED, AWAITING_USER, INTERRUPTED, with evidence. On interruption revalidate artifacts touched since the last validation.