ワンクリックで
tap-in
Initialize session with context briefing (team-aware)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Initialize session with context briefing (team-aware)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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.
Prepend session handoff to DaysActivity.md (team-aware)
| name | tap-in |
| description | Initialize session with context briefing (team-aware) |
| context | fork |
| allowed-tools | Bash, Read, Glob, Write |
Read recent activity and current state to get oriented at session start. Team-aware: Detects experimental agent teams and provides team coordination guidance.
# Check if experimental agent teams are enabled
claude config get experimental.agentTeams 2>/dev/null || echo "teams_disabled"
Set flag: TEAMS_ENABLED=true/false for subsequent steps
date +%Y-%m-%d
head -1 /root/projects/Moocity/DaysActivity.md 2>/dev/null
/daily-housekeeping firstLast 2-3 entries from DaysActivity.md:
head -80 /root/projects/Moocity/DaysActivity.md
cat /root/projects/Moocity/CurrentStatus.md
Get operational context.
tail -30 /root/projects/Moocity/.beads/issues.jsonl | jq -r 'select(.status == "open") | [.id, .type, .title] | @tsv' | column -t
Query CM health to distinguish three failure modes that all look the same to a caller: (a) server down, (b) server up but empty index, (c) server up but stale index.
# Port comes from factory.env CM_PORT; Zgent = 3002.
CM_PORT=$(grep -E '^CM_PORT=' /root/projects/Moocity/factory/factory.env 2>/dev/null | cut -d'"' -f2)
CM_PORT=${CM_PORT:-3002}
curl -s --max-time 3 "http://localhost:${CM_PORT}/api/v1/health" 2>/dev/null
Then classify:
systemctl status claude-monitor."conversationCount missing from response → server is pre-patch (old schema). Flag: "CM health endpoint predates co-s5e patch; apply factory/patches/claude-monitor/001-health-endpoint-db-stats.patch for richer signals."conversationCount == 0 → DB is empty. Flag: "CM index is empty — run cd /root/projects/claude-monitor && bun run backfill to seed."lastEntryTimestamp > 24h old → backfill stale. Flag: "CM index hasn't absorbed new content in >24h. Check /tmp/cm-backfill.log and the crontab."Include any warning in the Current State section of the briefing.
7a. Scan beads for team assignments:
# Get all open beads with team metadata
jq -r 'select(.status == "open") | [.id, .title, .metadata.team // "none", .metadata.priority // "none"] | @tsv' \
/root/projects/Moocity/.beads/issues.jsonl | column -t
7b. Group beads by team:
# Count beads per team
jq -r 'select(.status == "open" and .metadata.team) | .metadata.team' \
/root/projects/Moocity/.beads/issues.jsonl | sort | uniq -c
7c. Identify ready-to-launch teams:
Teams with open beads assigned and no blocking dependencies.
Write to: /root/projects/Moocity/session-briefing.md
## Session Briefing - YYYY-MM-DD HH:MM
**Session Mode**: [Standard | Team Execution]
**Teams Enabled**: [Yes | No]
---
### Recent Activity
**Last Session**: [timestamp] - [brief summary from most recent handoff]
**Open Work (carried forward)**:
- [item 1]
- [item 2]
---
### Current State
[Summary from CurrentStatus.md — version, rigs, attention items]
---
### Team Status (if teams enabled)
**Active Teams**: [count]
| Team | Open Beads | Status | Blockers |
|------|------------|--------|----------|
| Alpha | 3 | In Progress | None |
| Beta | 2 | Blocked | Waiting on Alpha.3 |
**Ready to Launch**: [teams with no blockers]
---
### Open Beads (active/recent)
| Bead | Title | Type |
|------|-------|------|
| id | title | type |
---
### Resumption Guidance
**Carried forward from last session**:
1. [specific next step]
2. [specific next step]
**If continuing team work**:
1. Check Team [X] progress
2. Launch Team [Y]: Ready, no blockers
---
### Ready Status
[Ready to proceed | Issues require attention | Team coordination needed]
/handoff - Session end (records team state)/daily-housekeeping - Runs before tap-in if date changedThis skill can be invoked mid-session to refresh context:
/tap-in