/small-model:small-sortfrom small-model
Put a batch of short items (inbox replies, Primebox threads, alerts) in reading order with a small open model on the Vercel AI Gateway: likely replies first, everything else after. Use when a watcher or routine wakes with many items and Claude should read the likely replies first. It only reorders. Every item still comes back and still gets read.
Ships in small-model. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run ${CLAUDE_PLUGIN_ROOT}/scripts/small.py sort from this plugin.
{"id": "...", "text": "..."} per line to a JSONL file outside git. For Primebox, use the full-thread export and sender policy in the plugin README, not list snippets. Both files may hold customer data. Never commit them.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/small.py" sort --labels reply,stop,bounce,ooo,junk --items items.jsonl --max-usd 0.10 --dry--primebox --sender-policy /path/outside/git/policy.json to both commands and keep reply as the first label. Otherwise use the generic command unchanged. A dry-run estimate is not a verified hard ceiling. If live calls are authorized and all runner safeguards hold, drop --dry. Every item comes back as {"id", "label", "confidence", "first"} on stdout, in reading order. Primebox rows add a source of sender_rule or model; the protected senders come first and their bodies are not sent. The spend goes to stderr.Rules:
--labels is the one to put first. Items with that label, and items whose answer couldn't be read, come first. The rest follow in their original order.--max-usd is required. The script stops before any request that could pass it.Recipes for support tickets, LinkedIn DMs and Gmail, with label guides and the sender rule: plugin README, Recipes.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub moxywolfllc/moxywolf-plugins --plugin small-model