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.
git clone --depth 1 https://github.com/travsteward/openwriterWrote 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.
[](https://agentmods.dev/agents/travsteward/openwriter/openwriter-sort-minion)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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:
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.
- 1mo ago Changed 51168f28451d
- 3mo ago First seen · 185 lines · 95 tokens per session scan A 9e9fd524e073
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.
openwriter-sort-minion compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openwriter-sort-miniontravsteward/openwriter | Agent | 36 | 13d ago | MIT | A | 95 | Claude Code |
| visual-judgeasgeirtj/system_prompts_leaks | Agent | 74k | yesterday | CC0-1.0 | A | 271 | Claude Code |
| code-documentation-docs-architectwshobson/agents | Agent | 43k | 5d ago | MIT | A | 55 | Claude Code |
| whitepaper-coherenceFlorianBruniaux/claude-code-ultimate-guide | Agent | 7.5k | today | CC-BY-SA-4.0 | A | 39 | Claude Code |
| visualization-agentAlterLab-IEU/AlterLab-Academic-Skills | Agent | 86 | 19d ago | MIT | A | 62 | Claude Code |
| dev-documentchristopherlouet/claude-base | Agent | 5 | 14d ago | MIT | A | 64 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |