brain-taxonomist
Skill này làm gì
Skill này kiểm tra xem một trang mới nên nằm ở đâu trước khi nó được tạo. Nó làm theo các quy tắc phân loại bạn đã thiết lập, nên các trang được sắp xếp gọn gàng ngay từ đầu.
Khi nào nên dùng
- ✓Khi agent của bạn sắp tạo một trang mới trong brain.
- ✓Khi một ghi chú mới có thể thuộc nhiều thư mục và bạn muốn có câu trả lời rõ ràng.
- ✓Khi bạn muốn kiểm tra xem các trang cũ có bị lệch khỏi đúng thư mục hay không.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin/skills/brain-taxonomist/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
“Trước khi tạo trang cho khách hàng mới của tôi, hãy cho tôi biết nó thuộc thư mục nào.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc các quy tắc phân loại đang hoạt động của bạn và ghép nội dung với đúng loại trang. Cùng một nội dung luôn cho cùng một kết quả, còn các trường hợp chưa rõ sẽ được gửi lại cho bạn quyết định.
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-taxonomist
Purpose
Gate function: Before creating ANY new brain page, consult this skill to determine the correct filing path. This prevents misfiling at write time rather than cleaning up drift after the fact.
Drift function: Periodic scan for pages that have outgrown their current location.
Contract
This skill guarantees:
- Every new page is filed at the path determined by the ACTIVE schema pack — never against a hardcoded directory table baked into this skill.
- The decision is reproducible: invoking brain-taxonomist twice on the same content produces the same recommended path.
- Ambiguous cases surface to the user via
skills/ask-user/rather than silently picking a default. - Per-source overrides via
--source <id>are honored — multi-brain users (Persona B) get a different recommendation per source if their packs diverge. - When no matching
page_types[]entry exists in the active pack, the skill signals to EIIRP Phase 3 (SCHEMA CHECK) rather than picking the closest-fitting fallback.
Critical: this skill reads the ACTIVE schema pack as data
brain-taxonomist has NO hardcoded directory table. Every decision is
driven by gbrain schema show --json. This means:
- A user who runs
gbrain schema use gbrain-recommendedgets the full recommended directory set (deal, meeting, concept, project, source, daily, personal, civic, original, place, trip, conversation, writing, plus all gbrain-base types). - A user who authored a custom pack via
gbrain schema init+ edit gets filing recommendations based on THEIR taxonomy, not gbrain's defaults. - Per-source overrides (tier 3 in the 7-tier resolution chain) are honored
when
--source <id>is passed to brain-taxonomist.
This is the single-source-of-truth principle (D9 from the v0.39 plan-eng-review).
When to Consult (MANDATORY)
Run the taxonomist check before writing to the brain in these cases:
- New brain page — any
type(person, company, concept, book, meeting, etc.) - Bulk import — before committing a batch of new pages
- Uncertain filing — when the primary subject is ambiguous
You do NOT need to consult for:
- Updating an existing page in place (same path)
- Appending to a Timeline section
- Meeting entity propagation to existing pages
Decision Protocol
Step 1: Identify primary subject type
Walk these questions in order:
- Is the primary subject a NAMED PERSON? → person-typed directory
- Is the primary subject a NAMED ORGANIZATION? → company-typed directory
- Is it about a TIME-BOUNDED EVENT (meeting, deal, trip)? → temporal-typed directory
- Is it a REUSABLE MENTAL MODEL? → concept-typed directory
- Is it RAW MEDIA (article, video, book, PDF)? → media-typed directory
- Is it BULK SOURCE DATA? → source-typed directory
- None of the above → consult EIIRP Phase 3 for schema-pack candidate creation.
Step 2: Look up the directory for that type in the active pack
gbrain schema show --json | jq '.page_types[] | select(.primitive == "entity")'
Each page_types[] entry has a path_prefixes: array. The first prefix
is the canonical path. If multiple types match (e.g. both person and
founder exist in the pack with expert_routing: true), prefer the more
specific one (the one with the more specific path prefix).
Step 3: For books — determine sub-category
The gbrain-recommended pack treats books as media/books/<category>/<slug>.md
where category is one of: psychology, philosophy, spirituality, business,
media-and-society, family-and-divorce, heritage, science, fiction,
biography, arts-and-design. If your active pack has a different scheme,
walk it from gbrain schema show --json instead of hardcoding here.
Step 4: Construct the slug
- kebab-case, descriptive
- no author name unless disambiguation is needed
- match the canonical path prefix exactly (no leading slash)
Step 5: Validate before writing
- Path follows the active pack's
page_types[].path_prefixes - Slug is kebab-case, descriptive
- Frontmatter includes
type:matching one of the pack'spage_types[].name - Cross-links to related pages are included
If the active pack doesn't have a type for what you're trying to file, DON'T pick the closest-fitting one. Instead, signal to EIIRP that a new type is needed and let the schema-pack cathedral handle the proposal flow.
Integration with Other Skills
eiirp— calls this skill as Phase 2 TAXONOMY for every output in
Câu hỏi thường gặp
Nó có dùng tên thư mục cố định không?
Không. Nó đọc các quy tắc thư mục bạn đã thiết lập, nên kết quả theo cấu trúc của chính bạn.
Điều gì xảy ra nếu không có thư mục nào phù hợp?
Skill không đoán. Nó hỏi bạn muốn làm gì.
Nó có kiểm tra các trang cũ không?
Có. Nó có thể quét tìm những trang có vẻ nằm sai chỗ.
Chi tiết
Mô tả gốc của tác giả
Filing gate for ALL brain writes. Consulted before creating any new brain page to determine the correct path. Reads the ACTIVE schema pack via `gbrain schema show --json` — no hardcoded directory table. Also runs periodic taxonomy drift detection via `gbrain schema review-orphans`.
repo: garrytan/gbrain
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9290
- 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.
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.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.