本文へスキップ
Skillpedia
リサーチ31k · #9248

brain-ingest-gate

できること

このスキルは、共有のナレッジブレインに内容を追加するための品質の関門を設けます。社内のwikiやブレインを管理し、重複のないきれいなページを保ちたいチーム向けです。

使う場面

  • ✓文書のまとまりをブレインに取り込んでいるとき。
  • ✓人、会社、プロジェクトについての新しいページを追加したいとき。
  • ✓エージェントが新しい内容を書こうとしており、先に既存のページがないか確認したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ingest-gate/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この会議のメモをブレインに追加する前に、同じテーマのページがすでにあるか確認してもらえますか?”

毎週5つの新しいスキル。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.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

よくある質問

この関門は何を決めますか?

内容を書くべきか、既存のページにリンクすべきか、飛ばすべきかを決めます。

ファイルをそのままコピーしますか?

いいえ。ブレインのリポジトリへの生のコピーはバグであり、すべての内容は関門を通るべきだとこのスキルは説明しています。

情報の補強は誰が行いますか?

関門は重複の確認を担当し、情報の補強は同梱の取り込みスキルが行います。

詳細

作者による元の説明

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
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル