brain-ingest-gate
यह क्या करती है
यह स्किल साझा ज्ञान ब्रेन में सामग्री जोड़ने के लिए एक गुणवत्ता द्वार तय करती है। यह उन टीमों के लिए है जो कंपनी विकी या ब्रेन संभालती हैं और साफ़, डुप्लिकेट-मुक्त पेज चाहती हैं।
कब इस्तेमाल करें
- ✓जब आप दस्तावेज़ों का समूह ब्रेन में आयात कर रहे हों।
- ✓जब आप किसी व्यक्ति, कंपनी या प्रोजेक्ट पर नया पेज जोड़ना चाहें।
- ✓जब कोई एजेंट नई सामग्री लिखने वाला हो और आप पहले मौजूदा पेज जाँचना चाहें।
Skill का लिंक
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ingest-gate/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इन मीटिंग नोट्स को ब्रेन में जोड़ने से पहले जाँचिए कि इसी विषय का पेज पहले से है या नहीं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट पहले नामित इकाइयाँ खोजता है, फिर डुप्लिकेट जाँचता है, और तय करता है कि नया पेज लिखा जाए, मौजूदा से जोड़ा जाए या छोड़ा जाए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
यह द्वार क्या तय करता है?
यह तय करता है कि सामग्री लिखी जाए, मौजूदा पेज से जोड़ी जाए या छोड़ी जाए।
क्या यह फ़ाइलें सीधे कॉपी करती है?
नहीं। स्किल कहती है कि ब्रेन रिपॉज़िटरी में कच्ची कॉपी एक बग है, इसलिए सारी सामग्री द्वार से गुज़रनी चाहिए।
संवर्धन (enrichment) कौन संभालता है?
यह द्वार डुप्लिकेट जाँच संभालता है, और शिप की गई ingestion स्किल संवर्धन संभालती हैं।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 31k
- रैंकिंग में स्थान
- #9248
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
gbrain
31kयह आपके एजेंट को लोगों, प्रोजेक्ट और फ़ैसलों के बारे में तथ्य खोजने के लिए साझा कंपनी ज्ञान ब्रेन में खोजने और उसमें स्थायी नोट सहेजने देती है।
brain-link-discipline
31kयह सुनिश्चित करती है कि आपका एजेंट हर उस ब्रेन पेज का काम करने वाला लिंक उसी संदेश में दे, जिसकी वह रिपोर्ट करता है, ताकि आप उसे तुरंत खोल सकें।
brain-ops
31kयह आपके एजेंट को ज्ञान ब्रेन की मुख्य दिनचर्या देती है: पहले मौजूदा संदर्भ जाँचना, स्पष्ट नोट उनके स्रोत के साथ सहेजना, और संबंधित पेज जोड़ना।
concept-synthesis
31kबिखरे हुए बहुत सारे concept पेजों को स्तरों में बँटे, दोहराव-मुक्त विचारों के नक्शे में बदलती है, और दिखाती है कि हर विचार समय के साथ कैसे विकसित हुआ।
मिलती-जुलती skills
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
notcrawl
394kयह आपके एजेंट को Notion वर्कस्पेस की सेव की गई कॉपी में खोजने, पेज और डेटाबेस देखने और पेजों को Markdown फ़ाइलों में निर्यात करने देती है।
knowledge-entities
394kयह आपके एजेंट को लोगों, कंपनियों और प्रोजेक्ट्स की पहचान करने और आपके Knowledge vault में स्रोत-आधारित प्रोफ़ाइल पेज लिखने देती है।