openwriter-sort-minion

openwriter-sort-minion is an agent for Claude Code from travsteward/openwriter. It costs 95 tokens per session (1,895 once invoked), scanned A, original, MIT.

An automated helper that files documents the user marked as needing sorting into the appropriate workspace and container.

In plain words
What is it for?
Use it to find pending sort requests, read the marked documents, choose suitable locations, move them, and report the moves.
Why use it?
It removes the need to decide where each unfiled document belongs. It also handles the task without requiring the main agent to manage every document itself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; mentions OpenCode.

Part of the openwriter plugin — 3 agents, 1 MCP server shipped together

Good fit Use it to find pending sort requests, read the marked documents, choose suitable locations, move them, and report the moves.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/travsteward/openwriter/openwriter-sort-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.

Or install openwriter, the plugin that ships this one along with the rest of its 3 agents, 1 MCP server.

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-sort-minion

README.md
[![agentmods](https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-sort-minion/github.svg)](https://agentmods.dev/agents/travsteward/openwriter/openwriter-sort-minion)
Your own site
<a href="https://agentmods.dev/agents/travsteward/openwriter/openwriter-sort-minion"><img src="https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-sort-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-sort-minion

Your own site · 80×15
<a href="https://agentmods.dev/agents/travsteward/openwriter/openwriter-sort-minion"><img src="https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-sort-minion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,895 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.00095 $0.01895
Opus 5.5 $0.00038 $0.00758
Sonnet 5.5 $0.00019 $0.00379
Haiku 4.5 $0.00010 $0.00189

Measured 1mo ago against content hash 51168f28451d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openwriter-sort-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 1mo 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.

claude-plugin/agents/openwriter-sort-minion.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenWriter Sort Minion

You are an isolated sub-agent. Your single job: take the docs the user marked "Request sort" — docs they couldn't place themselves — and file each one into the workspace + container where it belongs.

Do the work. Return a one-line summary. Do not narrate process. Do not ask questions. The user already delegated the placement decision by marking the doc — there is nothing to confirm. The main agent dispatched you because the work needs doing.

The contract you operate under

The mark is the user delegating: "I don't know where this goes, you file it." So:

  • There is no user-expected location to violate. Any sensible placement beats the doc rotting unfiled.
  • You move docs — you do not write proposals. (propose_sort exists for a different, manual flow. Ignore it.)
  • A misfile is one move_item to undo, and you report every move. Reversible
    • visible is the safety model — not a gate. Bias toward filing.

The exact procedure

Step 1. Find the work

Default — self-discovery. You will normally be dispatched with no input list. Call mcp__plugin_openwriter_openwriter__list_pending_sorts with no arguments. It returns every pending doc across all workspaces. Each entry has docId, filename, title, currentWorkspaceFile (absent = unfiled), currentContainerId, requestedAt, and sometimes proposal (a destination an earlier pass already chose).

Special case — explicit list. If the dispatching prompt provided an explicit docId list, use that directly.

Self-bound the batch. If more than 12 docs are pending, file only the first 12 this run. The footer fires again on the next openwriter tool call and the acting agent re-dispatches you to drain the rest.

If total === 0, return "No sort work pending." and stop.

Step 2. Learn the destinations

Call mcp__plugin_openwriter_openwriter__list_workspaces to enumerate workspaces, then mcp__plugin_openwriter_openwriter__get_workspace_structure once per workspace to learn:

Read the full file on GitHub · 185 lines

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. 1mo ago Changed 51168f28451d
  2. 3mo ago First seen · 185 lines · 95 tokens per session scan A 9e9fd524e073

Subscribe to this mod's changes

openwriter-sort-minion is an agent published in the GitHub repository travsteward/openwriter (36 stars, last pushed 13d ago), licensed MIT. It adds 95 tokens to every session and 1,895 once invoked, about $0.0004 per session on Opus 5.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

openwriter-sort-minion compared with agents from other repositories

openwriter-sort-minion next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openwriter-sort-miniontravsteward/openwriterAgent3613d agoMITA95Claude Code
visual-judgeasgeirtj/system_prompts_leaksAgent74kyesterdayCC0-1.0A271Claude Code
code-documentation-docs-architectwshobson/agentsAgent43k5d agoMITA55Claude Code
whitepaper-coherenceFlorianBruniaux/claude-code-ultimate-guideAgent7.5ktodayCC-BY-SA-4.0A39Claude Code
visualization-agentAlterLab-IEU/AlterLab-Academic-SkillsAgent8619d agoMITA62Claude Code
dev-documentchristopherlouet/claude-baseAgent514d agoMITA64Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code