brain-ops
Что он делает
Этот скилл ведёт ИИ-агента через чтение из общей базы знаний и запись в неё. Он нужен командам, которые используют агента как слой памяти поверх своих документов и заметок.
Когда использовать
- ✓Когда вы задаёте агенту вопрос, на который база, возможно, уже дала ответ.
- ✓Когда вы явно просите агента сохранить факт в базе вместе с источником.
- ✓Когда новая страница должна быть связана обратными ссылками со страницами, которые её упоминают.
Ссылка на скилл
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ops/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Запомни, что запуск в третьем квартале перенесли на 12 сентября, и укажи источником встречу по планированию.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент сначала вспоминает контекст, сохраняет факт вместе с его происхождением и добавляет обратные ссылки, чтобы связанные страницы были соединены.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Brain Operations — The Ambient Context Layer
Recall relevant context before responding. Save explicit requests with provenance; automatic capture is off until the user opts in. Reading this skill does not enable capture, delegation, or paid enrichment. A chat-only instruction suppresses writes for that turn, including when standing capture is enabled.
Convention: See
skills/conventions/brain-first.mdfor the lookup chain and copyable retrieval filters. Convention: Seeskills/conventions/quality.mdfor citation and back-link rules.
Memory verbs (MEMORY_VERBS v1, gbrain ≥ 0.43). Over MCP, prefer the five core memory verbs for the read/write cycle:
remember(fact, provenance, ttl?)to save a single durable fact (mandatory provenance; dedupes + supersedes),recall(query | entity, budget_tokens)to read it back budget-packed,entity(name)for a zero-LLM card,synthesize(question)for the expensive cross-page answer,forget(id)to withdraw active memory (history, source material, and backups may remain).context_packanddeltacomplete the seven-verb surface. Userememberinstead ofextract_factswhen you already have ONE formed fact;put_page/add_link/add_timeline_entrystay the page/graph write path. Fall back to the classic ops when the verbs aren't on the surface. Contract:docs/protocol/MEMORY_VERBS_v1.md.Tight-budget page questions: explicitly use
recall({query: "zebra telescope", budget_tokens: 75, budget_policy: "query_first"})so ranked page evidence packs before recent facts. CLI:gbrain recall --query 'zebra telescope' --budget-tokens 75 --budget-policy query_first --json. Keep entity-first, event/session-filtered and fact-focused questions on their existing facts-first route; do not changecontext_pack. Costs are character-based estimates, and an oversized first item is dropped without skipping or truncation. Readbudget_packingbefore interpreting an empty result as missing memory. Seeskills/query/SKILL.mdfor the MCP request and caller example. Guidance is not native-harness activation: adoption remains unverified until a fresh conversation is observed making the opted-in call.Choose a readback path that can see the intended visibility. Trusted local CLI callers can recall and withdraw private facts. Every MCP caller, including stdio, and a thin CLI connected to MCP currently have world-only fact recall and withdrawal. A request to remember does not authorize making real private information world-visible. Use a trusted local write/readback path for private memory when available. If only remote access is available, a successful private write receipt confirms storage, but private recall remains unverified; explain that limit and the trusted local path needed for private readback or withdrawal. Do not widen visibility or request broader OAuth scopes merely to make verification pass. For an MCP connection test, use only a harmless synthetic
visibility: "world"fixture with the user's test authorization, retain its ID, and withdraw it afterward.
<REDACTED:pattern>in a result (for example<REDACTED:url_credentials>or<REDACTED:high_entropy_assignment>) means the brain holds a credential-shaped value there and withheld it from this response; the stored page is unchanged. Tell the user which kind of value was withheld and that it is readable on the brain host. Do not retry other operations to recover it, and do not echo a guess. A credential the user asked you torememberis withheld from remote recall by design: every MCP caller, including stdio, and a thin CLI connected to MCP is remote, so onlygbrain recallrun on the brain host shows it as written. Docs:docs/guides/write-refusals.md#secret-scan-refusals-and-redaction.Keyless brains: when
extract_factsreturnsskipped: extraction_unavailable, YOU are the extractor — pull the facts from the turn yourself and write each one viarememberwithkindset (event | preference | commitment | belief | fact — those five are the frozen protocol enum; theideakind the extractor and DB carry is NOT one of them) and the visibility the envelope'sagent_actionnames (default private — pin it;rememberdefaults to world), or author a## Factsfence on the entity page. Askipped: extraction_failedenvelope (server-side extractor
Частые вопросы
Он всё сохраняет автоматически?
Нет. В скилле сказано, что автоматический захват выключен, пока вы не согласитесь, а явные просьбы сохраняются с указанием источника.
Что такое происхождение?
Это запись о том, откуда взят факт, которую скилл требует при сохранении заметки.
Какие команды памяти он использует?
Он упоминает команды, такие как remember, recall, entity, synthesize и forget, когда они доступны.
Подробности
Оригинальное описание автора
Brain 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.
repo: garrytan/gbrain
Популярность
- Звёзды на GitHub
- 31k
- Место в рейтинге
- #9250
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
gbrain
31kПозволяет агенту искать в общей базе знаний компании факты о людях, проектах и решениях и сохранять в ней долговременные заметки.
brain-ingest-gate
31kПроверяет новое содержимое по существующей базе знаний до добавления, чтобы избежать дубликатов и сначала разрешить именованные сущности.
brain-link-discipline
31kСледит, чтобы агент в том же сообщении приложил рабочую ссылку на каждую страницу базы знаний, о которой он сообщает, чтобы вы сразу могли её открыть.
concept-synthesis
31kПревращает большой набор разрозненных страниц с понятиями в ранжированную карту идей без дубликатов, показывая, как каждая идея менялась со временем.
Похожие скиллы
graincrawl
394kПозволяет агенту искать в сохраненных заметках и расшифровках встреч Granola, проверять их свежесть и считать за период.
notcrawl
394kПозволяет агенту искать в сохраненной копии рабочего пространства Notion, находить страницы и базы данных и экспортировать страницы в файлы Markdown.
knowledge-entities
394kПомогает агенту определять людей, компании и проекты, а затем писать для них профили с источниками в вашем хранилище Knowledge.