بنقرة واحدة
tap-in
Initialize session with context briefing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Initialize session with context briefing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | tap-in |
| description | Initialize session with context briefing |
| context | fork |
| allowed-tools | Bash, Read, Glob, Write |
Read recent activity and current state to get oriented at session start.
date +%Y-%m-%d
head -1 /root/projects/tmux/DaysActivity.md 2>/dev/null
/daily-housekeeping firstLast 2-3 entries from DaysActivity.md:
head -80 /root/projects/tmux/DaysActivity.md
cat /root/projects/tmux/CurrentStatus.md
Get operational context.
bd list --status open
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/tmux/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.
Write to: /root/projects/tmux/session-briefing.md
## Session Briefing - YYYY-MM-DD HH:MM
---
### 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]
---
### 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]
---
### Ready Status
[Ready to proceed | Issues require attention]
/handoff - Session end/daily-housekeeping - Runs before tap-in if date changedThis skill can be invoked mid-session to refresh context:
/tap-in
Agent-teams detection and the Team State Analysis step. The first step used
to run claude config get experimental.agentTeams. That call hangs on
Claude Code 2.1.216 — it never returns, even with stdin closed (verified: 20s
timeout, rc=124) — so it burned the Bash timeout on every session start. Its
only consumer was a Team State Analysis step that ran jq against
.beads/issues.jsonl, a file that does not exist because the beads store is
Dolt-backed. Nothing ever set the flag the team-aware output was gated on, so
that output was unreachable too. A hang feeding a no-op. Removed 2026-07-21
(co-kavq). /handoff carried the same call — check there before
reintroducing anything like it.