Guide · Agent skill
How to use the Article Enrichment agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The article-enrichment skill is a set of markdown instructions that tells an AI agent how to rework a saved article inside a gbrain personal knowledge base. It turns a page that is one long block of extracted text into a structured page with an executive summary, verbatim quotes, key insights, a why-it-matters section and links to related pages. This guide explains what the skill does, how to install it, how to ask for it in plain language, and the limits to know before you run it on pages you care about.
Quick start
- 1Set up gbrain and the LLM. Confirm your gbrain knowledge base is available to the agent with query, get and put_page, and that you have LLM access (Sonnet by default).
- 2Download and install the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use or the project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.
- 3Find the pages to enrich. Ask the agent to find article pages flagged needs_enrichment, or name a specific article page you want rewritten.
- 4Ask for the enrichment. Use a trigger phrase such as 'enrich this article' or 'batch enrich' and point the agent at the page or batch.
- 5Spot-check the output. Read the new page, confirm the quotes match the source word for word, and check that the See Also links work before relying on the page.
What the skill makes the agent do
Agent skills are instruction files that an AI agent loads when a request matches them. This one applies to article pages in gbrain that are a wall of raw extracted text under a Content heading with no synthesis. The agent reads the page, gathers context from your other brain pages, and rewrites the page into a structured form.
The rewritten page contains these sections:
- Executive Summary: two or three sentences giving the one thing worth remembering.
- Why It Matters: ties the article to your own projects and interests, using brain context rather than assumptions.
- Quotable Lines: three to five verbatim quotes you can reference later.
- Key Insights: actual insights from the article, not topic labels.
- Surprising or Counterintuitive: what makes this piece different.
- See Also: standard markdown links to related brain pages.
What you need before you start
The skill depends on gbrain. It uses gbrain's query, get and put_page operations to find pages, read them and save changes, so it will not do useful work in a setup without gbrain.
You also need access to an LLM. The skill uses Sonnet by default and can use Opus for high-value content. Articles usually arrive through the media-ingest skill, which creates the raw article pages. That skill is referenced by this one but is not bundled with it, so you will need it separately to create new raw pages.
- A gbrain knowledge base with query, get and put_page available to the agent.
- Access to an LLM: Sonnet by default, Opus optionally.
- The media-ingest skill, if you want new articles to arrive as raw pages automatically.
- No scripts are run by this skill, and it does not use the network itself.
Install the article-enrichment skill
Download the skill ZIP from this page. The package contains a single file, SKILL.md.
For a personal install, unzip the package into ~/.claude/skills/. To scope it to one project, unzip it into that project's .claude/skills/ folder instead.
In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.
- Personal use across projects: ~/.claude/skills/
- Single project: the project's .claude/skills/ folder
- Claude apps: Settings → Capabilities → Skills, then upload the ZIP
Trigger the skill with natural requests
You do not need a special command. The skill responds to phrases that match its triggers. Ask in plain language, and name the page or the batch when you can.
Trigger phrases from the skill include the following. The skill also applies when a brain page is described as useless, boring or a dump, and when a brain-quality check fails on quotability or actionability for an article page.
- 'enrich this article'
- 'enrich the article'
- 'enriching the article'
- 'enrich brain pages'
- 'batch enrich'
- 'enrich pass'
- 'make brain pages useful'
How the enrichment pass runs
The skill is markdown instructions, not a standalone command-line tool. The agent carries out the work with gbrain's existing operations. The source describes this pipeline: read the page, scan for a raw Content section with no Executive Summary, query the article's key entities for context, restructure the page with the LLM, write the new sections while keeping the raw text in a collapsed block, then add back-links from people and company pages.
For batch work, the agent first finds candidate pages that still carry the needs_enrichment flag, then reads and processes each one. Pages that already have the flag set to false are skipped, so re-running a pass does not reprocess them.
- Find pages still flagged for enrichment.
- Read each page and check its structure.
- Pull brain context for the main entities.
- Rewrite the page and keep the raw source in a details block.
- Clear the needs_enrichment flag in the frontmatter.
- Add back-links from referenced people and companies.
gbrain query "needs_enrichment: true type:article" --limit 50
gbrain get media/articles/<slug>Check the result against the quality bar
An enriched page should pass a short checklist before you rely on it. Look at the quotes first, since they are the riskiest part of the output. Each quote should match the source text word for word.
Sonnet is the default because it suits bulk work, but the source notes that it sometimes paraphrases. For bulk runs the recommended approach is a Sonnet draft pass, a spot-check of about five pages with the LLM-judge brain-quality eval, and a switch to Opus for any batch where quotes are paraphrased.
- Executive Summary with two or three sentences.
- Quotable Lines with at least three verbatim quotes.
- Key Insights with at least three bullets that say something new.
- Why It Matters that refers to specific brain context.
- See Also with standard markdown links, not wiki-links.
- A details block that preserves the raw source.
Safety notes before you run it on real pages
The skill rewrites and overwrites page content and clears the needs_enrichment flag. Because the original text is kept in a collapsed section, nothing is lost, but the page you read is replaced by the new version. Do not run it on pages that must not change automatically.
The skill is designed to avoid overwriting edits made by someone else. If a save returns a revision_conflict, the agent should re-read the page, apply the enrichment to the new text and save against the new revision. If a page returns page_not_found, the agent should search for the title before reporting the article missing.
Quotes are the main accuracy risk. If you need exact wording for legal or academic work, check every quote against the original before use.
- Pages are overwritten, so keep your own backup if a page matters.
- Verify quotes yourself where accuracy is critical.
- The skill runs no scripts and makes no network calls of its own; the LLM and gbrain are the parts doing the work.
What people use it for
- Turning a long saved article into a short page with a summary and quotes you can reuse in essays or notes.
- Batch-processing a set of article dumps that were ingested with a needs_enrichment flag.
- Connecting an article to your current projects through the Why It Matters section, based on your existing brain pages.
- Building cross-links so that people and companies mentioned in an article gain back-links to it.
Frequently asked questions
How do I install the article-enrichment skill?
Download the skill ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder for one project. In the Claude apps you can upload the ZIP under Settings → Capabilities → Skills instead.
Is the article-enrichment skill free to use?
The skill is released under the MIT licence. The source does not state any pricing for LLM access, which the skill needs, so check the costs of the model you plan to use.
Does the article-enrichment skill work without gbrain?
No. The skill depends on gbrain's page format and its query, get and put_page operations, so it will not help on its own in other note-taking tools.
Do I need the media-ingest skill to use article enrichment?
You need media-ingest to create the raw article pages the skill enriches. It is referenced by this skill but not bundled with it, so you install it separately.
Why are the quotes in my enriched page not word for word?
The source notes that Sonnet, the default model, sometimes paraphrases instead of quoting verbatim. Check the quotes against the original, and switch to Opus for batches where quotes are paraphrased.
What should I do if the skill reports page_not_found or revision_conflict?
For page_not_found, search for the article title because the page may have moved or the slug may be wrong. For revision_conflict, the page was edited after it was read, so the agent should re-read it, reapply the enrichment and save against the new revision.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
The skill suits people who keep many articles in a gbrain knowledge base and want them easier to reuse, or writers who want quotable notes from long pieces. Skip it if you do not use gbrain, if you need exact quotes for legal or academic work without checking them, or if your pages must never be changed automatically.
Download the skill