/gbrain-coding:ingestfrom gbrain-coding
Routes content to specialized ingestion skills. Detects input type (meetings, articles, media, documents, conversations) and delegates to the appropriate sub-skill for saving to a knowledge brain.
Ships in gbrain-coding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ingest meetings, articles, media, documents, and conversations into the brain.
Filing rule: Read
skills/_brain-filing-rules.mdbefore creating any new page.
[Source: ...] citation with date and provenance.gbrain files upload-raw with automatic size routing.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.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.
Every fact written to a brain page must carry an inline [Source: ...] citation.
[Source: User, {context}, YYYY-MM-DD][Source: Meeting "{title}", YYYY-MM-DD][Source: email from {name} re: {subject}, YYYY-MM-DD][Source: {publication}, {URL}, YYYY-MM-DD][Source: X/@handle, YYYY-MM-DD](URL) (include link)[Source: compiled from {sources}]Router note: This skill is a router. For specialized ingestion, see: idea-ingest, media-ingest, meeting-ingestion.
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.
gbrain search "name" -- does a page already exist?gbrain get <slug>. Use the compiled truth to
inform your response. Update the page if the message contains new information.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.gbrain sync --no-pull --no-embed
skills/_brain-filing-rules.md for the full notability gateOriginal thinking is the most valuable signal. Capture exact phrasing -- the user's language IS the insight. Don't paraphrase.
Content the user encounters should be captured in the brain. File by PRIMARY
SUBJECT, not by format (see skills/_brain-filing-rules.md).
Input: URL shared by user, or article mentioned in conversation.
Process:
web_fetch or equivalent)Write to: appropriate directory per filing rules (about a person -> people/,
about a company -> companies/, reusable framework -> concepts/, raw data -> sources/)
Input: URL (YouTube, podcast, etc.) or local audio/video file.
Process:
Write to: media/videos/ or media/podcasts/ with back-links to all entities.
Quality bar:
Input: File path or URL.
Process:
Write to: per filing rules (file by primary subject, not format).
Input: Image file.
Process:
Write to: depends on content -- route to the appropriate workflow above.
Input: Transcript from meeting recording service, or manual notes.
Process:
Write to: meetings/YYYY-MM-DD-short-description.md
What makes a good meeting page:
Input: Tweet, thread, or social media post.
Process:
Write to: media/x/ for daily aggregation, or entity-specific directories
if the post is primarily about a person/company.
Every ingested item must have its raw source preserved for provenance.
Use gbrain files upload-raw for automatic size routing:
gbrain files upload-raw <file> --page <page-slug> --type <type>
.raw/ sidecar directories).redirect.yaml pointer left in the brain repoThe .redirect.yaml pointer format:
target: supabase://brain-files/page-slug/filename.mp4
bucket: brain-files
storage_path: page-slug/filename.mp4
size: 524288000
size_human: 500 MB
hash: sha256:abc123...
mime: video/mp4
uploaded: 2026-04-11T...
type: transcript
Accessing stored files:
gbrain files signed-url <storage-path> -- generate 1-hour signed URL for viewing/sharinggbrain files restore <dir> -- download back to local from cloud storageUse put_raw_data in gbrain to store raw API responses and metadata (JSON, not binary).
When processing multiple items (batch video ingestion, bulk meeting processing, etc.):
The marginal cost of testing 3 items first is near zero. The cost of cleaning up 100 bad pages is enormous.
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
put_page returns write_pending (exit 10) or revision_conflict: poll gbrain write-request <request_id>, or re-read and merge; never write a duplicate page.gbrain files upload-raw is refused for size or path: store a pointer and tell the user the raw file was not uploaded.INGESTED: [title]
==================
Page: [slug]
Type: [person / company / meeting / media / concept]
Source: [source description]
Entities detected: N
- [entity] -> [created / updated] ([slug])
Back-links created: N
Timeline entries: N
Raw source: [preserved at path / uploaded to cloud]
What SKILL.md sets; muted values are Claude Code's defaults
Use when the user asks: "ingest this", "save this to brain", "process this meeting".
Three short reads, in order
npx claudepluginhub garrytan/gbrain --plugin gbrain-coding21 skills in this plugin
/brain-ingest-gatePre-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.
/brain-link-disciplineWhen you report a brain page to the user — created, edited, committed, or
relayed from a subagent — a working link is part of the deliverable, in the
SAME message. Derive the path mechanically (git ls-files --full-name), push
BEFORE linking, verify the link resolves when a hosted remote exists, and
degrade through a defined fallback chain when it doesn't. Inside brain
pages the rule inverts: relative links preserve the link graph; absolute
URLs are for chat deliverables only.
/brain-opsBrain knowledge base operations. The core read/write cycle: brain-first lookup,
read-enrich-write loop, source attribution, ambient enrichment, back-linking.
Read this before any brain interaction.
/concept-synthesisDeduplicate and synthesize raw concept stubs into a tiered intellectual map (T1 Canon to T4 Riff), tracing idea evolution across sources over time. Transforms thousands of raw concept pages into a curated intellectual fingerprint. Includes a reversible curation cull pass (Phase 5) with hard keep/delete/merge verdicts, substance gates, grounding labels, cluster budgets, and merge-with-backlinks salience promotion./context-auditToken-hygiene audit of the always-loaded context stack — CLAUDE.md,
AGENTS.md, auto-memory MEMORY.md, and the bootstrap-rendered identity files
(SOUL.md, USER.md, ACCESS_POLICY.md, HEARTBEAT.md) or their harness
equivalents. Finds redundancy, contradictions, stale content, compression
candidates, and skill-extraction candidates; produces a ranked action list
sorted by token savings with a risk class per finding. REPORT-ONLY: this
skill never edits any audited file. Recommendations for bootstrap-rendered
files target the interview answer bank / templates, never the rendered
output. Judging routes through `gbrain eval cross-modal` (single cheap
model by default; full multi-model panel is explicit opt-in).
/correction-pipelineWhen the user corrects a factual error, root-cause it immediately.
Don't just note the correction — trace the error to its source,
fix the source, and prevent recurrence. Every factual error is
either a data error (bad brain page, bad memory file, bad rendered
SOUL/USER identity, bad facts row) or a hallucination (LLM
confabulated from partial signals).
7 plugins in 3 repositories ship this exact skill · first indexed Oct 9, 2026
Other plugins' skills for the same job