Save session progress for continuation across multiple sessions. Unlike `/kas:done`, this doesn't close all work - it creates a snapshot and generates a continuation prompt.
Creates a session snapshot for continuing work across multiple sessions without closing tasks.
/plugin marketplace add brkastner/kas-plugins/plugin install kas@kas-claude-pluginSave session progress for continuation across multiple sessions. Unlike /kas:done, this doesn't close all work - it creates a snapshot and generates a continuation prompt.
$ARGUMENTS - Optional context or notes to include in the snapshotgit status --short
bd list --status=open
git log --oneline -5
Review and summarize:
in_progress statusIf there are unstaged changes:
git add <relevant-files>
git commit -m "<appropriate message>"
git pull --rebase
git push
Beads data syncs automatically via daemon to util/beads-sync branch.
Check for existing PR:
gh pr view --json url -q .url 2>/dev/null
If PR exists, add session snapshot comment:
gh pr comment --body "$(cat <<'EOF'
## Session Snapshot - {date}
**Completed:**
- {completed_items}
**Quality Gates:** {status}
**Beads Status:**
- Closed: {closed_list}
- In Progress: {in_progress_list}
**Next Session Prompt:**
{next_prompt}
EOF
)"
git stash clear
git remote prune origin
git status
Must show branch is up to date with origin.
bd daemon --status || echo "Warning: daemon not running, beads may not have synced"
Generate and display prominently for user to copy:
Continue work on {feature-name}:
- Resume: {current in-progress beads issue}
- Next: {next ready task from bd ready}
- Context: {brief context about blockers or pending work}
Display this in a code block for easy copying.
| Aspect | /kas:save | /kas:done |
|---|---|---|
| Work status | Keeps work open | Closes completed work |
| Focus | Session boundary | Task completion |
| Prompt | Continuation-focused | Next task suggestion |
| PR comment | Session snapshot | Optional |
git push succeeds/saveSMART save - auto-generates commit messages, handles git pull/merge/rebase automatically, resolves divergent branches, stashes dirty work. Works for single repos and umbrella multi-repo setups. Just run /sw:save with no args for fully automatic save!