No slash command · from workflows
Routes bulk LLM jobs to the cheapest batch provider (Claude, OpenAI, or Gemini) based on document type, model tier, and cost. Handles per-row extraction, classification, and enrichment over many inputs.
Ships in workflows. 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.
Read when SKILL.md points to them; scripts run unread.
Picks the provider for one batch job and hands off. It never submits: the handoff is to
claude-batch, openai-batch or gemini-vertex, which own the request format, the pilot and the
submission.
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Every bulk LLM job goes through a provider's Batch API (half price), never a loop of synchronous calls
and never an interactive-agent fan-out; one synchronous verify per job is the only sync call. The full
run waits for the pilot's results --input exit 0 and a message from Eddy approving the cost this
router printed. A sync loop that "already works" still costs double, and a fan-out of agents bills the
shared Claude accounts per document.
uv run ${CLAUDE_SKILL_DIR}/scripts/route_batch.py --requests 5000 --in-tokens 3000 --out-tokens 300 \
[--tier cheap|mid|top|frontier | --model <id>] [--needs pdf|vision|audio|video|embeddings|long-context|web-search] \
[--purpose research|consulting|other] [--balance uva=200 --balance nyu=200] [--json]
uv run ${CLAUDE_SKILL_DIR}/scripts/route_batch.py --jsonl requests.jsonl --out-tokens 300 # measured
Model table maintenance: route_batch.py --propose [--json] (advisory: new models the providers serve, newer same-family candidates per tier) and --refresh [--table PATH] (only writer of available, prices, asOf in scripts/batch_models.json; review the diff).
It prints a ranked table with a reason per row and the next command. Document type decides first:
100k tokens/request, flagged automatically) rank Gemini first even when a Claude credit expires tomorrow; Claude and OpenAI rows become fallbacks. Pass
--needsfor every document type the job has.
Text web-search job → Claude. --needs web-search with no document type ranks the usable Claude
rows first (soonest-expiring credit first, then groups 1–3 below); OpenAI and Gemini grounding are
fallbacks. Pass --max-uses (default 3) for the per-row search cap.
Only a text job reaches the credit ranking:
Over a provider's per-batch limit (Claude 100k / 256 MB, OpenAI 50k / 200 MB, Gemini 200k) the row says how many shards. Details, prices and limits: routing rules.
Then invoke the skill the top row names (workflows:claude-batch, workflows:openai-batch or
workflows:gemini-vertex) and follow it: validate exit 0 → one verify → 5–10 row pilot whose
results --input exits 0 → Eddy's yes to the printed cost → full run → results --input exit 0.
vertex_research_project in accounts.toml; --purpose research prints it), never on the AI Studio
GOOGLE_API_KEY. Every Cloud project bills Eddy's personal account (credits first), so pilot and cap
every job. Consulting work needs its own project, never the research
project; until one exists the router says ask Eddy.--balance <account>=<usd> from what Eddy or the Console reported today; without it the
router assumes at most the monthly credit and prints balance UNVERIFIED. Writing a balance into
accounts.toml creates a number that is silently wrong a day later.$BATCH_ACCOUNTS (default ~/.config/batch-router/accounts.toml; shape in
references/accounts.example.toml). This repo is public: org ids, emails and key paths never go in it.credit_linked = true: the ChatGPT Pro credit page
never names Batch. Its batches can queue for hours; not for same-day results.--searches-per-row); a grounded Gemini run once cost
$390 in searches against $30 in tokens, and October 2026 billed 26,344 searches against 5,490 visible.
Pilot every grounded batch and cap it.web_search_20260318 (dynamic filtering, Claude 4.6+; else web_search_20250305), max_uses per row;
results bill as input tokens and usually cost more than the fee, failed searches are free, Batches
throttle search per org, an admin can disable it (400). Web fetch is tokens only. Verified 2026-11-20: the
monthly API credit pays web search fees (~10k input tokens per search, so tokens usually cost more than the $10/1,000 fee).| About to | Do instead |
|---|---|
| Send a text job straight to gemini-vertex out of habit | Run the router; a prepaid Claude credit may be expiring unused |
| Route a PDF, image, audio, embeddings or >100k-token job to Claude to spend expiring credit | Gemini; spend the credit on a text job |
| Send a text web-search job to Gemini grounding | Claude web search; Gemini is the fallback |
Run a research Gemini batch on the AI Studio GOOGLE_API_KEY | Vertex in the research project, --purpose research |
| Bill consulting work to the research project, or create a project for it | Ask Eddy |
| Loop synchronous API calls over the rows | Batch; the only sync call is the one verify |
| Fan out agents or farm rows, one per document | One batch job over pre-cut inputs |
| Submit on the router's word alone | The router never submits; follow the provider skill's pilot and get the go-ahead |
| Quote an UNVERIFIED balance as the real one | Say it is assumed, or ask Eddy for the Console figure |
Create an API key for an org that shows no key | Ask Eddy; he adds the key source to accounts.toml |
references/accounts.example.toml (opens in a new tab)references/routing.md (opens in a new tab)scripts/batch_models.json (opens in a new tab)scripts/batch_refresh.py (opens in a new tab)scripts/batch_router_test.py (opens in a new tab)scripts/batchlib.py (opens in a new tab)scripts/route_batch.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
As a github or url source: Failed to clone repository: fatal: clone of '[email protected]:edwinhu/bmll-skill.git' into submodule path 'skills/bmll' failed
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
86 skills in this plugin
/afkUse when the user says '/afk', 'afk', 'going to bed', 'I'm going to sleep', 'work autonomously', 'work on this overnight', 'don't ask me questions', 'while I'm away', or 'do whatever you think is best'. NOT for questions about overnight returns, rates or anything financial; NOT for asking how the mode works./ai-anti-patternsALWAYS load before finalizing ANY written prose, and whenever text is suspected of being machine-written - "does this sound like AI", "make this sound human", "clean up the AI-isms", "did a bot write this", "check this draft before I send it", "review this for AI tells", "this reads like ChatGPT", "review this for mannered prose", "is this too writerly", "is this student paper AI-generated", or before handing back any draft, memo, email, or article you wrote. Use proactively even if the user never mentions AI writing./Other plugins' skills for the same job