brain-ingest-gate
Was er macht
Dieser Skill setzt ein Qualitätstor für das Hinzufügen von Inhalten zu einem gemeinsamen Wissens-Gehirn. Er richtet sich an Teams, die ein Firmen-Wiki oder Gehirn pflegen und saubere Seiten ohne Dubletten wollen.
Wann du ihn nutzt
- ✓Wenn du einen Stapel Dokumente in das Gehirn importierst.
- ✓Wenn du eine neue Seite über eine Person, ein Unternehmen oder ein Projekt hinzufügen willst.
- ✓Wenn ein Agent neue Inhalte schreiben will und du vorher prüfen willst, ob schon eine Seite existiert.
Link zum Skill
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ingest-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
“Kannst du prüfen, ob es zu diesem Thema schon eine Seite gibt, bevor ich diese Besprechungsnotizen ins Gehirn aufnehme?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent sucht zuerst nach benannten Entitäten, prüft dann auf Dubletten und entscheidet, ob er eine neue Seite schreibt, auf eine bestehende verlinkt oder überspringt.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Brain Ingest Gate — Resolve and Dedup Before Anything Enters the Brain
Convention: see conventions/brain-first.md — the lookup chain (
gbrain entity→search→query→get) is the same chain this gate runs before every write.Convention: see _brain-filing-rules.md — when the gate's verdict is "write", the primary subject picks the directory.
Convention:
skills/conventions/quality.mdowns the cross-cutting page rules (citations, Iron Law back-linking, notability) — every page the gate lets through follows them. Gate-specific delta: the gate only decides write/link/skip; the admitting skill applies the quality rules on write.
The Rule
No content enters the brain without passing this gate. A raw cp or mv
into the brain repo is a bug.
One insight, one place. If it already exists, link to it — don't clone it.
Before any new page is written (file migration, bulk import, manual
gbrain put, subagent output), two checks run in order:
- Named-Entity Resolution Gate — is this about a named thing that already has a page under its chosen name?
- Dedup Gate — does the brain already state this insight somewhere?
Scope honesty: this gate is a routing convention — the harness resolves it into context when an ingest-shaped intent matches, and a well-behaved agent follows it. Nothing in the gbrain runtime mechanically blocks an unenriched or duplicate write if the skill never loads.
Why gbrain needs this gate
The native pipeline does NOT do semantic dedup for you:
gbrain import/gbrain syncskip only matching frontmatter IDs. Identical content under a different slug or ID indexes twice — every duplicate becomes a second search hit competing with the canonical page.gbrain capture's dedup is a 24-hour exact content-hash — it catches re-captures of identical bytes, not the same insight reworded.- The
rememberverb dedupes facts, not pages.
Semantic dedup and named-entity resolution are this skill's job, in full.
When This Gate Fires
- File migration — moving files already in the workspace into the brain repo ("move this to brain").
- Bulk imports — batch moves of any kind into brain directories, BEFORE
gbrain syncorgbrain importindexes them. For batches, also read conventions/test-before-bulk.md: gate 3-5 items and inspect the decisions before running the rest. - Manual writes —
gbrain putorgbrain captureof rich content, or direct file writes into the brain repo. - Subagent output — background agents writing notes or pages into the brain.
What This Gate Owns vs Delegates
This skill is a gate, not a pipeline. It owns the pre-write checks below. Everything downstream of a "write" verdict is delegated to shipped skills — do not restate their steps here or inline:
| Concern | Delegate to |
|---|---|
| Routing new external content (meetings, articles, media) | ingest |
| Entity detection + notability on inbound content | signal-detector |
| Creating/updating person + company pages, tiered effort, backlinks | enrich |
| Concept pages, tiering, cluster synthesis | concept-synthesis |
| Back-link enforcement (Iron Law) | conventions/quality.md |
| Which directory the page lands in | _brain-filing-rules.md |
Named-Entity Resolution Gate (runs FIRST)
Fires whenever the content is about a NAMED project, place, company, person, or anything someone "wants to build / found / make."
Vector similarity alone cannot be trusted to catch named-entity dupes: a page stored under its chosen NAME will not embed close to the generic English phrase someone happens to describe it with. The classic failure: a search for a descriptive phrase scores the canonical named page below the prose floor, so a duplicate stub gets written on top of a years-old page. Stored by named meaning; retrieval attempted by literal generic phrase.
The rules
Resolve registry-first, not by the generic phrase. gbrain's native registry is the entity surface:
gbrain entity "<name>" # zero-LLM card: page, aka list, near-miss suggestionsA card hit means the page exists — STOP, link, don't cl
Häufige Fragen
Was entscheidet das Tor?
Es entscheidet, ob Inhalte geschrieben, mit einer bestehenden Seite verknüpft oder übersprungen werden.
Kopiert es Dateien direkt?
Nein. Laut Skill ist ein direktes Kopieren ins Gehirn-Repository ein Fehler, daher muss jeder Inhalt das Tor passieren.
Wer übernimmt die Anreicherung?
Das Tor kümmert sich um Dublettenprüfungen, die mitgelieferten Ingest-Skills übernehmen die Anreicherung.
Details
Originalbeschreibung des Autors
Pre-write quality gate for content entering the brain. No raw copies: a bare cp/mv into the brain repo is a bug. Before any new page lands, resolve named entities registry-first (a vector score is a floor for prose, never a gate for named things), then run the read-the-top-hit dedup decision tree (clear-dup / plausible-dup / clear). Owns dedup; delegates enrichment to the shipped ingestion skills. Routing convention, not an operation-boundary enforcement.
repo: garrytan/gbrain
Beliebtheit
- GitHub-Sterne
- 31k
- Platz im Ranking
- #9248
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
gbrain
31kLässt deinen Agenten in einem gemeinsamen Firmenwissens-Gehirn nach Fakten zu Personen, Projekten und Entscheidungen suchen und dauerhafte Notizen darin speichern.
brain-link-discipline
31kSorgt dafür, dass dein Agent jede Gehirn-Seite, über die er berichtet, im selben Beitrag mit einem funktionierenden Link versieht, damit du sie sofort öffnen kannst.
brain-ops
31kGibt deinem Agenten die Grundroutine für ein Wissens-Gehirn: zuerst vorhandenen Kontext prüfen, ausdrückliche Notizen mit Quelle speichern und verwandte Seiten verlinken.
concept-synthesis
31kMacht aus einer großen Menge verstreuter Konzeptseiten eine gestaffelte, bereinigte Landkarte von Ideen und zeigt, wie sich jede Idee im Lauf der Zeit entwickelt hat.
Ähnliche Skills
graincrawl
394kLässt deinen Agenten gespeicherte Granola-Besprechungsnotizen und Transkripte durchsuchen, deren Aktualität prüfen und sie über einen Zeitraum zählen.
notcrawl
394kLässt deinen Agenten eine gespeicherte Kopie deines Notion-Workspace durchsuchen, Seiten und Datenbanken nachschlagen und Seiten als Markdown-Dateien exportieren.
knowledge-entities
394kHilft deinem Agenten, Personen, Firmen und Projekte zu erkennen und dafür belegte Profilseiten in deinem Knowledge-Vault zu schreiben.