MCPInstall

article-enrichment

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.

Installs
194
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/garrytan/gbrain --skill article-enrichment
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads article-enrichment automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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 sanctioned media/articles/<slug>-personalized.md exception.

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 ## Content header 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 Lines with ≥3 verbatim quotes (literal quotes, not paraphrase)
  • ✅ ## Key Insights with ≥3 bullets (insights, not topic labels)
  • ✅ ## Why It Matters connecting to specific brain context (not generic)
  • ✅ ## See Also with standard markdown links (NOT [[wiki-links]])
  • ✅ <details> block preserving the raw source content

Model selection

ModelUse whenQuote accuracy
Sonnet (default)Bulk enrichment, most articlesGood — occasionally paraphrases
OpusHigh-value content, original-thinking pieces, longreadsExcellent — 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_page returns page_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): poll gbrain write-request <request_id>; only report the page enriched once the receipt commits.

Anti-Patterns

  • ❌ Paraphrasing quotes ("the author argues that…"). Quotes are verbatim or they're not quotes.
  • ❌ Generic "Why It Matters" ("this is important because innovation"). Tie to specific brain context or remove the section.
  • ❌ Inventing topic labels and calling them insights. An insight is a thing the article says that you didn't already know.
  • ❌ Discarding the raw source. Always wrap it in <details>.
  • ❌ Re-enriching non-idempotently — check the needs_enrichment flag in frontmatter; skip if already false.

Related skills

  • skills/media-ingest/SKILL.md — creates the raw article pages this skill enriches
  • skills/idea-ingest/SKILL.md — link/article ingestion with author people-page enforcement
  • skills/conventions/quality.md — citation + back-link rules

Contract

This skill guarantees:

  • Routing matches the canonical triggers in the frontmatter.
  • Output written under the directories listed in writes_to: (when applicable).
  • Conventions referenced (quality.md, brain-first.md, _brain-filing-rules.md) are followed.
  • Privacy contract preserved: no real names, no fork-specific filesystem path literals, no upstream-fork references.

The full behavior contract is documented in the body sections above; this section exists for the conformance test.

Output Format

The skill's output shape is documented inline in the body sections above (see "Output", "Brain page format", or equivalent). The literal section header here exists for the conformance test (test/skills-conformance.test.ts).

FAQ

What does the article-enrichment skill do?

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.

How do I install article-enrichment?

Run npx skills add https://github.com/garrytan/gbrain --skill article-enrichment in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/article-enrichment/ (personal) or .claude/skills/article-enrichment/ (project).

Which AI agents can use article-enrichment?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is article-enrichment safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains article-enrichment?

It is published by garrytan in garrytan/gbrain. It has 194 recorded installs.

More from garrytan/gbrain

View all →

brain-ops

garrytan/gbrain

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.

402 installs

query

garrytan/gbrain

Answer questions using the brain's knowledge with 3-layer search, synthesis, and citation propagation. Use when the user asks a question, wants a lookup, or needs information from the brain.

325 installs

maintain

garrytan/gbrain

Brain health checks: back-link enforcement, citation audit, filing validation, stale info detection, orphan pages, and benchmarks. Use when asked to check brain health, run maintenance, or audit quality.

Security323 installs

idea-ingest

garrytan/gbrain

Ingest links, articles, tweets, and ideas into the brain. Fetch content, save to brain with analysis, credit the author (people page only when they pass the notability gate), and cross-link. Use when the user shares a link or says "read this", "save this", "think about this".

314 installs

enrich

garrytan/gbrain

Enrich brain pages with tiered enrichment protocol. Creates and updates person/company pages with compiled truth, timeline, and cross-links. Use when a new entity is mentioned or an existing page needs updating.

292 installs

meeting-ingestion

garrytan/gbrain

Ingest meeting transcripts from ANY meeting recorder into brain pages with attendee enrichment, entity propagation, and timeline merge. One unified pipeline: normalize the source into a standard transcript record, split multi-meeting recordings, resolve speakers by evidence, create the page, pass every surprising claim through the consistency check (transcript + brain + plausibility), enrich every entity, then run the verification checklist — substance AND sequence. A meeting is NOT fully ingested until the enrich skill has processed every entity AND the verification checklist passes, including the sequence verify (PASS or explicit user waive).

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs