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 snooptheonev0.1.2Apache-2.0In 1 marketplace
Shunts I/O-heavy Claude Code work (bulk file reads, boilerplate generation) to a cheaper model via the agy (Antigravity) CLI, cutting token usage on large reads and predictable codegen.
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 work to a cheaper model, saving tokens on large file reads and boilerplate generation.
Adapted from Spotify's shunt
(Apache-2.0) — see their engineering blog post
for the original idea and design rationale — swapping their internal Portal/AiKA delegation
for the agy (Antigravity) CLI headless mode, so anyone
with agy installed can use it, no internal platform required. See /NOTICE
for exactly what was reused vs. rewritten. Not affiliated with or endorsed by Spotify or
Google.
Three layers, from hard gate to soft suggestion:
agy headlessly and clean up its output.Claude never assembles bash pipelines from prose. It calls a script with named arguments.
The scripts handle everything internally. File contents / specs go to agy's worker model
over stdin and never enter Claude's own context — only the final answer does.
shunt-agy/
├── .claude-plugin/
│ └── plugin.json
├── hooks/
│ ├── hooks.json # PreToolUse matchers for Read and Bash
│ ├── check-file-size # Blocks Read on files > SHUNT_MIN_LINES / SHUNT_MAX_BYTES
│ └── check-bash-read # Blocks cat/head/tail on large files
├── scripts/
│ ├── lib/
│ │ └── worker.sh # Shared agy invocation plumbing
│ ├── bulk-read # Delegates reads to agy
│ └── code-write # Delegates codegen to agy
└── skills/
├── bulk-reader/SKILL.md
└── code-writer/SKILL.md
bulk-read --question "What does this service do?" --paths src/Service.java src/Handler.java
Wraps each file in <file path="..."> XML tags, sends them plus the question to agy in
one headless turn, and prints the answer.
code-write --spec "Write tests for UserService" --reference tests/OrderTest.java --target tests/UserTest.java
--reference is required — without a file to match patterns against, the worker generates
context-free code that fits nothing in the project. Strips a markdown fence wrapped around the
whole output. An existing --target is never overwritten unless you add --force, and the
--reference file is always refused as a target.
Every invocation is a fresh, independent turn — no server-side conversation state to manage, and no follow-up mechanism to worry about. Re-sending files on a follow-up question is free where it matters: the corpus goes to the worker model, never into Claude's context.
Fires on every Read call. Blocks full-file reads on files exceeding SHUNT_MIN_LINES
(default 350) or SHUNT_MAX_BYTES (default 100000, which catches a minified bundle on a
single line). Allows targeted reads (offset/limit set), files under both thresholds,
binary files (images, PDFs — agy can't view them), and nonexistent files through.
Fires on every Bash call. Catches cat/head/tail/less/more on large files (same
line and byte thresholds as the Read hook). Allows
piped commands, redirections, and non-read commands through.
Environment variables — add them to the env block in .claude/settings.json.
| Variable | Default | Purpose |
|---|---|---|
SHUNT_MIN_LINES | 350 | Line count above which the Read/Bash hooks block and redirect |
SHUNT_MAX_BYTES | 100000 | Byte size above which the Read/Bash hooks block and redirect, whatever the line count |
AGY_BIN | agy | Override how the Antigravity CLI is launched |
SHUNT_AGY_MODEL | gemini-3.8-flash-low | Worker model passed to agy --model |
SHUNT_AGY_EFFORT | (unset) | Reasoning effort passed to agy --effort — only set this for models that take effort separately from the model name (the flash models bake it into the name and reject --effort alongside them) |
SHUNT_MAX_PAYLOAD_BYTES | 2000000 | Soft ceiling on message size before refusing to send |
SHUNT_TIMEOUT_SECONDS | 180 | Passed to agy --print-timeout |
SHUNT_MIN_LINES.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.
npx claudepluginhub snooptheone/desu-ai-plugins --plugin shunt-agyPlugins from other owners that cover similar ground