session-start-recovery
Was er macht
Dieser Skill erklärt, wie Firstmate seine Startzusammenfassung behandelt, einschließlich unerledigter Prüfungen und Wiederherstellungsschritte. Er richtet sich an Leute, die Firstmate neu starten und wissen wollen, was der Startbericht bedeutet.
Wann du ihn nutzt
- ✓Wenn die Startzusammenfassung unerledigte Prüfungen auflistet, die Aufmerksamkeit brauchen.
- ✓Wenn der Startbericht Diagnosezeilen oder Wiederherstellungsdetails enthält.
- ✓Wenn du verstehen willst, was die Startsequenz der Reihe nach tut.
Link zum Skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/session-start-recovery/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Mein Firstmate-Startbericht listet einige unerledigte Prüfungen auf. Was bedeuten sie und was soll ich tun?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent liest die Startzusammenfassung und arbeitet jeden Schritt der Reihe nach ab, etwa das Sperren der Sitzung und das Prüfen der Werkzeuge. Netzwerkprüfungen laufen im Hintergrund, damit sie die Zusammenfassung nicht aufhalten.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Wartet die Startzusammenfassung auf das Internet?
Nein. Die Zusammenfassung wartet nicht auf Netzwerkprüfungen, die separat gemeldet werden.
Ändert er Dinge ohne Nachfrage?
Nein. Installationen und Aktualisierungen erfolgen erst, nachdem du sie freigegeben hast.
Wofür ist die Sitzungssperre?
Sie verhindert, dass zwei Sitzungen gleichzeitig den gemeinsamen Zustand verändern.
Details
Originalbeschreibung des Autors
Load when the session-start digest reports unfinished checks, actionable diagnostics, recovery inputs, or output requiring interpretation.
repo: kunchenguid/firstmate
Beliebtheit
- GitHub-Sterne
- 8.5k
- Platz im Ranking
- #12445
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
afk
8.5kLässt deinen Agenten weiterarbeiten, während du weg bist, Entscheidungen für deine Rückkehr zurückhält und dir bei deiner Rückkehr eine klare Zusammenfassung schickt.
ahoy
8.5kLässt deinen Agenten dir eine kurze Zusammenfassung dessen geben, was in der Sitzung passiert ist, und dich durch alle Entscheidungen führen, die noch auf dich warten.
ask-user-authority
8.5kHilft deinem Agenten, Review-Fragen selbst zu entscheiden, wenn sie klar zum vereinbarten Plan passen, und dich nur zu fragen, wenn eine Frage unklar oder riskant ist.
away-quiet-supervision
8.5kLegt Sicherheitsregeln für die Überwachung der Arbeit im Abwesenheits- oder Ruhemodus fest, damit der Agent klare Nachrichten sendet und Entscheidungen zurückhält, die dich brauchen.
Ähnliche Skills
openclaw-update
394kHilft deinem Agenten, ein bestehendes OpenClaw-Gateway zu aktualisieren, mit der Methode, die zu deiner Installation passt, während deine Sitzung weiterläuft.
diagnose-gateway
394kHilft deinem Agenten herauszufinden, warum dein OpenClaw-Gateway fehlschlägt, indem er Einstellungen, Kanäle und Ports prüft, ohne etwas zu ändern.
crabbox-apps
394kHilft deinem Agenten, eine App auf einer temporären Cloud-Maschine zu öffnen und auszuführen und ihre Ansicht in deinem Chat-Seitenpanel zu zeigen.