Zum Inhalt springen
Skillpedia
E-Mail & Nachrichten280k · #371

operator-approval-loop

Was er macht

Dieses System sorgt dafür, dass wichtige Nachrichten, die ein KI-Agent an andere verfasst, von einem Menschen geprüft und freigegeben werden, bevor sie verschickt werden. Es protokolliert alles, was gesendet wurde, und wer es freigegeben hat.

Wann du ihn nutzt

  • ✓Wenn ein KI-Agent Antworten an Kunden oder Partner schreibt.
  • ✓Wenn du genau nachvollziehen musst, wer jede Nachricht freigegeben hat.
  • ✓Wenn du verhindern möchtest, dass falsche oder doppelte Nachrichten verschickt werden.

Link zum Skill

https://github.com/affaan-m/ECC/blob/main/skills/operator-approval-loop/SKILL.md

Kopiere 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

Nutze diesen Skill, um mir zu helfen: https://github.com/affaan-m/ECC/blob/main/skills/operator-approval-loop/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Bitte prüfe diese Nachricht an den Kunden zum Status seiner Bestellung und gib sie frei.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Sobald eine Nachricht erstellt wird, wird sie als Entwurf gespeichert und zur Prüfung markiert. Ein Mensch prüft den Entwurf und gibt ihn frei oder lehnt ihn ab. Bei Freigabe speichert das System, wer wann freigegeben hat, und stellt sicher, dass genau die freigegebene Nachricht versendet wird.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Operator Approval Loop

An agent that talks to external counterparties should never send on its own judgment and should keep the operator informed internally. This skill defines the contract: every outbound draft is filed as an obligation, an operator decides on the exact text, and a delivery ledger proves what went out.

When to Use

  • An agent drafts replies to customers, suppliers, investors, or partners in a shared channel, email, or chat, and a human must approve before send.
  • You need an audit trail that links each sent message to the exact draft text, the operator who approved it, and the decision time.
  • You have seen a stale approval release a rewritten draft, or two workers deliver the same approved message twice.
  • Drafts keep re-asking counterparties for facts the ledger already holds.

How It Works

Objects

Object Meaning
Obligation One thing we owe a counterparty. Status moves drafted, then approved or rejected, then sent. Carries direction, counterparty, channel, and an updated_at epoch.
Draft Sidecar row holding the exact draft text, a sha256 of that text, origin coordinates (platform, channel, thread, user), and priority (P0 to P3). One per obligation, replaced on re-file.
Decision An operator's approve or reject, recorded with the operator id, a nonce, and the draft epoch it was made against.
Approval snapshot Immutable text, hash, epoch and destination recorded by the already-authorized decision writer. Missing snapshots cannot grant dispatch.
Claim Durable reservation with a random token and state; at most one active claim per obligation.
Delivery Ledger row proving one send or notice for one (obligation, decision) pair.

The reference schema is in references/approval-ledger.sql.

Filing a draft

  1. Clean inputs. Strip control characters, collapse whitespace in single-line fields, and enforce length caps (draft, summary, context, counterparty). Empty or oversized fields are refused, not truncated silently.
  2. Run the baseline gate (below). It may refuse the filing.
  3. Hash the draft text with sha256. The hash prefix goes into the summary so the approval panel shows which text it is approving.
  4. Upsert. If an open drafted obligation already exists for the same (counterparty, channel), replace the draft sidecar and advance the obligation's updated_at. That advance is the epoch rotation: any decision keyed to the old epoch can no longer release the new text. Otherwise insert a new obligation with status drafted.
  5. Route the filing receipt only to a configured, verified internal ops destination. If the origin is that internal destination, acknowledge there. Never-silent means internal reporting, not an automatic external reply. Keep draft hashes, approval status, operator identity and workflow metadata out of counterparty-visible channels. Unknown or unclassified origins stay quiet; a direct message is not automatically internal.

If a verified internal destination is unavailable, retain the filing result in the internal tool result or operator surface. Never fall back to an external or unknown origin. A tool result exposed to outsiders is not an internal surface.

Filing a draft does not authorize an external response. Any policy-permitted clarifying question or neutral response is a separate outbound decision, subject to the existing mention, channel, draft-only, frozen and never constraints in counterparty-channel-discipline. It must not disclose internal approval metadata.

Baseline gate

Before any draft is filed, query the current baseline for the counterparty (a temporal ledger, contract store, or CRM):

  • Signed or delivered contract on record: refuse the filing with the evidence and a recommendation. Asking a counterparty about specs after signing is the exact failure this gate exists to stop.
  • Operator override: force_despite_signed_contract lets the filing through and stamps [BASELINE_OVERRIDE_SIGNED_CONTRACT] into the draft context.
  • Gate service unreachable: the filing proceeds and the context is stamped [BASELINE_CHECK_UNAVAILABLE]. The panel sees that the guard was off. Failures never silently disable the gate.
  • When facts are available, attach the freshest few to the context as a [BASELINE FACTS: ...] digest so the draft lands with current truth.

Deciding

…

Häufige Fragen

Was passiert, wenn sich der Entwurf nach der Freigabe ändert?

Dann muss er erneut geprüft und freigegeben werden. So ist sichergestellt, dass die versendete Nachricht genau die ist, der ein Mensch zugestimmt hat.

Wie verhindert das System, dass dieselbe Nachricht zweimal verschickt wird?

Das System speichert alle versendeten und freigegebenen Nachrichten. Vor dem Senden prüft es, ob eine identische Nachricht mit der entsprechenden Freigabe bereits verschickt wurde.

Was ist das „Baseline Gate“?

Das ist eine Eingangsprüfung, die vorhandene Informationen über den Empfänger (etwa unterschriebene Verträge) kontrolliert, bevor ein Entwurf erstellt werden darf. So fragt der Agent nicht nach Informationen, die eigentlich schon bekannt sein sollten.

Details

Originalbeschreibung des Autors

Operator approval contract with internal filing notices for agent-drafted outbound messages, hashed drafts, epoch-keyed decisions, durable delivery claims and receipts, and a pre-draft baseline gate. Use when an agent drafts messages to external counterparties and a human operator must approve, reject, or steer each send before it leaves.

repo: affaan-m/ECC

Beliebtheit

GitHub-Sterne
280k
Platz im Ranking
#371
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills