Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By 0x7067v0.1.0MITIn 1 marketplace
Shunts I/O-heavy reading to a cheaper worker model. Hooks block large file reads and redirect to a bulk-read script backed by the pi or codex CLI.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that shunts I/O-heavy reading to a cheaper worker model, so a large file corpus never enters Claude's context.
This is an adaptation of Spotify's shunt plugin,
which delegates to AiKA modes through the Portal CLI. This version keeps the hook and skill
design and swaps the transport for a local coding-agent CLI: pi
or codex. It is read-only — the original's
code-writer half is not ported.
Three layers, from hard gate to soft suggestion:
Claude never assembles bash pipelines from prose. It calls a script with named arguments. The scripts handle everything internally.
The corpus travels to the worker on stdin, so there is no payload ceiling to work
around. Everything backend-specific lives in scripts/lib/worker.sh behind a single
shunt_invoke function; the hooks, skills, and bulk-read itself are backend-agnostic.
jq — brew install jqpi (default) — npm i -g @earendil-works/pi-coding-agentcodex — npm i -g @openai/codexperl is used to enforce the invocation timeout, since macOS ships no timeout(1).
timeout or gtimeout are used instead when present.
The repository doubles as a single-plugin marketplace:
claude plugin marketplace add 0x7067/shunt
claude plugin install shunt@shunt
Delegates file reading to the worker model. Files are wrapped in XML tags
(<file path="...">) for clear boundaries.
bulk-read --question "What does this service do?" --paths src/Service.java src/Handler.java
# Follow-up: ask again with the same paths
bulk-read --question "Which methods call the database?" --paths src/Service.java src/Handler.java
The bulk-reader instructions live in scripts/prompts/bulk-reader.md. Edit that file to
change how the worker answers.
The per-session escape hatch. Reachable from Claude as /shunt on|off|status.
shunt-toggle status --session "$CLAUDE_SESSION_ID"
shunt-toggle off --session "$CLAUDE_SESSION_ID"
shunt-toggle on --session "$CLAUDE_SESSION_ID"
off drops a marker in ${SHUNT_STATE_DIR:-~/.cache/shunt}/off/<session-id> that the hooks
check before blocking anything. With no session id available, the marker is named global
and turns shunt off everywhere.
Every delegation stands alone. Nothing is stored on either side, and the only way to carry context across calls would be to replay the corpus — which is the exact cost this plugin exists to avoid. Re-sending files is free where it matters, because they go to the worker model and never enter Claude's context.
Fires on every Read tool call. Blocks full-file reads on files exceeding SHUNT_MIN_LINES
(default: 350). Allows through:
Fires on every Bash tool call. Catches cat, head, tail, less, more on large
files. Allows through:
cat file | grep) — targeted readscat file > out) — not reading into contextgit status, grep, etc.)All settings are environment variables — add them to the env block in
.claude/settings.json.
| Variable | Default | Purpose |
|---|---|---|
SHUNT_BACKEND | pi | Worker CLI to delegate to: pi or codex |
SHUNT_MIN_LINES | 350 | Line count above which the Read hook blocks and redirects |
SHUNT_TIMEOUT_SECONDS | 180 | Ceiling for one delegation |
SHUNT_PI_MODEL | pi's default | --model for the pi backend |
SHUNT_PI_PROVIDER | pi's default | --provider for the pi backend |
SHUNT_CODEX_MODEL | codex's default | -m for the codex backend |
SHUNT_OFF | unset | Set to any value to disable the hooks outright |
SHUNT_STATE_DIR | ~/.cache/shunt | Where the per-session off markers live |
Pick a small, cheap model for the worker. The default for each CLI is whatever that CLI is already configured to use, which may be larger than this job needs.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground