[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6N0FSYHZ4DQMJ25T7JP5A0X":3,"skill-same:01M6N0FSYHZ4DQMJ25T7JP5A0X":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":6,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":88},"01M6N0FSYHZ4DQMJ25T7JP5A0X","article-enrichment",null,"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.","garrytan\u002Fgbrain","garrytan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19957?v=4","01M6DJCCDDG53MTYYRTXAXFG17","Garry Tan","01M6MZQZCEN3RRMD33E1X9ZZR9",32977,"MIT","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Fskills\u002Farticle-enrichment\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"enrichment","article enrichment","article","pages","useful","true","quotes","insights","enrich","with","actionable","it","transform","executive summary","brain","summary","references","text","why","Media","batch","2026-11-10 10:12:30",false,"---\nname: article-enrichment\nversion: 0.1.0\ndescription: 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.\ntriggers:\n  - \"enrich this article\"\n  - \"enrich the article\"\n  - \"enriching the article\"\n  - \"enrich brain pages\"\n  - \"batch enrich\"\n  - \"enrich pass\"\n  - \"make brain pages useful\"\nmutating: true\nwrites_pages: true\nwrites_to:\n  - media\u002Farticles\u002F\n---\n\n# article-enrichment — From Raw Dumps to Useful Brain Pages\n\n> **Convention:** see [conventions\u002Fquality.md](..\u002Fconventions\u002Fquality.md) for\n> citation rules, verbatim-quote requirements, and back-link enforcement.\n>\n> **Convention:** see [_brain-filing-rules.md](..\u002F_brain-filing-rules.md) for\n> filing rules. Article pages live under `media\u002Farticles\u002F` for raw ingest;\n> personalized one-of-one synthesis output uses the sanctioned\n> `media\u002Farticles\u002F\u003Cslug>-personalized.md` exception.\n\n## What this does\n\nTakes an article brain page that's a wall of raw extracted text and rewrites\nit as a structured page with:\n\n- **Executive Summary** — 2-3 sentences, the ONE thing worth remembering\n- **Why It Matters** — connects to the user's specific projects + interests\n  (read from brain context, not assumed)\n- **Quotable Lines** — 3-5 VERBATIM quotes worth referencing in essays\n- **Key Insights** — actual insights, not topic labels\n- **Surprising or Counterintuitive** — what makes this content unique\n- **See Also** — standard markdown links to related brain pages\n\nRaw source content is preserved in a collapsed `\u003Cdetails>` section so the\noriginal is never lost.\n\n## When to invoke\n\n- New article page lands in the brain via media-ingest with `needs_enrichment: true`\n- Existing article page is a wall of text under a `## Content` header with\n  no synthesis\n- User says a brain page is useless, boring, or a dump\n- An LLM-judge brain-quality eval fails on quotability or actionability for\n  an article page\n\n## The pipeline\n\n```\n1. READ      → Open the article brain page; parse frontmatter + body.\n2. SCAN      → Look for ## Content (raw dump) and absence of ## Executive Summary.\n3. CONTEXT   → gbrain query the article's key entities to ground \"Why It Matters\".\n4. ENRICH    → Sonnet (default) or Opus (for high-value content) restructures.\n5. WRITE     → Replace ## Content with the structured sections; preserve raw\n               source in \u003Cdetails>; clear needs_enrichment in frontmatter.\n6. CROSS-LINK→ Add back-links from referenced people\u002Fcompanies pages\n               (Iron Law per conventions\u002Fquality.md).\n```\n\n## Invocation\n\nThe skill itself is markdown instructions to the agent. It does NOT ship a\ndeterministic CLI command in v0.25.1. The agent uses gbrain's existing\noperations:\n\n```bash\n# 1. Find candidate pages\ngbrain query \"needs_enrichment: true type:article\" --limit 50\n\n# 2. For each candidate, read the page\ngbrain get media\u002Farticles\u002F\u003Cslug>\n\n# 3. Enrich via the agent's LLM (Sonnet by default; Opus for high-value)\n#    The agent reads the raw content + brain context + writes the structured page.\n\n# 4. Write the enriched page\n#    Use the put_page operation with the new structured markdown body.\n\n# 5. Cross-link entities\n#    For every person\u002Fcompany mentioned, add a timeline back-link.\n```\n\n## Quality bar\n\nAn enriched page passes if it has:\n\n- ✅ `## Executive Summary` (2-3 sentences)\n- ✅ `## Quotable Lines` with ≥3 verbatim quotes (literal quotes, not paraphrase)\n- ✅ `## Key Insights` with ≥3 bullets (insights, not topic labels)\n- ✅ `## Why It Matters` connecting to specific brain context (not generic)\n- ✅ `## See Also` with standard markdown links (NOT `[[wiki-links]]`)\n- ✅ `\u003Cdetails>` block preserving the raw source content\n\n## Model selection\n\n| Model | Use when | Quote accuracy |\n|-------|----------|----------------|\n| **Sonnet** (default) | Bulk enrichment, most articles | Good — occasionally paraphrases |\n| **Opus** | High-value content, original-thinking pieces, longreads | Excellent — respects \"verbatim\" instruction |\n\nRule: for bulk enrichment, do a Sonnet draft pass and spot-check 5 with\nthe LLM-judge brain-quality eval. If quotes are paraphrased, switch to\nOpus for that batch.\n\n## Link convention\n\nAll cross-references use standard markdown links: `[Title](relative\u002Fpath.md)`.\nNEVER use `[[wiki-links]]` — they don't render on GitHub.\n\n## When it fails\n\nFollow the [agent operator protocol](..\u002Fconventions\u002Fagent-operator-protocol.md) for any gbrain error `code`, exit code, `[AGENT]` block or notice block. Specific to this skill:\n\n- `get_page` returns `page_not_found`: the raw dump moved or the slug is wrong; search for the title before reporting the article missing.\n- 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.\n- `write_pending` (exit 10): poll `gbrain write-request \u003Crequest_id>`; only report the page enriched once the receipt commits.\n\n## Anti-Patterns\n\n- ❌ Paraphrasing quotes (\"the author argues that…\"). Quotes are verbatim\n  or they're not quotes.\n- ❌ Generic \"Why It Matters\" (\"this is important because innovation\").\n  Tie to specific brain context or remove the section.\n- ❌ Inventing topic labels and calling them insights. An insight is a\n  thing the article says that you didn't already know.\n- ❌ Discarding the raw source. Always wrap it in `\u003Cdetails>`.\n- ❌ Re-enriching non-idempotently — check the `needs_enrichment` flag in\n  frontmatter; skip if already false.\n\n## Related skills\n\n- `skills\u002Fmedia-ingest\u002FSKILL.md` — creates the raw article pages this skill enriches\n- `skills\u002Fidea-ingest\u002FSKILL.md` — link\u002Farticle ingestion with author people-page enforcement\n- `skills\u002Fconventions\u002Fquality.md` — citation + back-link rules\n\n\n## Contract\n\nThis skill guarantees:\n\n- Routing matches the canonical triggers in the frontmatter.\n- Output written under the directories listed in `writes_to:` (when applicable).\n- Conventions referenced (`quality.md`, `brain-first.md`, `_brain-filing-rules.md`) are followed.\n- Privacy contract preserved: no real names, no fork-specific filesystem path literals, no upstream-fork references.\n\nThe full behavior contract is documented in the body sections above; this section exists for the conformance test.\n\n## Output Format\n\nThe 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\u002Fskills-conformance.test.ts`).\n","# article-enrichment — From Raw Dumps to Useful Brain Pages\n\n> **Convention:** see [conventions\u002Fquality.md](..\u002Fconventions\u002Fquality.md) for\n> citation rules, verbatim-quote requirements, and back-link enforcement.\n>\n> **Convention:** see [_brain-filing-rules.md](..\u002F_brain-filing-rules.md) for\n> filing rules. Article pages live under `media\u002Farticles\u002F` for raw ingest;\n> personalized one-of-one synthesis output uses the sanctioned\n> `media\u002Farticles\u002F\u003Cslug>-personalized.md` exception.\n\n## What this does\n\nTakes an article brain page that's a wall of raw extracted text and rewrites\nit as a structured page with:\n\n- **Executive Summary** — 2-3 sentences, the ONE thing worth remembering\n- **Why It Matters** — connects to the user's specific projects + interests\n  (read from brain context, not assumed)\n- **Quotable Lines** — 3-5 VERBATIM quotes worth referencing in essays\n- **Key Insights** — actual insights, not topic labels\n- **Surprising or Counterintuitive** — what makes this content unique\n- **See Also** — standard markdown links to related brain pages\n\nRaw source content is preserved in a collapsed `\u003Cdetails>` section so the\noriginal is never lost.\n\n## When to invoke\n\n- New article page lands in the brain via media-ingest with `needs_enrichment: true`\n- Existing article page is a wall of text under a `## Content` header with\n  no synthesis\n- User says a brain page is useless, boring, or a dump\n- An LLM-judge brain-quality eval fails on quotability or actionability for\n  an article page\n\n## The pipeline\n\n```\n1. READ      → Open the article brain page; parse frontmatter + body.\n2. SCAN      → Look for ## Content (raw dump) and absence of ## Executive Summary.\n3. CONTEXT   → gbrain query the article's key entities to ground \"Why It Matters\".\n4. ENRICH    → Sonnet (default) or Opus (for high-value content) restructures.\n5. WRITE     → Replace ## Content with the structured sections; preserve raw\n               source in \u003Cdetails>; clear needs_enrichment in frontmatter.\n6. CROSS-LINK→ Add back-links from referenced people\u002Fcompanies pages\n               (Iron Law per conventions\u002Fquality.md).\n```\n\n## Invocation\n\nThe skill itself is markdown instructions to the agent. It does NOT ship a\ndeterministic CLI command in v0.25.1. The agent uses gbrain's existing\noperations:\n\n```bash\n# 1. Find candidate pages\ngbrain query \"needs_enrichment: true type:article\" --limit 50\n\n# 2. For each candidate, read the page\ngbrain get media\u002Farticles\u002F\u003Cslug>\n\n# 3. Enrich via the agent's LLM (Sonnet by default; Opus for high-value)\n#    The agent reads the raw content + brain context + writes the structured page.\n\n# 4. Write the enriched page\n#    Use the put_page operation with the new structured markdown body.\n\n# 5. Cross-link entities\n#    For every person\u002Fcompany mentioned, add a timeline back-link.\n```\n\n## Quality bar\n\nAn enriched page passes if it has:\n\n- ✅ `## Executive Summary` (2-3 sentences)\n- ✅ `## Quotable Lines` with ≥3 verbatim quotes (literal quotes, not paraphrase)\n- ✅ `## Key Insights` with ≥3 bullets (insights, not topic labels)\n- ✅ `## Why It Matters` connecting to specific brain context (not generic)\n- ✅ `## See Also` with standard markdown links (NOT `[[wiki-links]]`)\n- ✅ `\u003Cdetails>` block preserving the raw source content\n\n## Model selection\n\n| Model | Use when | Quote accuracy |\n|-------|----------|----------------|\n| **Sonnet** (default) | Bulk enrichment, most articles | Good — occasionally paraphrases |\n| **Opus** | High-value content, original-thinking pieces, longreads | Excellent — respects \"verbatim\" instruction |\n\nRule: for bulk enrichment, do a Sonnet draft pass and spot-check 5 with\nthe LLM-judge brain-quality eval. If quotes are paraphrased, switch to\nOpus for that batch.\n\n## Link convention\n\nAll cross-references use standard markdown links: `[Title](relative\u002Fpath.md)`.\nNEVER use `[[wiki-links]]` — they don't render on GitHub.\n\n## When it fails\n\nFollow the [agent operator protocol](..\u002Fconventions\u002Fagent-operator-protocol.md) for any gbrain error `code`, exit code, `[AGENT]` block or notice block. Specific to this skill:\n\n- `get_page` returns `page_not_found`: the raw dump moved or the slug is wrong; search for the title before reporting the article missing.\n- 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.\n- `write_pending` (exit 10): poll `gbrain write-request \u003Crequest_id>`; only report the page enriched once the receipt commits.\n\n## Anti-Patterns\n\n- ❌ Paraphrasing quotes (\"the author argues that…\"). Quotes are verbatim\n  or they're not quotes.\n- ❌ Generic \"Why It Matters\" (\"this is important because innovation\").\n  Tie to specific brain context or remove the section.\n- ❌ Inventing topic labels and calling them insights. An insight is a\n  thing the article says that you didn't already know.\n- ❌ Discarding the raw source. Always wrap it in `\u003Cdetails>`.\n- ❌ Re-enriching non-idempotently — check the `needs_enrichment` flag in\n  frontmatter; skip if already false.\n\n## Related skills\n\n- `skills\u002Fmedia-ingest\u002FSKILL.md` — creates the raw article pages this skill enriches\n- `skills\u002Fidea-ingest\u002FSKILL.md` — link\u002Farticle ingestion with author people-page enforcement\n- `skills\u002Fconventions\u002Fquality.md` — citation + back-link rules\n\n\n## Contract\n\nThis skill guarantees:\n\n- Routing matches the canonical triggers in the frontmatter.\n- Output written under the directories listed in `writes_to:` (when applicable).\n- Conventions referenced (`quality.md`, `brain-first.md`, `_brain-filing-rules.md`) are followed.\n- Privacy contract preserved: no real names, no fork-specific filesystem path literals, no upstream-fork references.\n\nThe full behavior contract is documented in the body sections above; this section exists for the conformance test.\n\n## Output Format\n\nThe 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\u002Fskills-conformance.test.ts`).\n",{"name":5,"version":55,"mutating":56,"triggers":57,"writes_to":65,"description":7,"writes_pages":56},"0.1.0",true,[58,59,60,61,62,63,64],"enrich this article","enrich the article","enriching the article","enrich brain pages","batch enrich","enrich pass","make brain pages useful",[66],"media\u002Farticles\u002F","master","074ec301549ded4930f04d2c3b22d709a6c095cc","skills\u002Farticle-enrichment",4929,"https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain","https:\u002F\u002Fgithub.com\u002Fgarrytan","https:\u002F\u002Fblog.garrytan.com","Writes software, dreams. ","2026-11-15 03:57:03",{"source":8,"skillName":5,"commands":77,"prompt":87,"zipAvailable":56},[78,81,84],{"tool":79,"command":80},"npx","npx skills add garrytan\u002Fgbrain --skill article-enrichment",{"tool":82,"command":83},"bunx","bunx skills add garrytan\u002Fgbrain --skill article-enrichment",{"tool":85,"command":86},"pnpm","pnpm dlx skills add garrytan\u002Fgbrain --skill article-enrichment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Fskills\u002Farticle-enrichment\u002FSKILL.md",[89],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"routing-eval.jsonl","OTHER","其他",1029,"https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Fskills\u002Farticle-enrichment\u002Frouting-eval.jsonl",[96,104,110,115,120,125],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M7DVD1SVD1CK2S6M5MR0NKVH","beta","Synthetic fixture skill.","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fgood\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":105,"name":106,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":103},"01M7DVD0T1465DP7CGPVNGK5XH","alpha","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fgood\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":111,"name":106,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":103},"01M7DVCZWYBFRTE76082QMZCK8","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":116,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":103},"01M7DVCYYGRM05Z2MWH37CYGHH","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad-undeclared\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":121,"name":106,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":103},"01M7DVCXRT85704NBBZ73F59KP","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad-undeclared\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":126,"name":106,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":103},"01M7DVCWR4M8HWJVM1CXB7K1VN","https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgbrain\u002Fblob\u002Fmaster\u002Ftest\u002Ffixtures\u002Fguards\u002Fcheck-skill-health.ts\u002Fbad-tool\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]