From space-agents
Ends coding sessions by reconciling exploration folders, appending detailed context to CAPCOM.md, syncing Beads tasks, committing git changes, and displaying feature stats. Use to capture progress at session end.
How this skill is triggered — by the user, by Claude, or both
Slash command
/space-agents:landThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Capture session context in CAPCOM and reconcile any folder states that were missed during the session.
Capture session context in CAPCOM and reconcile any folder states that were missed during the session.
Check for folder/state mismatches and fix them:
| If folder in... | But has... | Move to... |
|---|---|---|
exploration/ideas/ | plan.md | exploration/planned/ |
exploration/planned/ | Beads feature exists | mission/staged/ |
mission/staged/ | Beads feature closed | mission/complete/ |
For each mismatch: show user, confirm, then mv the folder.
git branch --show-current
git status --short
git log -1 --oneline
bd stats
bd list -t feature --status in_progress
From your session memory, note:
Get next session number:
grep -c "^## \[.*\] Session [0-9]" .space-agents/comms/capcom.md 2>/dev/null || echo 0
Add 1 to get the next session number.
Append full session context to .space-agents/comms/capcom.md:
## [YYYY-MM-DD HH:MM] Session {N}
**Branch:** {branch} | **Git:** {clean/uncommitted}
### What Happened
[Narrative of what was worked on. Be specific - file names, function names, what changed and why.]
### Decisions Made
[Architectural decisions, trade-offs chosen, "we decided X because Y". Skip if none.]
### Gotchas
[Things that surprised you, bugs encountered, "watch out for X". Skip if none.]
### In Progress
[If stopped mid-task: what state, next step, files involved. Skip if clean stop.]
### Next Action
[One clear thing to do next session.]
---
Guidelines:
Pre-flight:
bd doctor --quiet # Warn on failures, don't block
git status # Review pending changes
Stage and commit:
git add <specific files> # Stage code changes (not -A)
bd sync # Sync beads
git commit -m "feat: <summary from session>" # Meaningful message
git push
Commit message should summarize session work (e.g., "feat: update agent terminology, complete feature 1.2").
Query features and show progress:
bd list -t feature
bd list --tree
Output format:
SESSION COMPLETE
────────────────
Tasks completed: {count from session}
Bugs fixed: {count from session}
FEATURES
{for each feature from bd list -t feature}
{status_icon} {feature_title} [{closed_tasks}/{total_tasks}]
{end for}
Context saved to CAPCOM. Run /launch to continue.
Safe travels, Commander.
Status icons: ✓ closed, ◐ in_progress, ○ open, ● blocked
npx claudepluginhub thebrownproject/space-agents --plugin space-agentsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.