article-enrichment
What it does
This skill improves article pages in your brain that are only long blocks of raw text. It rewrites them with a summary, verbatim quotes, key insights, and links to related pages.
When to use it
- βWhen an article in your brain is a wall of raw text with no summary.
- βWhen you want quotable lines and insights pulled from a saved article.
- βWhen you say a saved article page is hard to use and need it rewritten.
Skill link
https://github.com/garrytan/gbrain/blob/master/plugin/skills/article-enrichment/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βThis article page in my brain is just a wall of text. Rewrite it with a summary, key quotes, and why it matters to me.β
5 new skills a week. 1 minute to read.
How it works
The agent reads the raw text and writes a summary, a note on why it matters based on your projects, and three to five exact quotes. The original text is kept in a collapsed section so nothing is lost.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
FAQ
Will the quotes be accurate?
Yes. The skill uses verbatim quotes from the article and cites them.
Is the original text deleted?
No. It stays in a collapsed section on the page.
Does it guess what matters to me?
No. It reads your brain for your projects and interests instead of assuming them.
Details
Original description by the author
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
Popularity
- GitHub stars
- 31k
- Ranking position
- #9286
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
gbrain
31kLets your agent search a shared company knowledge brain for facts about people, projects and decisions, and save durable notes to it.
brain-ingest-gate
31kChecks new content against an existing knowledge brain before it is added, to avoid duplicates and resolve named entities first.
brain-link-discipline
31kMakes sure your agent includes a working link to each brain page it reports, in the same message, so you can open it right away.
brain-ops
31kGives your agent the core routine for a knowledge brain: check existing context first, save explicit notes with their source, and link related pages.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.