ingest
できること
このスキルはルーターとして、会議、記事、メディア、文書、会話を受け取ります。それぞれを適切な専門スキルに渡し、名前を該当するページにリンクし続けます。
使う場面
- ✓ブレインに保存するために、会議の文字起こし、記事、文書をエージェントに渡すとき。
- ✓新しい内容に出てくる人物や会社を、そのページにリンクしたいとき。
- ✓ある内容にどの取り込みスキルが合うのか分からないとき。
スキルのリンク
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/ingest/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今日の会議の文字起こしです。ブレインに保存して、言及されたすべての人をリンクしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは内容の種類を判定し、対応するスキルに渡します。各事実は情報源と結びつけたまま保持し、言及された人物や会社はそれぞれのページにリンクします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Ingest Skill
Ingest meetings, articles, media, documents, and conversations into the brain.
Filing rule: Read
skills/_brain-filing-rules.mdbefore creating any new page.
Contract
- Every fact written to a brain page carries an inline
[Source: ...]citation with date and provenance. - Every entity mention creates a back-link from the entity's page to the page mentioning them (Iron Law).
- Raw sources are preserved for provenance via
gbrain files upload-rawwith automatic size routing. - State sections are rewritten with current best understanding, never appended to.
- After the user's explicit automatic-capture opt-in (see
skills/signal-detector/SKILL.md), entity detection fires on every substantive inbound message; notable entities get pages or updates. Without that opt-in, capture only what the user asks to save. - Notability gate before any new entity page: existing pages are updated, and a NEW page is created only for a notable entity and only with meaningful content from web search or existing brain context — no stubs. A non-notable mention stays an inline reference on the page that mentions it.
Convention: See
skills/conventions/quality.mdfor Iron Law back-linking.
Every mention of a person or company with a brain page MUST create a back-link
FROM that entity's page TO the page mentioning them. An unlinked mention is a
broken brain. See skills/_brain-filing-rules.md for format.
Citation Requirements (MANDATORY)
Every fact written to a brain page must carry an inline [Source: ...] citation.
- User's statements:
[Source: User, {context}, YYYY-MM-DD] - Meeting data:
[Source: Meeting "{title}", YYYY-MM-DD] - Email/message:
[Source: email from {name} re: {subject}, YYYY-MM-DD] - Web content:
[Source: {publication}, {URL}, YYYY-MM-DD] - Social media:
[Source: X/@handle, YYYY-MM-DD](URL)(include link) - Synthesis:
[Source: compiled from {sources}]
Phases
Router note: This skill is a router. For specialized ingestion, see: idea-ingest, media-ingest, meeting-ingestion.
- Parse the source. Extract people, companies, dates, and events from the input.
- For each entity mentioned:
- Read the entity's page from gbrain to check if it exists
- If exists: update compiled_truth (rewrite State section with new info, don't append)
- If new: check notability gate, then store the page in gbrain with the appropriate type and slug
- Append to timeline. Add a timeline entry in gbrain for each event, with date, summary, and source citation.
- Create cross-reference links. Link entities in gbrain for every entity pair mentioned together, using the appropriate relationship type.
- Back-link all entities. Update EVERY mentioned entity's page with a back-link to this page (Iron Law).
- Timeline merge. The same event appears on ALL mentioned entities' timelines. If Alice met Bob at Acme Corp, the event goes on Alice's page, Bob's page, and Acme Corp's page.
Entity Detection on Every Message (after opt-in)
Automatic capture is off by default. Once the user has explicitly opted in to
automatic capture for this brain (the stored choice skills/signal-detector/SKILL.md
checks before writing), production agents detect entity mentions on every
substantive inbound message. This is the signal detection loop that makes the
brain compound over time. Without the opt-in, write only what the user asks to save.
Protocol
- Scan the message for entity mentions: people, companies, concepts, original thinking. With the opt-in recorded, fire on every substantive message (skip purely operational ones and honor narrower per-message instructions).
- For each entity detected:
gbrain search "name"-- does a page already exist?- If yes: load context with
gbrain get <slug>. Use the compiled truth to inform your response. Update the page if the message contains new information. - If no: assess notability (see
skills/_brain-filing-rules.md). If the entity is worth tracking, create a new page withgbrain put <type/slug>and populate with what you know.
- After creating or updating pages: sync to gbrain:
gbrain sync --no-pull --no-embed - Don't block the conversation. Entity detection and enrichment should happen alongside the response, not before it. The user shouldn't wait for brain writes to get an answer.
What counts as n
よくある質問
見かけた名前すべてにページを作りますか?
いいえ。注目すべき人物や会社にのみ新しいページを作り、それ以外の言及は単なる参照として残します。
元のファイルは残りますか?
はい。生の情報源が保存されるため、各事実の出所を確認できます。
メッセージを自動で取り込みますか?
自動取り込みを有効にした後に限ります。その設定をしていなければ、保存を頼まれたものだけを保存します。
詳細
作者による元の説明
Route content to specialized ingestion skills. Detects input type and delegates.
repo: garrytan/gbrain
人気
- GitHubのスター
- 31k
- ランキング
- #9260
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
gbrain
31kエージェントが、共有の社内ナレッジブレインで人、プロジェクト、決定事項についての事実を検索し、永続的なメモを保存できるようにします。
brain-ingest-gate
31k重複を避け、名前付きのエンティティを先に解決するため、新しい内容をナレッジブレインに追加する前に、既存のブレインと照合するようエージェントを支援します。
brain-link-discipline
31kエージェントが報告する各ブレインのページについて、同じメッセージの中で動くリンクを必ず含め、すぐに開けるようにします。
brain-ops
31kナレッジブレインの基本的な手順をエージェントに与えます。まず既存の文脈を確認し、出典つきで明示的なメモを保存し、関連するページをリンクします。