process-event-sources
Was er macht
Dieser Skill erklärt, wie Firstmate lang laufende externe Prozesse beobachtet, ohne das Gespräch zu blockieren. Er richtet sich an Leute, die Ergebnisse langsamer Aufgaben brauchen, etwa Review-Boards oder externe Prüfungen.
Wann du ihn nutzt
- ✓Wenn ein externer Prozess lange dauert und du willst, dass der Agent währenddessen weiterarbeitet.
- ✓Wenn ein Prozess-Ereignis-Aufwecken eintrifft, das meldet, dass eine beobachtete Quelle fertig ist.
- ✓Wenn eine beobachtete Quelle als festsitzend oder als nicht gestartet gemeldet wird.
Link zum Skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/process-event-sources/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
“Beobachte dieses lange Review-Board und wecke mich, wenn es Feedback gibt, das ich beantworten muss.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent registriert den externen Prozess als Quelle und arbeitet weiter. Wenn der Prozess endet, bringt eine Weck-Nachricht das Ergebnis zurück ins Gespräch.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
process-event-sources
Load this before arming a long-polling source, before registering a deterministic condition->action watch, whenever a check: wake carries procevent <adapter> <source-id> <sequence>, and whenever the watcher headlines a process-event source stranded or process-event source failed to start wake.
The runner exists so a blocking external process never holds firstmate's conversational turn. Firstmate registers a source, keeps working, and is woken when that process completes.
Arming a source
Use the adapter, not the generic runner, for a real source.
Before either Lavish arm form below, open the artifact with lavish-axi so its saved session can route the listener; the operating contract owns the prerequisite and refusal boundary.
For a Lavish review artifact firstmate owns:
bin/fm-procevent-lavish.sh arm <artifact.html>
A worker-owned board uses bin/fm-procevent-lavish.sh arm <artifact.html> --for <task-id> and re-arms with its reply after each nonterminal round; the existing handled marker is the acknowledgement.
Arm it once, then re-arm only when a round is actually waiting: arming again with nothing to acknowledge is refused.
A terminal round is never re-armed: the board stays yours until you acknowledge it with bin/fm-procevent.sh handled <source-id> <sequence>, which retires it, and until then retire refuses the board too.
Never arm a board that a live task hosts; follow the crew-hosted Lavish board contract for reply acceptance and older-version limits.
Registering a source is not the same fact as listening to it.
Lavish arm waits until this registration's listener is confirmed running and does not report ready without that evidence; other adapters still record the source for the watcher's next reconcile.
When an earlier registration's listener still holds the board as the confirm window ends, Lavish arm prints still-listening instead of armed; that listener keeps serving the board, and the new registration takes effect only after you retire the source and arm it again.
After arming by hand, confirm bin/fm-procevent.sh list reports that source as live, and run bin/fm-procevent.sh reconcile when it does not.
Reconcile reports every launch that did not prove it took its claim within the confirm window as failed= and exits non-zero, so a source that cannot be started says so instead of looking armed, and it wakes you once per failure episode about it because the watcher discards that count; start does not fix that - if the source stays unowned, run start attached to read the runner's refusal, then check the source command and adapter binary the registration names, and if a later reconcile finds the source owned the episode closes on its own.
A source list reports as orphaned is one reconcile will not relaunch, because something may still be polling it; reconcile wakes you once about it, and that wake's payload says which of two recoveries applies.
If the claim's recorded pid is alive under a different identity, bin/fm-procevent.sh start <source-id> takes the source back once you have checked nothing is still polling it - provided the dead generation's reservation records can still be tidied; otherwise it refuses with cannot claim source.
If the runner itself died and its process group survives, start reports already owned and takes nothing back: verify whether the dead runner's polling child is still attached to the source, and once that group is empty the next reconcile reclaims the source on its own.
Nothing signals that group automatically.
When a source carries captain answers to captain-held tasks, bind it BEFORE arming it, so it can never produce an answer that has nowhere to go:
bin/fm-captain-hold.sh bind <source-id>
The runner then passes each captured result to that source's own adapter answers command and pipes the keyed answers it prints into the one keyed-answer intake, which owns every rule about what they mean; the keys are captain-held task ids.
This is generic across built-in adapters with an answers command, and the runner still wakes you to act on the result.
External process-event bindings intentionally expose no answer operation and cannot feed the captain-answer intake.
captain-hold-lifecycle owns when a binding is required and what the keys must be.
Häufige Fragen
Wartet der Agent, während der Prozess läuft?
Nein. Der Agent arbeitet weiter, und eine Weck-Nachricht kommt, wenn der Prozess endet.
Was bedeutet festsitzend?
Es bedeutet, dass eine beobachtete Quelle ihre Verbindung verloren hat und geprüft werden muss, wie der Skill erklärt.
Kann der Agent jedes Werkzeug beobachten?
Er nutzt spezifische Adapter für jede unterstützte Quelle, nicht einen allgemeinen Läufer für jedes Werkzeug.
Details
Originalbeschreibung des Autors
Load before arming a long-polling source firstmate owns, before registering a deterministic condition->action watch, on any `procevent <adapter> <source-id> <sequence>` check wake, and on any `process-event source stranded` or `process-event source failed to start` check wake.
repo: kunchenguid/firstmate
Beliebtheit
- GitHub-Sterne
- 8.5k
- Platz im Ranking
- #12439
- 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.