Index of every page on this site: llms.txt
All skills
mubeda avatar

/mstack-handoff

@448b591
Run it yourself

Use when the user is running out of context or tokens, wants to pause, wants to hand long-running work to another agent, session or host, or says "write a handoff", "hand this off", "save where we are" or "continue from this handoff". Writes one resumable handoff file (branch, HEAD, uncommitted paths, pull request, issue status, gates green and due with exact commands, approved and blocked decisions, next commands first) without committing, stashing or leaking secrets, verifies it, and stops; or resumes from such a file. Works in Claude Code and Codex. It does not continue the work itself.

Use this Skill: https://skilld.dev/gh/mubeda/mstack/mstack-handoff

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

THIRD_PARTY_NOTICES.md

≈633 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Third-party notices

This skill adapts methods from the open-source projects below. The rules were rewritten and modified; they are not copies of the original files.

Component Source License Used in
handoff https://github.com/mattpocock/skills MIT SKILL.md (point at artifacts instead of copying them, redact secrets, suggested skills), references/handoff-template.md (the paste prompt points at the file)
pstack (poteto-mode playbooks pause-safely and session-pickup) https://github.com/backnotprop/pstack, a mirror of cursor/plugins pstack MIT SKILL.md (stop at a safe point first, resume without redoing finished work and re-verify inherited claims)
superpowers (executing-plans) https://github.com/obra/superpowers MIT references/handoff-template.md (an identity line naming the work, gates recorded only with the command that passed)

The fixed start routine for a new session (working directory, state file, git log, one basic check) follows published guidance from Anthropic on long-running agents, used as ideas only; no text from it is copied. Recording uncommitted work in place, the staleness rules for a moved HEAD, and scripts/check-handoff.mjs are this project's own.

MIT-licensed components

Copyright (c) 2026 Matt Pocock (mattpocock/skills)

Copyright (c) 2026 Lauren Tan (pstack)

Copyright (c) 2025 Jesse Vincent (superpowers)

Each of the components above is licensed under the MIT License:

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning11d3 checks · Risk SAFE
  • Gen Agent Trust Hub12d

    The mstack-handoff skill is a utility designed to help AI agents save their current progress and hand it off to another session. It follows strong security practices, including mandatory checks to prevent secret leakage and explicit instructions to avoid committing or stashing sensitive data. It uses standard, safe development commands to capture repository state.

  • Socket11d

    No alerts

  • Snyk12d

    Risk: MEDIUM · 1 issue

Signed by skilld at 448b591. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 2 weeks ago

README badge

README badge for mubeda/mstack/mstack-handoff