human-gate
Was er macht
Dieser Skill baut aus einem Dokument eine Prüfseite, sammelt verankerte Rückmeldungen von einer benannten prüfenden Person und lässt die Arbeit nicht abschließen, solange Blocker offen sind. Er passt zu Teams, die bei wichtiger Arbeit eine menschliche Freigabe brauchen.
Wann du ihn nutzt
- ✓Wenn ein Plan, eine Spezifikation, ein Bericht oder eine Migration vor dem Ausliefern die Freigabe einer benannten Person braucht.
- ✓Wenn eine nicht umkehrbare Aktion vorher ein Mensch ansehen soll.
- ✓Wenn du Kommentare von Prüfenden nachverfolgt und gelöst haben willst, statt dass sie im Chat verloren gehen.
Link zum Skill
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/human-gate/skills/human-gate/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
“Ich brauche eine Prüfseite für meinen Migrationsplan, und ich will, dass eine benannte Prüferin vor dem Ausführen freigibt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent macht aus deinem Dokument eine Prüfseite und eröffnet eine Feedback-Runde. Er sammelt die Kommentare und prüft dann, ob noch Blocker offen sind, bevor die Arbeit abgeschlossen wird.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Human Gate
You are the part of the loop that refuses to let an agent mark its own homework.
Machine verification answers "do the checks pass?" — engineering/agent-harness does that.
This answers what no script can: has a person looked at this, and are their objections
resolved? Feedback becomes a machine-parseable artifact rather than a message — anchored,
severity-graded, countable — and a gate either passes or names what is still open.
Before starting, establish: which artifact (.md/.html), who the named reviewer is (a
person, not "the team" — G3 enforces it), whether the work is reversible, and whether a human
is available now. Read human-gate-context.md first if it exists.
The loop
S=engineering/human-gate/skills/human-gate/scripts
python3 $S/human_gate.py open plan.md --launch # build page, start round N → END YOUR TURN
python3 $S/human_gate.py status plan.md # non-blocking: 0 clear·2 blocked·3 collect·4 none
python3 $S/human_gate.py collect plan.md --output json # batch.v1 — apply every item
python3 $S/human_gate.py close plan.md # exit 2 = NOT done
human_gate.py --sample runs the whole loop, refusals included, in ~1s. It drives
review_page_builder.py (Markdown/HTML → single-file anchored page that makes no network
request of its own and sanitizes reviewed HTML — on*, javascript:, iframe dropped) and
feedback_parser.py (sidecar → batch.v1, quotes checked against raw and rendered text).
The sidecar
Feedback lands in <artifact>.review.md. The page exports it; anyone can also write it by hand
in any editor — which keeps this working over SSH and in CI. Worked example and JSON contract
are in assets/.
<!-- human-gate:v1 target=plan.md round=1 -->
reviewer: reza
## BLOCKER b2
> We expect a 40% lift in activation.
No source, and it drives the whole plan. Cite it or cut it.
Severities BLOCKER / MAJOR / MINOR / NIT (matching markdown-html/md-review, from Google's
code-review guidance), plus NOTE, APPROVE, and EDIT — a replacement the reviewer
already wrote, as - before: / + after: lines.
Gate rules
| Refuses to close when | |||
|---|---|---|---|
| G1 | no round collected | G4 | sidecar changed after the last collect |
| G2 | a BLOCKER or MAJOR is open | G5 | round cap exhausted → escalate, never pass |
| G3 | no named reviewer | G6 | waiver used without a recorded reason |
| G7 | the round carries unresolved integrity problems — a mistyped severity silently downgrades to NIT, so a real blocker can be lost to a typo |
Overrides must be explicit — close plan.md --waive "<reason>" — but G1 is never waivable:
a waiver accepts objections a reviewer raised; it cannot stand in for review happening.
Hard rules
- Never report done while
closeexits 2. Say what is open instead. - Never invent a reviewer name to satisfy G3. No reviewer is the finding.
- Never paraphrase an EDIT's
after— verbatim, or a human was silently overruled. Apply it to whatever generates the artifact too, or it dies on the next build. - Never block-poll for a human. Hand over the path and end the turn;
opendetects a headless host. Rounds are capped and exhaustion escalates. - Never auto-fetch and run unpinned code. The richer editor at
petergyang/human-reviewis opt-in, asked-first, and always pinned (npx -y human-review@0.6.0) — unpinnednpx -yruns whatever was published most recently. Itspollblocks and it rewrites HTML in place, so wrap both. It changes the editor, never the gate. Seeaudit/human-review-2026-08/. - Never treat the review page as source of truth. It is a viewing surface.
Forcing questions
One at a time when scope is fuzzy: Who, by name, signs off? · What would make them reject it outright? (name it before reading — Klein's pre-mortem) · Is this reversible? (if not, require explicit APPROVE, not merely no blockers) · The artifact or its generator? (both) · How many rounds is this worth? · Is a human available now? (if not, hand over and stop). Two consecutive NIT-only rounds means it is done — say so rather than opening a third.
Related skills
engineering/agent-harness — machine verification; this is the human lane it lacks.
markdown-html/md-review — renders a code review to HTML, one-way; use when the agent
reviews, human-gate when a person does.
Häufige Fragen
Wer muss es prüfen?
Es muss eine bestimmte Person als Prüfer benannt werden. Ein Teamname reicht nicht.
Was passiert, wenn ein Prüfer einen Einwand erhebt?
Das Tor bleibt geschlossen, bis jeder offene Blocker gelöst ist.
Braucht die Prüfseite Internetzugang?
Nein. Die Seite ist eine einzige Datei, die selbst keine Netzwerkanfragen stellt.
Details
Originalbeschreibung des Autors
Use before shipping anything that needs human sign-off (a plan, spec, report, page, migration or irreversible action). Builds a review page with review_page_builder.py and runs human_gate.py, which refuses to close with an open blocker or no named reviewer.
Beliebtheit
- GitHub-Sterne
- 29k
- Platz im Ranking
- #9562
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
agent-launcher-orchestrator
29kBegleitet dich Schritt für Schritt von einer klaren Idee zu einem lauffähigen Claude Managed Agent in deinem eigenen Konto, inklusive Tests und Zeitplan.
grade-iterate
29kLässt die Arbeit eines verwalteten KI-Agenten anhand eines Bewertungsrasters prüfen und in festen Runden verbessern, ohne endlose Schleifen.
interview
29kLässt deinen Agenten dich zu einer KI-Agenten-Idee befragen und deine Antworten in einen einfachen Bauplan verwandeln, bevor etwas gestartet wird.
run-without-you
29kRichtet einen verwalteten KI-Agenten für Zeitpläne oder Ereignisse ein und prüft vor dem Start die Cron-Zeiten, damit nichts schiefläuft.
Ähnliche Skills
knowledge-automation
394kHilft deinem Agenten, einen wiederkehrenden Auftrag einzurichten, der regelmäßig neue Inhalte in deinen Knowledge-Vault bringt, und danach zu prüfen, ob er läuft.
knowledge-source-ingest
394kHilft deinem Agenten, den Knowledge-Vault mit neuen Einträgen aus Chat-Kanälen, Feeds oder Postfächern aktuell zu halten, ohne bereits Vorhandenes erneut hinzuzufügen.
benchmark
280kHilft deinem Agenten, die Geschwindigkeit und Performance von Code zu messen. Nützlich, um Tempo sicherzustellen und Bremsen zu finden.