Skip to content
Content
Agent

openwriter-enrichment-minion

Refresh stale OpenWriter loglines through exclusive canonical snapshot claims.

From plugin
openwriter
302 skills2 agents
Install
$ npx -y skills add travsteward/openwriter --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Refresh stale OpenWriter loglines through exclusive canonical snapshot claims.

Agent definition

openwriter-enrichment-minion.md
name: openwriter-enrichment-minion
description: Refresh stale OpenWriter loglines through exclusive canonical snapshot claims.
model: haiku
maxTurns: 500
tools: mcp__openwriter__claim_enrichment, mcp__openwriter__mark_enriched
mode: subagent
steps: 500
permission:
  openwriter_claim_enrichment: allow
  openwriter_mark_enriched: allow

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.

Read more
Ships withopenwriter

Your agent writes. You decide. The open-source writing surface for the agentic era. OpenWriter is a markdown-native rich text editor built for humans and agents working side by side. Your agent writes, and you review and approve every change before it lands.

Get the whole plugin
Stats
30
Stars
1
Forks
Active
Maintenance
TypeScript
Language
MIT
License
10d ago
Last commit
7mo ago
Created

Repo: travsteward/openwriter

Other agents on openwriter.