Skip to content
Data
Skill

/ingest

Route content to specialized ingestion skills. Detects input type and delegates.

From plugin
gbrain
28k57 skills
Install
$ npx -y skills add garrytan/gbrain --skill ingest --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ingest

Context preview

The summary Claude sees to decide when to auto-load this skill.

Route content to specialized ingestion skills. Detects input type and delegates.

SKILL.md

ingest.SKILL.md
name: ingest
description: Route content to specialized ingestion skills. Detects input type and delegates.
triggers:
  - "ingest this"
  - "save this to brain"
  - "process this meeting"
tools:
  - search
  - get_page
  - put_page
  - add_link
  - add_timeline_entry
  - sync_brain
mutating: true
writes_pages: true
writes_to:
  - people/
  - companies/
  - concepts/
  - meetings/
  - sources/

Ingest Skill

Ingest meetings, articles, media, documents, and conversations into the brain.

> **Filing rule:** Read `skills/_brain-filing-rules.md` before 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-raw` with automatic size routing.
  • State sections are rewritten with current best understanding, never appended to.
  • Entity detection fires on every inbound message; notable entities get pages or updates.

> **Convention:** See `skills/conventions/quality.md` for 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.

1. **Parse the source.** Extract people, companies, dates, and events from the input. 2. **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

3. **Append to timeline.** Add a timeline entry in gbrain for each event, with date, summary, and source citation. 4. **Create cross-reference links.** Link entities in gbrain for every entity pair mentioned together, using the appropriate relationship type. 5. **Back-link all entities.** Update EVERY mentioned entity's page with a back-link to this page (Iron Law). 6. **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

Production agents should detect entity mentions on EVERY inbound message. This is the signal detection loop that makes the brain compound over time.

Protocol

1. **Scan the message** for entity mentions: people, companies, concepts, original thinking. Fire on every message (no exceptions unless purely operational). 2. **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 with `gbrain put <type/slug>` and populate with what you know. 3. **After creating or updating pages:** sync to gbrain:

   gbrain sync --no-pull --no-embed

4. **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 notable

  • People the user interacts with or discusses (not random mentions)
  • Companies relevant to the user's work or interests
  • Concepts or frameworks the user references or creates
  • The user's own original thinking (ideas, theses, observations) -- highest value
  • See `skills/_brain-filing-rules.md` for the full notability gate

What to capture from the user's own thinking

Original thinking is the most valuable signal. Capture exact phrasing -- the user's language IS the insight. Don't paraphrase.

  • Novel observations or theses
  • Frameworks, mental models, heuristics
  • Connections between ideas that others miss
  • Contrarian positions with reasoning
  • Strong reactions to external stimuli (what triggered it and why)

Media Workflows

Content the user encounters should be captured in the brain. File by PRIMARY SUBJECT, not by format (see `skills/_brain-filing-rules.md`).

Articles & Web Content

**Input:** URL shared by user, or article mentioned in conversation.

**Process:** 1. Fetch content (`web_fetch` or equivalent) 2. Extract: title, author, publication, date, full text 3. Summarize: executive summary + key arguments (not a rehash) 4. Extract entities: people, companies, concepts mentioned 5. **Save raw source** for provenance (see Raw Source Preservation below) 6. Analyze for the user: don't just summarize. What's interesting given what you know about them? Flag connections, contradictions, content opportunities.

**Write to:** appropriate directory per filing rules (about a person -> `people/`, about a company -> `companies/`, reusable framework -> `concepts/`, raw data -> `sources/`)

Videos & Podcasts

**Input:** URL (YouTube, podcast, etc.) or local audio/video file.

**Process:** 1. Get transcript -- speaker-diarized if possible (services like Diarize.io provide speaker-labeled, word-level timing) 2. **Save raw transcript** (both JS

Read more
Ships withgbrain

Search gives you raw pages. GBrain gives you the answer. It's the brain layer your AI agent has been missing — the only one that does synthesis, graph traversal, and gap analysis in one box.

Get the whole plugin

Other skills on gbrain.