brain-ingest-gate
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…
Ingest a voice note with exact-phrasing preservation (never paraphrased). Routes content to originals/, concepts/, people/, companies/, ideas/, personal/, or voice-notes/ based on a decision tree. The user's exact words are the signal.
$ npx -y skills add garrytan/gbrain --skill voice-note-ingest --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/voice-note-ingestContext preview
The summary Claude sees to decide when to auto-load this skill.
Ingest a voice note with exact-phrasing preservation (never paraphrased). Routes content to originals/, concepts/, people/, companies/, ideas/, personal/, or voice-notes/ based on a decision tree. The user's exact words are the signal.
name: voice-note-ingest version: 0.1.0 description: Ingest a voice note with exact-phrasing preservation (never paraphrased). Routes content to originals/, concepts/, people/, companies/, ideas/, personal/, or voice-notes/ based on a decision tree. The user's exact words are the signal. triggers: - "voice note" - "ingest this voice memo" - "transcribe and file" - "voice note ingest" - "save this audio note" - "audio message" mutating: true writes_pages: true writes_to: - voice-notes/ - originals/ - concepts/ - people/ - companies/ - ideas/ - personal/
> **Convention:** see [conventions/quality.md](../conventions/quality.md) for > citation rules, back-link enforcement, and exact-phrasing requirements. > > **Convention:** see [_brain-filing-rules.md](../_brain-filing-rules.md) for > the filing decision protocol.
The user's **exact words** are the insight. Never paraphrase. Never clean up. The vivid, unpolished, stream-of-consciousness phrasing captures something that cleaned-up prose does not. Preserve it in block quotes. The Analysis section can interpret; the transcript section is sacred.
The user sends an audio or voice message via any channel (Telegram, voice memo upload, openclaw audio attachment). The host agent typically provides the transcript text. If not, transcribe it with your host's transcription tool (Groq Whisper is fast and cheap; OpenAI Whisper works too — segment audio > 25MB via ffmpeg first).
1. STORE → Upload original audio to gbrain storage backend
(S3 / Supabase Storage / local — pluggable per
src/core/storage.ts).
2. TRANSCRIBE → Use the agent-provided transcript verbatim, OR
transcribe the audio yourself (see "When to invoke")
if no transcript was supplied.
3. ROUTE → Apply the decision tree (below) to find the right
destination directory.
4. WRITE → Create / update the destination brain page; preserve the
verbatim transcript in a block-quoted "User's Words"
section.
5. CROSS-LINK → For every entity mentioned (person, company), add a
timeline back-link from THEIR brain page to THIS one
(Iron Law per conventions/quality.md).Apply in order. First match wins. If multiple categories apply, file to the primary directory and cross-link to the others.
1. **Original idea, observation, or thesis** — the user is expressing a novel thought, framework, or connection THEY generated. → `originals/<slug>.md`. Use the user's vivid language for the slug.
2. **About a world concept they encountered** — a framework or model someone else created that the user is referencing. → `concepts/<slug>.md`.
3. **About a specific person** — new information, opinion, or observation about someone. → Update `people/<person>.md` timeline.
4. **About a specific company** — new info about a company. → Update `companies/<company>.md` timeline.
5. **A product or business idea** — something that could be built. → `ideas/<slug>.md`.
6. **A personal reflection** — therapy-adjacent, emotional, identity. → Append to appropriate `personal/<slug>.md`.
7. **None of the above / random thought / doesn't fit cleanly** — → `voice-notes/YYYY-MM-DD-<slug>.md` (catch-all).
**Multiple categories?** Create the primary page, then cross-link to all others. If the voice note covers a person AND a novel idea, create the originals/ page AND update the person's timeline.
For ALL voice-note-derived pages, include this skeleton:
---
title: "[Title derived from content]"
type: [original | concept | voice-note | ...]
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [voice-note, relevant-tags]
sources:
voice-note:
type: voice_note
storage_path: "[gbrain storage URL or relative path]"
acquired: YYYY-MM-DD
acquired_via: "voice note from <channel>"
---
# Title
> Executive summary of what was said and why it matters.
## User's Words
> "Exact transcript, verbatim, preserving every word, hesitation, and verbal
> tic. This is the primary source material. Do not edit."
🔊 [Audio]([gbrain storage URL or relative path])
## Analysis
[What this means, why it matters, connections to other thinking. The
analysis is the agent's interpretation; the transcript above is sacred.]
## See Also
- [Related brain pages with relative links]
---
## Timeline
- **YYYY-MM-DD** | voice note from <channel> — [Brief description][Source: voice note, <channel>, YYYY-MM-DD]
Include timestamps when available:
[Source: voice note, <channel>, YYYY-MM-DD HH:MM PT]
`2026-04-13-rick-rubin-creative-philosophy.ogg`)
This skill handles ONE voice note at a time. Each is its own ingest cycle. No batching.
know"). The texture matters.
were mentioned. Iron Law fail.
brain page has a `🔊 [Audio]` link back to it.
text-channel idea capture
This skill guarantees:
-
Give the agent you already use a memory you control. GBrain stores explicit facts with their sources, supports corrections and withdrawal, and makes the same memory available across your agents.
Repo: garrytan/gbrain
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…
When 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…
Brain knowledge base operations. The core read/write cycle: brain-first lookup, read-enrich-write loop, source attribution, ambient enrichment, back-linking.…
Deduplicate and synthesize raw concept stubs into a tiered intellectual map (T1 Canon to T4 Riff), tracing idea evolution across sources over time. Transforms…
Token-hygiene audit of the always-loaded context stack — CLAUDE.md, AGENTS.md, auto-memory MEMORY.md, and the bootstrap-rendered identity files (SOUL.md,…
When 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…