跳到正文
cccskills
免费在 GitHub 公开

article-enrichment

Restructure raw article text stored in gbrain into summaries, exact quotes, key insights, and links to related pages. Preserve the original text and connect the article's significance to projects and interests already recorded in gbrain.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Organizing saved articles into readable notes
  • Collecting exact quotes for essays
  • Connecting articles to current projects
  • Processing multiple unorganized article pages

包含的文件(2)

  • SKILL.md6.6 KB
  • routing-eval.jsonl1.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Check research claims cited in books, articles, or conversations by tracing the original paper, methods, underlying data, and independent replication. Save a sourced assessment explaining whether the claim holds up and what remains uncertain.

中文简介正在准备中。当前显示英语简介。

  • Check a study cited in a book
  • Trace a numerical claim in an article to its source data
  • Verify research evidence before using it in writing
garrytan/gbrain3.1万2026年10月18日 更新

Explore old files and email archives to rediscover personal writing, ideas, and meaningful conversations. Review selected items one at a time, save worthwhile material as organized notes, and track progress within explicitly permitted folders.

中文简介正在准备中。当前显示英语简介。

  • Rediscover old journals and creative writing
  • Find meaningful letters and email conversations
  • Recover past product and business ideas
garrytan/gbrain3.1万2026年10月18日 更新

ask-user

免费

Present clear choices when a task needs a human decision, then pause execution until the user replies. This reusable interaction pattern supports filing decisions, priority selection, and confirmation before destructive actions, with an option to decline.

中文简介正在准备中。当前显示英语简介。

  • Clarifying requests with several possible meanings
  • Confirming before bulk deletion or overwriting
  • Choosing where to file meeting notes
garrytan/gbrain3.1万2026年10月18日 更新

Collect public posts across a blog, newsletter, or feed archive and save clean Markdown pages for each article. The workflow avoids duplicates, supports resumed runs, repairs empty results, and hands articles to a separate enrichment skill.

中文简介正在准备中。当前显示英语简介。

  • Importing a blog's public article archive
  • Organizing public newsletter posts as knowledge pages
  • Rerunning a feed import without duplicates
garrytan/gbrain3.1万2026年10月18日 更新

Create a detailed chapter-by-chapter reading companion from an EPUB or PDF, connecting the book’s ideas to experiences and words saved in your personal knowledge store. The result highlights parallels without prescribing actions.

中文简介正在准备中。当前显示英语简介。

  • Connect a book’s ideas to personal experiences
  • Review detailed chapter summaries alongside personal reflections
  • Create a parent’s guide for reading a children’s book aloud
garrytan/gbrain3.1万2026年10月18日 更新

Check names, aliases, and existing pages before saving content to a gbrain knowledge store. The skill reads likely matches to identify duplicates, links to existing information, and routes new material to the appropriate ingestion skills.

中文简介正在准备中。当前显示英语简介。

  • Check notes for duplicates before saving
  • Resolve different names for the same person or company
  • Review files before a bulk import
garrytan/gbrain3.1万2026年10月18日 更新

查看 garrytan 的全部技能

报告此技能的问题