gbrain
Skill này làm gì
Skill này kết nối agent AI với kho tri thức trung tâm của công ty thông qua công cụ dòng lệnh gbrain. Skill dành cho các đội lưu tài liệu nội bộ và quyết định trong một bộ nhớ dùng chung có thể tìm kiếm.
Khi nào nên dùng
- ✓Khi bạn đặt câu hỏi về con người, dự án, quyết định hoặc lịch sử của công ty.
- ✓Khi bạn muốn lưu một mẩu tri thức bền vững để agent và người khác tìm lại sau này.
- ✓Khi bạn cần thiết lập kho tri thức trên máy này trước khi dùng các lệnh của nó.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/docs/integrations/qm-harness-snippets/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
“Tìm trong kho tri thức của công ty quyết định chúng ta đã đưa ra về thay đổi giá năm ngoái.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng công cụ gbrain để tìm trong kho đã kết nối, và lưu ghi chú khi bạn yêu cầu, sau khi thiết lập bằng thông tin xác thực từ quản trị viên.
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.
gbrain — the company brain
This sandbox has the gbrain CLI connected (thin-client) to the org's central
brain. It is the deep, indexed, cross-source memory: org docs, shared channel
knowledge, and every agent's durable notes. Your scope's own notebook stays the
fast per-turn memory; the brain is where knowledge outlives a scope and becomes
searchable by everyone entitled to it.
First-run setup (once per sandbox — skip if gbrain remote doctor passes)
Your scope's brain credentials arrive via the deployment's secret handoff
(keychain entry or one-time secret drop named gbrain). Then:
gbrain init --mcp-only \
--issuer-url "https://brain.<org>.com" \
--mcp-url "https://brain.<org>.com/mcp" \
--oauth-client-id "<client id from the handoff>" \
--oauth-client-secret "<client secret from the handoff>"
gbrain whoami # must succeed before using any other command
Pass the secret with --oauth-client-secret, not via GBRAIN_REMOTE_CLIENT_SECRET:
an env-sourced secret is deliberately NOT written to ~/.gbrain/config.json, so
every later command would fail with "No client_secret available" once the
variable is out of scope. The flag persists it to the config file on this
sandbox's durable disk, which is what the tool's credential capture expects.
Do not run gbrain remote doctor — it needs admin scope, which your client
does not have (by design). gbrain whoami is the read-scope health check.
Reading (do this liberally)
gbrain search "who decided X and why" # hybrid semantic + keyword search
gbrain get <slug> # read one page
gbrain query "question" --json # search tuned for agent consumption
You can read: the shared agent-memory source, org read-only sources (wiki, handbook), and everything under them. Reads are isolation-enforced server-side; you only ever see sources your client is entitled to.
Writing (durable knowledge only, under YOUR prefixes)
Your client is write-fenced to slug prefixes — your own namespace plus the channels you belong to. Writes outside them are rejected server-side.
# personal durable memory (your namespace):
gbrain put emp-<your-slug>/people/jane-example --content "..."
# shared channel knowledge (channels you are in):
gbrain put chan-eng/decisions/2026-08-database-choice --content "..."
Conventions:
- Write conclusions and durable facts, not chat transcripts. One page per entity/decision/topic; update the page rather than appending near-duplicates.
- Markdown with YAML frontmatter; the brain chunks, embeds, and links it.
- Cross-reference liberally:
gbrain link <from> <to>(from must be in your namespace; linking TO any readable page is fine). - When you learn something channel-relevant in personal work, mirror the
conclusion into the channel prefix with a
(said in <where>)provenance note.
When to reach for the brain
- Any question about the org, a person, a project, a decision, or history →
gbrain searchFIRST, then answer. - You produced knowledge with value beyond this conversation →
gbrain put. - Something looks wrong (auth errors, empty results you don't expect) →
gbrain whoamito confirm which client and scopes you're using, and report its output.
Câu hỏi thường gặp
Thông tin xác thực lấy từ đâu?
Skill cho biết chúng được chuyển qua cơ chế bàn giao bí mật của triển khai, từ quản trị viên của bạn.
Nó có kiểm tra cài đặt máy chủ không?
Không. Skill cho biết client không có quyền quản trị, đây là thiết kế có chủ đích.
Có giống sổ ghi chú cá nhân không?
Không. Skill mô tả kho tri thức là bộ nhớ chung được lập chỉ mục, còn sổ ghi chú theo phạm vi là bộ nhớ cá nhân nhanh.
Chi tiết
Mô tả gốc của tác giả
Search and write the company knowledge brain. Use for any question about the org, people, projects, decisions, or history, and to persist durable knowledge beyond this scope's notebook.
repo: garrytan/gbrain
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9247
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
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.
brain-ops
31kCung cấp cho agent của bạn thói quen cốt lõi cho kho tri thức: kiểm tra ngữ cảnh có sẵn trước, lưu ghi chú rõ ràng kèm nguồn và liên kết các trang liên quan.
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.