Logo von Peer Drop Watcher

Peer Drop Watcher

Community
sherifican
peer-drop-watcher

Build a watcher that reliably catches when a PEER AGENT drops a file into a shared directory, so a human never has to relay "the other agent sent you something". Invoke when a user says "set a watcher on the other agent", "why do I keep having to tell you when a file lands", "watch the passback/inbox/drop folder", or when two agents exchange files and keep missing each other's messages. The procedure forces four properties most hand-written watchers lack — drain-before-arm, a shared definition of what counts as a message, self-echo exclusion, and a distinguishable dead-link state.

Übersicht

Herausgebersherifican
RepositoryAgent-FleetOps
Skill-Namepeer-drop-watcher
Sterne
34
Forks
0
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von sherifican auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Peer Drop Watcher in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/sherifican/Agent-FleetOps/tree/main/skills/peer-drop-watcher
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sherifican/Agent-FleetOps.git /tmp/Agent-FleetOps
mkdir -p .claude/skills
cp -r /tmp/Agent-FleetOps/skills/peer-drop-watcher .claude/skills/peer-drop-watcher
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Peer Drop Watcher in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Peer Drop Watcher automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Peer Drop Watcher nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Peer Drop Watcher — catch the peer's file without a human in the loop

Two agents exchanging files through a shared directory will each happily set watchers on their own sub-agents and still fail to notice each other. The human ends up as the message bus, saying "the other one sent you something" several times an hour. That is the problem this skill removes.

The mechanism is not hard. Every failure here is in the four properties below, and a watcher missing any one of them looks identical to a working watcher right up until it silently drops a message.

Framing note: the failure modes and measurements below come from the authors' own two-box setup (two agents, one shared directory over a local link). They are evidence for the rules they sit under, not universal constants. Your transport and paths will differ; the four properties do not.

The contract you operate under

  1. Prove it red before you trust it green. A watcher is a guard. Stage a real file into the drop directory and confirm the watcher fires; then confirm it stays quiet when nothing lands. If you cannot make it fire on demand, you have not built a watcher — see guard/teeth_prover.py for the general form of this rule.
  2. Ask about anything you cannot determine. The drop path, which file types count as a message, and whether the peer writes bookkeeping files into the same tree are all things you must know exactly. Ask one concrete question with your best guess offered rather than assuming.

The four properties

1. Drain before you arm — the baseline-reset bug

The default shape of a naive watcher is: record "now", then poll for anything newer. Everything that landed while the watcher was not running is now permanently invisible, because arming moved the baseline past it.

This is the single most expensive bug in this class, because it fires exactly when you are busy — you are writing a long reply, the peer drops a file, you finish and re-arm, and the re-arm swallows it. In the authors' setup this cost a full build cycle: an agent waited on a reply that had already arrived.

The fix: persist the mark to disk and, on arm, first check for anything newer than the persisted mark. Report those immediately as a DRAINED set, then continue watching.

  === DRAINED (landed while not watching) ===
  2026-08-25 23:44   1975   <path>/NOTE_....md

Only advance the mark once a drop has actually been reported.

2. One shared definition of "a message"

If the watcher decides what counts as a peer message and some other tool (a preflight, a stop gate, an inbox check) decides separately, they will drift — and because they often share a mark file, the drift is invisible. In the authors' setup a review caught a watcher scanning three roots and six extensions while the paired preflight scanned one root and four, with both writing the same mark.

The fix: extract the definition — roots, extensions, exclusions — into a single sourced file that every tool reads. Not a copied constant in each. One file, sourced.

3. Exclude your own echo

A shared directory usually carries bookkeeping alongside payload: acknowledgement logs, receipt files, ingest records, lock files. If the watcher counts those, it fires on its own side's writes and reports a peer message that does not exist.

The fix: whitelist payload, do not blacklist noise. A whitelist fails closed (a new bookkeeping file is ignored by default); a blacklist fails open (a new bookkeeping file fires a false alarm until someone notices). Exclude acknowledgement and receipt subdirectories explicitly.

4. A dead link must not look like silence

"No files have arrived" and "I cannot reach the peer" produce the same output from a naive watcher: nothing. That is the worst possible collision, because a broken link presents as a quiet peer and you wait indefinitely on a message that can never come.

The fix: a tri-state exit. Something arrived / nothing arrived within the window / CANNOT_CHECK. Give the unreachable case its own distinct exit code and say so out loud. CANNOT_CHECK is not silence, and it is not a clear — see skills/honesty-stop-gate for the same distinction applied to turn-ending claims.

Process-liveness check — beware the platform trap

A watcher that has died is worse than no watcher, so tools that depend on one usually check it is alive. The obvious implementation — search the process table for the watcher's command line — is not portable. On some shells and platforms the process table does not expose command lines to that query at all, so the check reports "watcher dead" on every single run regardless of truth.

That is a check that cannot pass, which is the mirror image of a check that cannot fail and just as useless.

The fix: have the watcher write a PID file on start and remove it on exit; check liveness by testing that PID directly. Verify your liveness check on the actual target platform before shipping it. Apply the Instrument self-defeat controls.

Verification before you call it done

Do not report a working watcher on the basis that you started it. Confirm all four:

  • Fires: stage a file into the drop directory; the watcher reports it and exits/notifies.
  • Drains: stop the watcher, stage a file, restart the watcher — the staged file is reported as DRAINED, not swallowed.
  • Ignores its own echo: write a bookkeeping/ack file; the watcher stays quiet.
  • Distinguishes a dead link: break the connection (or point it at an unreachable path); the watcher reports CANNOT_CHECK, not "nothing arrived".

Relationship to the send side

This skill is the receive half. Its complement is guard/passback_send_check.py, which asks whether the peer actually holds what you think you sent — evidence taken from the recipient, never from your own send log. Together they close the loop: the sender confirms delivery, the receiver learns of arrival. Neither substitutes for the other; a file can be confirmed-sent and still never noticed.

Häufig gestellte Fragen

Was macht der KI-Skill Peer Drop Watcher?

Build a watcher that reliably catches when a PEER AGENT drops a file into a shared directory, so a human never has to relay "the other agent sent you something". Invoke when a user says "set a watcher on the other agent", "why do I keep having to tell you when a file lands", "watch the passback/inbox/drop folder", or when two agents exchange files and keep missing each other's messages. The procedure forces four properties most hand-written watchers lack — drain-before-arm, a shared definition of what counts as a message, self-echo exclusion, and a distinguishable dead-link state.

Warum Peer Drop Watcher in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Peer Drop Watcher besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Peer Drop Watcher in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/sherifican/Agent-FleetOps/tree/main/skills/peer-drop-watcher ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Peer Drop Watcher nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Peer Drop Watcher verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Peer Drop Watcher damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Peer Drop Watcher kostenlos?

Ja. Der Skill wird von sherifican auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇