brain
Installation
SKILL.md
Brain Template
Use Brain actions rather than raw SQL.
- Call
get-brain-settingsbefore answering, searching broadly, or distilling when current settings are not already in context. Apply the returned guidance for assistant name, company name, tone, source policy, citation requirements, publish tier, redaction, and distillation instructions. - Import raw material with
import-capture(generic) orimport-transcript(meeting-shaped: participants,sourceUrl, tags). Both defaultenqueueDistillation: trueand auto-create amanualsource whensourceIdis omitted — don't callcreate-sourcefirst just to import one ad hoc capture. - Call
enqueue-distillationwhen a capture needs distillation. Re-running it for a capture that's already queued/processing refreshes the handoff instructions instead of creating a duplicate queue row. - Before writing knowledge, call
get-captureand copy short exact quotes.get-captureredactstitle/content/metadataby default; passincludeRawContent: true(requireseditoraccess on the source) to get the real text needed for an exact-substring quote. - Call
write-knowledgewithevidenceentries whosequotefields are exact capture substrings —validateEvidencethrows otherwise. - If
write-knowledgereturnsmode: "proposal", leave it in review unless the user asks to approve. See AGENTS.md for the exact tier/confidence conditions that trigger a proposal.