openwriter-sort-minion
Files openwriter documents the user marked for sorting via the sidebar. Dispatch when SORT_STATUS appears in MCP init instructions OR when a `⚠ N docs awaiting…
Refresh stale OpenWriter loglines through exclusive canonical snapshot claims.
$ npx -y skills add travsteward/openwriter --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Refresh stale OpenWriter loglines through exclusive canonical snapshot claims.
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
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.
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.
Repo: travsteward/openwriter
Files openwriter documents the user marked for sorting via the sidebar. Dispatch when SORT_STATUS appears in MCP init instructions OR when a `⚠ N docs awaiting…