Dirtyworkclaude — Development skill for Claude Code
Claude Code skill: dispatch bulk, token-hungry grunt work to cheap API models via claude -p, while your main session stays on subscription.
How to install Dirtyworkclaude
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Kendrick-Stein/dirtyworkclaude and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dirtyworkclaude does
Claude Code skill: dispatch bulk, token-hungry grunt work to cheap API models via claude -p, while your main session stays on subscription.
Alternatives in Development
- Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
- Caveman Claude Skill — Ultra-compressed communication mode for Claude 396 ★
- Claude Code SDK TS — Configure models, enable tools, stream events, then fetch text, JSON, run details or token stats in one call v 206 ★
README
dirtyworkclaude
A [Claude Code](https://claude.com/claude-code) skill that dispatches **grunt work** — bulk, repetitive, token-hungry tasks — to a standalone `claude -p` process running on a **cheap Anthropic-compatible API endpoint**, while your main session keeps its full subscription quota.
┌─────────────────────────┐ ┌──────────────────────────┐
│ main Claude Code session │ │ child: claude -p "..." │
│ (subscription, official │─dirty.sh→│ (cheap endpoint, creds │
│ endpoint — untouched) │ │ scoped to this process) │
└─────────────────────────┘ └──────────────────────────┘
The trick is scope: credentials are injected with `env VAR=... claude -p ...`, so they exist **only in the child process**. Nothing is exported to your shell, nothing is written to `~/.claude/settings.json` — your main session and its subagents never leave the official endpoint.
What it's for
- Sweeping hundreds of files/directories for stats, classification, counting
- Trawling logs for patterns, batch summarization
- Boilerplate and drafts where the quality bar is low
- Any task where "having your subscription model do it is a waste"
And what it's **not** for: evaluation or scoring pinned to a specific judge model — silently swapping the judge makes new scores incomparable with old ones. See [SKILL.md](SKILL.md) for the full rule.
Requirements
- Claude Code CLI (
claude) - An Anthropic-compatible endpoint serving cheap models — e.g. LiteLLM, CLIProxyAPI, claude-code-router, one-api, or a provider's native Anthropic-compatible API
Install
git clone https://github.com/Kendrick-Stein/dirtyworkclaude ~/.claude/skills/dirtyworkclaude
cp ~/.claude/skills/dirtyworkclaude/dirtywork.env.example ~/.claude/dirtywork.env
# edit ~/.claude/dirtywork.env: endpoint URL, API key, default
Related Skills
Subagent Handoff
Local router that keeps Claude Code's main conversation on your subscription while sending subagent traffic to
Claude API Workers
Run Claude Code sub-agents and workflows on your Anthropic API key while your session stays on your Claude pla
Lean Agent
Token-frugal orchestration for Claude Code: a front-desk session that hands work to cheap worker agents, one R
Loom
Orchestrate a fleet of real Claude Code agents on your Claude subscription, not per-token API bills - local-fi
Anthropic Agent SDK Relay
Anthropic Messages API endpoint answered by the Claude Agent SDK, so self-hosted n8n can use a Claude subscrip
Provenance Rollup
Rotate a project's source-history.md entries older than the current month into source-history-YYYY-MM.md archi
Related Agents
Glm Worker
Coding worker on GLM (Zhipu), served by the multi-model gateway's upstream. Use when the user says "use glm",
Fleet Implement Cheap
Bulk or low-stakes implementation on budget or free models: mechanical edits, boilerplate, and large repetitiv
Bulk Reader
Cheap worker for I/O-heavy reading. Use instead of reading large files (>350 lines) or several files into the