بنقرة واحدة
handoff
Prepend session handoff to DaysActivity.md (team-aware)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Prepend session handoff to DaysActivity.md (team-aware)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Routing work to agents with gc sling and formulas
Mini session checkpoint — auto-save state for crash recovery
DaysActivity.md formatting conventions. Use when writing handoff entries, hourly summaries, or any content destined for DaysActivity.md.
Initialize session with context briefing (team-aware)
استنادا إلى تصنيف SOC المهني
| name | handoff |
| description | Prepend session handoff to DaysActivity.md (team-aware) |
| allowed-tools | Bash, Read, Write, Glob |
Prepend a session handoff entry to DaysActivity.md (cumulative daily log). Team-aware: Records team progress when experimental agent teams are enabled.
NEVER generate DaysActivity entries freeform. Only this skill writes to DaysActivity.md. Freeform summaries skip bead-status checks, timestamp formatting, and validation. If you need to record session state outside of this skill, use bd remember or bd comment.
Get current date and time
date +%Y-%m-%d
date +%H:%M
Check if DaysActivity.md exists for today
head -1 /root/projects/Moocity/DaysActivity.md 2>/dev/null
Check for experimental teams
claude config get experimental.agentTeams 2>/dev/null || echo "teams_disabled"
Gather team state (if TEAMS_ENABLED)
4a. Team progress summary:
# Get team bead status
jq -r 'select(.metadata.team) |
[.metadata.team, .status, .id, .title] | @tsv' \
/root/projects/Moocity/.beads/issues.jsonl | \
sort | column -t
4b. Identify team transitions:
# Recently completed beads (would need timestamp check)
jq -r 'select(.status == "closed" and .metadata.team) |
[.metadata.team, .id, .title] | @tsv' \
/root/projects/Moocity/.beads/issues.jsonl
Gather context
CurrentStatus.md for current stateCheck open beads
tail -30 /root/projects/Moocity/.beads/issues.jsonl | jq -r 'select(.status == "open") | [.id, .type, .title] | @tsv' | column -t
Create handoff entry
Standard format (when teams NOT enabled):
## HH:MM - Session Handoff [Brief Topic Tag]
**Summary**: [1-2 sentence description of what was accomplished]
**Open Work**:
- [In-progress item 1]
- [In-progress item 2]
**Tried** *(include only for debugging/investigation sessions)*:
- [Approach 1] → [result — why it worked or didn't]
- [Approach 2] → [result — why it worked or didn't]
**Files Changed**:
path/to/file1.md
path/to/file2.ts
---
Team-aware format (when teams enabled):
## HH:MM - Session Handoff [Team Execution]
**Summary**: [1-2 sentence description of what was accomplished]
**Teams Active**: [count] ([list team names])
**Team Progress**:
- **Team Alpha**: Completed alpha.1, alpha.2. In progress: alpha.3 (2h remaining)
- **Team Beta**: Blocked on alpha.3, ready to launch after gate opens
- **Team Gamma**: Ready to launch (no blockers)
- **Team Epsilon**: epsilon.1 (MCP deployment) complete
**Team State Transitions**:
- Alpha.1 completed -> Alpha.2 now active
- Epsilon.1 completed -> MCP deployed and running
**Next Session Actions**:
- Resume Team Alpha: Complete alpha.3, alpha.4 (~4h)
- Launch Beta/Gamma/Delta in parallel once Alpha gate opens
**Open Work**:
- [Any non-team work items]
**Files Changed**:
path/to/file1.md
path/to/file2.ts
---
# DaysActivity - YYYY-MM-DD header at top--- between entriesIf file doesn't exist or has wrong date:
# DaysActivity - YYYY-MM-DD
## HH:MM - Session Handoff
[Entry content...]
---
After writing the entry, verify before reporting success:
## HH:MM header in 24-hour format**Summary**: line is a complete sentence, not a fragment**Open Work**: lists them**Files Changed**: is populated**Tried**: captures approaches and outcomesIf any check fails, fix the entry before reporting success. Do not hand back a partial handoff.
When recording team handoffs:
1. Team Progress:
2. Team State Transitions:
3. Next Session Actions:
Critical: The handoff's "Next Session Actions" becomes tap-in's "Resumption Guidance"