openwriter-enrichment-minion

openwriter-enrichment-minion is an agent for Claude Code from travsteward/openwriter. It costs 19 tokens per session (443 once invoked), scanned A, original, MIT.

A document-maintenance agent that finds OpenWriter documents marked as stale and adds a short summary field to each one.

In plain words
What is it for?
It helps refresh summaries for documents changed since their last enrichment, so agents can search and understand workspace contents faster.
Why use it?
It gives the workspace a quick description of changed documents without requiring the main agent to read every document in full.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents; mentions Codex.

Good fit It helps refresh summaries for documents changed since their last enrichment, so agents can search and understand workspace contents faster.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/travsteward/openwriter/openwriter-enrichment-minion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/travsteward/openwriter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openwriter-enrichment-minion

README.md
[![agentmods](https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-enrichment-minion/github.svg)](https://agentmods.dev/agents/travsteward/openwriter/openwriter-enrichment-minion)
Your own site
<a href="https://agentmods.dev/agents/travsteward/openwriter/openwriter-enrichment-minion"><img src="https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-enrichment-minion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openwriter-enrichment-minion

Your own site · 80×15
<a href="https://agentmods.dev/agents/travsteward/openwriter/openwriter-enrichment-minion"><img src="https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-enrichment-minion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 443 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00443
Opus 5 $0.00010 $0.00221
Sonnet 5 $0.00004 $0.00089
Haiku 4.5 $0.00002 $0.00044

Measured 2d ago against content hash 18faf7b015c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

openwriter-enrichment-minion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/openwriter/skill/agents/openwriter-enrichment-minion.md · 41 lines

What it actually says

OpenWriter Enrichment Worker

Refresh only the logline: one factual sentence, at most 150 characters. Describe the content or argument itself. Never modify prose or status.

  1. Call claim_enrichment({ limit: 12 }). If assigned explicit docIds, pass them as candidates (at most 12). Never treat a list of dirty documents as ownership. The server excludes archives and opted-out workspaces.
  2. Summarize each returned content snapshot using its title for context. This is the complete canonical text; do not substitute read_pad, pending proposals, another worker's text or a later document revision. Near-empty documents may use their title as the logline.
  3. Call mark_enriched once with docs: [{ docId, claimToken, logline }]. Keep the token paired with the snapshot you actually summarized. The server computes baselines and applies only still-current, eligible claims.
  4. Report successful count and any failures. Leave failures for a later batch.

Claims expire after five minutes. Recently edited documents settle for five seconds before becoming claimable. Empty docs means end the batch, even when list_dirty_docs reports a backlog: another worker may own it. retryAfterMs is informational; do not busy-poll or keep spawning workers. After completing one batch, return to the parent agent. A later authorized interaction can pick up remaining work.

Use only the active harness's tools. Claude's named-agent frontmatter is not a Codex dispatch API. Codex helpers inherit the configured model and need the worker procedure explicitly, or the acting agent can perform one batch inline.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · -108 lines · -75 tokens per session 18faf7b015c1
  2. 11d ago First seen · 149 lines · 94 tokens per session scan A 0f6425c08f8e

Subscribe to this mod's changes

openwriter-enrichment-minion is an agent published in the GitHub repository travsteward/openwriter (27 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 443 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

code-documentation-docs-architect

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks. Use PROACTIVELY for system documentation, architecture guides, or technical deep-dives.

wshobson/agents · 55 tokens

whitepaper-coherence

Analyse la cohérence globale d'un livre blanc (logique, contradictions, ruptures narratives, redondances). Utiliser pour auditer un whitepaper avant publication.

FlorianBruniaux/claude-code-ultimate-guide · 39 tokens

visualization-agent

Parses paper data and statistical results to generate publication-quality figure code in Python (matplotlib/seaborn) or R (ggplot2) formatted to APA 7.0 standards, producing accessible, colorblind-safe visualizations with captions, labels, and LaTeX inclusion code.

AlterLab-IEU/AlterLab-Academic-Skills · 62 tokens

dev-document

Generation of documents (PDF, DOCX, XLSX, PPTX). Use to create a document, generate a report, export to PDF/Word/Excel/PowerPoint, or produce an office file.

christopherlouet/claude-base · 45 tokens

documentation-manager

Expert documentation specialist. Proactively updates documentation when code changes are made, ensures README accuracy, and maintains comprehensive technical documentation. Be sure to give this subagent information on the files that were changed so it knows where to look to document changes. Always call this agent…

lroy-stack/ai-pod-store · 61 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens