Gracefully closes, pauses, or verifies coding sessions: harvests promotable content, saves progress, archives soul purpose, settles AtlasCoin bounties. Triggers on /stop or phrases like 'wrap up'.
npx claudepluginhub anombyte93/atlas-session-lifecycleThis skill uses the workspace's default tool permissions.
> Graceful session close, pause, or verification. Three intents: Pause | Finish | Verify.
Bootstraps Claude Code sessions by organizing files, generating CLAUDE.md, managing soul purpose lifecycle with completion protocol and context harvesting. Use /start or /init.
Closes Claude Code work sessions via /session-close: compiles status/blockers/lessons/changed files, stops monitors/heartbeats, reflects, archives reports, prepares handoff for resumption. Auto-activates on 'I'm done' etc.
Verifies session work against agreed plan, creates issues for gaps and carryover tasks, runs quality gates, commits changes, mirrors to GitHub, and generates summary. Triggered by /close.
Share bugs, ideas, or general feedback.
Graceful session close, pause, or verification. Three intents: Pause | Finish | Verify.
All session operations use atlas-session MCP tools directly (prefixed session_* and contract_*). Use ToolSearch to discover them.
First, save the current session state so context files are up to date:
/sync — updates all session-context files and MEMORY.md with current progress. Silent, no output shown.Then detect state:
session_read_context(project_dir) — get soul purpose, status hint, open tasks.status_hint is no_purpose or soul purpose is empty: tell user "No active soul purpose to close." EXIT.session-context/BOUNTY_ID.txt exists, call contract_get_status(project_dir). Store HAS_BOUNTY.Ask ONE question via AskUserQuestion:
Question: "Soul purpose: '[soul purpose text]'. What would you like to do?"
Store the user's choice as INTENT.
Read custom.md if it exists, follow instructions under "During Settlement".
Save progress. Soul purpose, bounty, and Ralph Loop all stay active.
session_harvest(project_dir).Read session-context/CLAUDE-activeContext.md, then append a timestamped checkpoint:
## [CHECKPOINT] HH:MM DD/MM/YY
### Session Paused — Progress Saved
**Accomplished this session:**
- [AI fills in based on what was done]
**In progress:**
- [AI fills in based on current state]
**Next steps:**
- [AI fills in based on remaining work]
**Blockers/Decisions pending:**
- [AI fills in, or "None"]
Fill each section with real, specific content — not placeholders.
Ask: "Create a save-point commit?" (Yes / No)
If Yes and project is git: git add -A && git commit -m "checkpoint: [brief summary]". If commit fails, inform user and continue.
/start to pick up where you left off."Full settlement: harvest, verify, review, PR, bounty, archive.
session_harvest(project_dir).session_features_read(project_dir).CLAUDE-features.md.superpowers:verification-before-completion — run doubt review on recent changes.Call session_hook_deactivate(project_dir).
git push -u origin HEADsuperpowers:requesting-code-review for review body.gh pr create --title "..." --body "..." with review summary.contract_run_tests(project_dir) — execute all criteria.contract_submit(project_dir).Task(subagent_type: "general-purpose", prompt: "You are finality-agent. Verify bounty [ID] independently. Call contract_verify(project_dir). Report pass/fail.")contract_settle(project_dir). Tell user tokens earned.NEW_PURPOSE.session_archive(project_dir, OLD_PURPOSE, NEW_PURPOSE).rm -f ~/.claude/ralph-loop.local.mdCheck status without closing. Return to work after.
superpowers:verification-before-completion — doubt review.session_features_read(project_dir) — show feature status.contract_run_tests(project_dir) — show results.