article-enrichment
Skill này làm gì
Skill này cải thiện các trang bài báo trong brain mà hiện chỉ là những khối văn bản thô dài. Nó viết lại trang với phần tóm tắt, trích dẫn nguyên văn, ý tưởng chính và liên kết đến các trang liên quan.
Khi nào nên dùng
- ✓Khi một bài báo trong brain của bạn chỉ là một khối văn bản thô, không có tóm tắt.
- ✓Khi bạn muốn lấy ra các câu đáng trích dẫn và ý tưởng từ một bài báo đã lưu.
- ✓Khi bạn nói trang bài báo đã lưu khó dùng và cần viết lại.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin/skills/article-enrichment/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
“Trang bài báo này trong brain của tôi chỉ là một khối chữ dài. Hãy viết lại với phần tóm tắt, các câu trích dẫn chính và lý do nó quan trọng với tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc văn bản thô và viết phần tóm tắt, một ghi chú về lý do nó quan trọng dựa trên các dự án của bạn, cùng ba đến năm trích dẫn nguyên văn. Văn bản gốc được giữ trong một phần thu gọn, nên không mất gì.
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.
article-enrichment — From Raw Dumps to Useful Brain Pages
Convention: see conventions/quality.md for citation rules, verbatim-quote requirements, and back-link enforcement.
Convention: see _brain-filing-rules.md for filing rules. Article pages live under
media/articles/for raw ingest; personalized one-of-one synthesis output uses the sanctionedmedia/articles/<slug>-personalized.mdexception.
What this does
Takes an article brain page that's a wall of raw extracted text and rewrites it as a structured page with:
- Executive Summary — 2-3 sentences, the ONE thing worth remembering
- Why It Matters — connects to the user's specific projects + interests (read from brain context, not assumed)
- Quotable Lines — 3-5 VERBATIM quotes worth referencing in essays
- Key Insights — actual insights, not topic labels
- Surprising or Counterintuitive — what makes this content unique
- See Also — standard markdown links to related brain pages
Raw source content is preserved in a collapsed <details> section so the
original is never lost.
When to invoke
- New article page lands in the brain via media-ingest with
needs_enrichment: true - Existing article page is a wall of text under a
## Contentheader with no synthesis - User says a brain page is useless, boring, or a dump
- An LLM-judge brain-quality eval fails on quotability or actionability for an article page
The pipeline
1. READ → Open the article brain page; parse frontmatter + body.
2. SCAN → Look for ## Content (raw dump) and absence of ## Executive Summary.
3. CONTEXT → gbrain query the article's key entities to ground "Why It Matters".
4. ENRICH → Sonnet (default) or Opus (for high-value content) restructures.
5. WRITE → Replace ## Content with the structured sections; preserve raw
source in <details>; clear needs_enrichment in frontmatter.
6. CROSS-LINK→ Add back-links from referenced people/companies pages
(Iron Law per conventions/quality.md).
Invocation
The skill itself is markdown instructions to the agent. It does NOT ship a deterministic CLI command in v0.25.1. The agent uses gbrain's existing operations:
# 1. Find candidate pages
gbrain query "needs_enrichment: true type:article" --limit 50
# 2. For each candidate, read the page
gbrain get media/articles/<slug>
# 3. Enrich via the agent's LLM (Sonnet by default; Opus for high-value)
# The agent reads the raw content + brain context + writes the structured page.
# 4. Write the enriched page
# Use the put_page operation with the new structured markdown body.
# 5. Cross-link entities
# For every person/company mentioned, add a timeline back-link.
Quality bar
An enriched page passes if it has:
- ✅
## Executive Summary(2-3 sentences) - ✅
## Quotable Lineswith ≥3 verbatim quotes (literal quotes, not paraphrase) - ✅
## Key Insightswith ≥3 bullets (insights, not topic labels) - ✅
## Why It Mattersconnecting to specific brain context (not generic) - ✅
## See Alsowith standard markdown links (NOT[[wiki-links]]) - ✅
<details>block preserving the raw source content
Model selection
| Model | Use when | Quote accuracy |
|---|---|---|
| Sonnet (default) | Bulk enrichment, most articles | Good — occasionally paraphrases |
| Opus | High-value content, original-thinking pieces, longreads | Excellent — respects "verbatim" instruction |
Rule: for bulk enrichment, do a Sonnet draft pass and spot-check 5 with the LLM-judge brain-quality eval. If quotes are paraphrased, switch to Opus for that batch.
Link convention
All cross-references use standard markdown links: [Title](relative/path.md).
NEVER use [[wiki-links]] — they don't render on GitHub.
When it fails
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
get_pagereturnspage_not_found: the raw dump moved or the slug is wrong; search for the title before reporting the article missing.- The rewrite returns
revision_conflict: someone else edited the page since you read it. Re-read, re-apply the enrichment to the new text, and save with the new revision; never overwrite blind. write_pending(exit 10): pollgbrain write-request <request_id>; onl
Câu hỏi thường gặp
Các trích dẫn có chính xác không?
Có. Skill dùng trích dẫn nguyên văn từ bài báo và ghi nguồn.
Văn bản gốc có bị xóa không?
Không. Nó vẫn nằm trong một phần thu gọn trên trang.
Nó có đoán điều gì quan trọng với tôi không?
Không. Nó đọc các dự án và sở thích trong brain của bạn thay vì tự giả định.
Chi tiết
Mô tả gốc của tác giả
Transform raw article text dumps in the brain into structured pages with executive summary, verbatim quotes, key insights, why-it-matters, and cross-references. Replaces walls-of-text with quotable, actionable brain pages.
repo: garrytan/gbrain
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9286
- 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ự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.