Langsung ke konten
Skillpedia
Riset31k ยท #9248

brain-ingest-gate

Fungsinya

Skill ini menetapkan gerbang kualitas untuk menambahkan konten ke basis pengetahuan bersama. Ini untuk tim yang memelihara wiki atau basis perusahaan dan menginginkan halaman yang bersih dan tidak duplikat.

Kapan dipakai

  • โœ“Saat Anda mengimpor sekumpulan dokumen ke dalam basis pengetahuan.
  • โœ“Saat Anda ingin menambahkan halaman baru tentang seseorang, perusahaan, atau proyek.
  • โœ“Saat agent akan menulis konten baru dan Anda ingin memeriksa halaman yang sudah ada terlebih dahulu.

Link skill

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ingest-gate/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ingest-gate/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSebelum menambahkan catatan rapat ini ke basis pengetahuan, bisakah Anda memeriksa apakah topik yang sama sudah punya halaman?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mencari entitas bernama lebih dulu, lalu memeriksa duplikat, dan memutuskan apakah akan menulis halaman baru, menautkan ke yang sudah ada, atau melewatinya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.md owns 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:

  1. Named-Entity Resolution Gate โ€” is this about a named thing that already has a page under its chosen name?
  2. 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 sync skip 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 remember verb dedupes facts, not pages.

Semantic dedup and named-entity resolution are this skill's job, in full.

When This Gate Fires

  1. File migration โ€” moving files already in the workspace into the brain repo ("move this to brain").
  2. Bulk imports โ€” batch moves of any kind into brain directories, BEFORE gbrain sync or gbrain import indexes them. For batches, also read conventions/test-before-bulk.md: gate 3-5 items and inspect the decisions before running the rest.
  3. Manual writes โ€” gbrain put or gbrain capture of rich content, or direct file writes into the brain repo.
  4. 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

  1. 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 suggestions
    

    A card hit means the page exists โ€” STOP, link, don't cl

Pertanyaan umum

Apa yang diputuskan gerbang ini?

Gerbang ini memutuskan apakah konten sebaiknya ditulis, ditautkan ke halaman yang sudah ada, atau dilewati.

Apakah menyalin file langsung?

Tidak. Skill ini menyatakan salinan mentah ke dalam repositori basis pengetahuan adalah bug, sehingga semua konten harus melewati gerbang.

Siapa yang menangani pengayaan?

Gerbang mengelola pemeriksaan duplikat, dan skill ingesti yang disertakan menangani pengayaan.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
31k
Peringkat
#9248
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa