brain-ops
Skill này làm gì
Skill này hướng dẫn agent AI đọc từ và ghi vào một kho tri thức dùng chung. Skill dành cho các đội dùng agent như một lớp bộ nhớ trên tài liệu và ghi chú của họ.
Khi nào nên dùng
- ✓Khi bạn hỏi agent một câu mà kho tri thức có thể đã trả lời.
- ✓Khi bạn yêu cầu rõ ràng agent lưu một sự kiện vào kho tri thức kèm nguồn của nó.
- ✓Khi một trang mới nên được liên kết ngược lại các trang nhắc đến nó.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/brain-ops/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy ghi nhớ rằng đợt ra mắt Q3 của chúng ta đã chuyển sang ngày 12 tháng 9, và ghi nguồn là cuộc họp lập kế hoạch.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gợi nhớ ngữ cảnh trước, lưu sự kiện kèm nguồn gốc, và thêm liên kết ngược để các trang liên quan được kết nối.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill có tự động lưu mọi thứ không?
Không. Skill cho biết việc tự động ghi nhận tắt cho đến khi bạn chọn bật, và các yêu cầu rõ ràng được lưu kèm nguồn.
Nguồn gốc là gì?
Đó là bản ghi về nơi một sự kiện xuất phát, và skill yêu cầu có bản ghi này khi lưu ghi chú.
Skill dùng những lệnh bộ nhớ nào?
Skill nhắc đến các lệnh như remember, recall, entity, synthesize và forget khi chúng có sẵn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9250
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
gbrain
31kCho phép agent của bạn tìm trong kho tri thức dùng chung của công ty các thông tin về con người, dự án và quyết định, và lưu ghi chú bền vững vào đó.
brain-ingest-gate
31kKiểm tra nội dung mới với kho tri thức hiện có trước khi thêm vào, để tránh trùng lặp và xác định các thực thể được nêu tên trước.
brain-link-discipline
31kĐảm bảo agent của bạn kèm một liên kết hoạt động đến mỗi trang kho tri thức mà nó báo cáo, trong cùng một tin nhắn, để bạn mở được ngay.
concept-synthesis
31kBiến nhiều trang khái niệm rời rạc thành bản đồ ý tưởng có phân tầng, đã loại trùng lặp, cho thấy mỗi ý tưởng đã phát triển ra sao theo thời gian.
Skill tương tự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.