session-start-recovery
하는 일
이 스킬은 Firstmate가 시작 요약을 어떻게 다루는지 설명하며, 미완료 점검과 복구 단계를 포함합니다. Firstmate를 다시 시작하면서 시작 보고서가 무슨 뜻인지 알고 싶은 사람을 위한 것입니다.
사용하는 경우
- ✓시작 요약에 주의가 필요한 미완료 점검이 나열될 때.
- ✓시작 보고서에 진단 줄이나 복구 세부 정보가 포함될 때.
- ✓시작 순서가 순서대로 무엇을 하는지 이해하고 싶을 때.
스킬 링크
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/session-start-recovery/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Firstmate 시작 보고서에 미완료 점검이 몇 개 있습니다. 무슨 뜻이고 저는 무엇을 해야 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 시작 요약을 읽고, 세션 잠금이나 도구 점검처럼 각 단계를 순서대로 처리합니다. 네트워크 점검은 백그라운드에서 실행되므로 요약을 붙잡아 두지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Session-start recovery
The digest itself makes no external-network call and never waits for one.
Every network check a session start owes - GitHub auth, secondmate recovery, secondmate convergence, pending handoff delivery, and project clone refresh - runs off the digest's blocking path in a bounded worker owned by bin/fm-startup-network.sh and is reported in the digest's own NETWORK CHECKS section.
The locked startup inactive-outcome scan joins that worker so a slow local current-state read cannot block the digest; its findings use the ordinary durable wake queue.
- Lock - acquires the per-home session lock first, before anything mutates shared state, then starts the deferred startup stage above.
- Bootstrap - detect-only checks (tool/version problems, the worktree-tangle check, harness override, dispatch-profile validation, backlog-backend status) always run, but routine confirmations stay silent by default.
When the lock could not be acquired, the worktree-tangle check uses read-only advisory wording without a checkout repair command.
Home-local stale Herdr projection cleanup and the six bootstrap MUTATING sweeps - same-home backlog reconciliation, fleet sync, secondmate convergence, secondmate liveness, pending remote handoff retry, and Relay artifact writes - run only when this session actually holds the lock from step 1; the four network ones among them run in the deferred stage rather than in this section.
The secondmate liveness sweep accounts for every registered secondmate and reports skipped or failed recovery as
SECONDMATE_LIVENESS:lines. The sweep and the watcher's cadence-gated tick share the recovery contract; for T3 threads, follow the native recovery guide. - Wake queue - when locked, drains and presents the durable wake queue without running the inactive-outcome scan inline, and prints the raw records prominently as this turn's first work queue; a clearly labeled status-event annotation may follow a valid
signalrecord and includes every status line still unread at the presentation cursor, but never replaces the raw record or current-state reconciliation, and a lapsed watcher chain still surfaces here via the same guard alarm. Presented records remain durable until the handling turn runs the generation-bound acknowledgement printed by the drain. Every locked drain also prints a bounded fleet-wideOPEN DECISIONSsection when durable decision records remain open, including when the queue itself is empty; reconcile those entries before continuing. A main drain may also print a bounded, one-shotSTATUS OUTCOME BACKSTOPwhen a task's newest captain-facing status event has no covering supervision-branch outcome; handle it as a recovered wake even when no queue row remains. The same drain prints every still-unreadnote:line and pending-reply resolution since the last presentation in an unboundedUNREAD STATUSsection, so an answer buried under a later routine line is not dropped; those lines are not re-printed after that presentation. It also prints a boundedRECORD DIVERGENCEsection naming every captain call the status log reads as resolved while its backlog task is still held; nothing is closed for you, andcaptain-hold-lifecycleowns the reconciliation. When the lock could not be acquired and verified, the queue is left untouched because no session mutation is authorized, and the guard's tangle/watcher-liveness alarms still print in read-only advisory mode without drain, supervision repair, or checkout repair commands. - Supervision operating instructions - after the wake queue and before both digests, the digest emits exactly one operating block for the detected primary harness, followed by the read-once contract that governs them. The script itself never starts supervision; the emitted harness protocol owns the exact wait or wake mechanism.
- Fleet-state digest - after that read-once contract and ahead of the context digest, the compact backlog listing owned by
bin/fm-session-start.sh; everystate/<id>.meta; a bounded tail of each task'sstate/<id>.status(labeled as wake-EVENT history, not current state, with the full log path printed for a deeper read); the away or quiet posture (state/.afk-contract, plus thestate/.afkdaemon flag where a daemon runs); and one cheap alive/dead read of each task's
자주 묻는 질문
시작 요약은 인터넷을 기다리나요?
아닙니다. 요약은 네트워크 점검을 기다리지 않으며, 그 점검은 따로 보고됩니다.
묻지 않고 무엇인가를 바꾸나요?
아닙니다. 설치와 업그레이드는 여러분이 승인한 뒤에만 실행됩니다.
세션 잠금은 무엇을 위한 것인가요?
두 세션이 공유 상태를 동시에 바꾸는 것을 막기 위한 것입니다.
상세 정보
작성자의 원본 설명
Load when the session-start digest reports unfinished checks, actionable diagnostics, recovery inputs, or output requiring interpretation.
repo: kunchenguid/firstmate
인기도
- GitHub 스타
- 8.5k
- 순위
- #12445
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
afk
8.5k에이전트가 여러분이 자리를 비운 동안에도 작업을 계속하며 결정은 여러분의 복귀까지 보류하고, 돌아오면 명확한 브리프를 보내도록 돕습니다.
ahoy
8.5k에이전트가 세션에서 일어난 일을 짧게 요약해 주고, 아직 여러분의 답을 기다리는 결정 사항을 함께 살펴보도록 돕습니다.
ask-user-authority
8.5k에이전트가 검토 질문이 합의된 계획에 명확히 맞으면 스스로 결정하고, 질문이 불분명하거나 위험할 때만 여러분에게 묻도록 돕습니다.
away-quiet-supervision
8.5k자리 비움이나 조용한 모드에서 작업을 감독할 때의 안전 규칙을 정해, 에이전트가 메시지를 명확히 하고 여러분이 필요한 결정을 보류하도록 합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.