subagent-saver

by Lupus Malus Deviant · ★ 0 · updated 8 days ago

Bandsvalidates

0

Search subagents (Explore) that were given no model of their own run on a cheaper one instead of the main model. An explicit model, forks, teammates and plugin agents stay untouched. With Claude Code's own CLAUDE_CODE_SUBAGENT_MODEL set (for all subagents), the mod stays out.

install subagent-saver

Install

/plugin marketplace add LupusMalusDeviant/claude-mods
/plugin install subagent-saver@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
ui.rendersession.startagent.spawn
API calls
$.env.get$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Can see
subagent spawns
Reach
level 1 of 3 reads env varsreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/LupusMalusDeviant/claude-mods
Path in repo
plugins/subagent-saver
Source commit
8fd44db the exact code the scan read
Author
Lupus Malus Deviant @LupusMalusDeviant
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from LupusMalusDeviant/claude-mods

blast-radius

LupusMalusDeviant/claude-mods

Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would hit.

★ 0PanesBandsGuards

cache-meter

LupusMalusDeviant/claude-mods

Band: time left on the warm cache, hit rate, context as weather with its trend over 12 turns, plan limits, compact and keep-warm buttons; stops one send to a cold cache and names its cost (Cache Tax runs inside).

★ 0BandsStatus lineCommands

ci-watch

LupusMalusDeviant/claude-mods

After every git push, follows the GitHub Actions runs (via gh) until they finish; with an open pull request (also after gh pr create, or /ci pr ) all its checks, other CI included, and whether it is ready to merge. On red it shows the failed step log.

★ 0PanesBandsGuards

handoff

LupusMalusDeviant/claude-mods

/handoff writes a handoff note to .claude/handoff.local.md; a new session offers to continue from it.

★ 0PanesBandsCommands

package-guard

LupusMalusDeviant/claude-mods

Before Claude installs or runs a package (npm, pnpm, yarn, bun, npx, pip, uv, poetry, pipx, cargo), asks the public registry about it. Holds the command when the package does not exist (a made-up name), is under 14 days old, or looks like a well-known package and is young or thin (typosquatting). Allow in the band or with /pkg-allow.

★ 0BandsGuardsCommands

pet

LupusMalusDeviant/claude-mods

A little companion on the Windows desktop, always on top: a cardboard box or one of twelve figures (cat, dog, fox, bunny, hamster, owl, penguin, frog, axolotl, dragon, robot, ghost; cat, dog and bunny in nine coats). It says in a speech bubble what Claude is doing, shows permission requests, and lets you click Claude's questions and Next Steps' suggestions right in the bubble. Drag it...

★ 0ToastsGuardsCommands

read-guard

LupusMalusDeviant/claude-mods

Holds a whole-file Read (no offset/limit) of a file above the limit, a lockfile, minified code or a source map, and the same via cat, type or Get-Content in the shell; tells Claude the size, a token estimate and a better way (Grep, offset/limit). A second try at the same file goes through, and so does a Read with allow_large. Claude Code itself stops only at about 25,000 tokens.

★ 0ToastsGuards

screen-mask

LupusMalusDeviant/claude-mods

For screen sharing and recordings: hides API keys, tokens, private keys, e-mail addresses, IP addresses, your login name in paths and any names you list. Only the display changes; Claude still reads the original. Nothing leaves the machine. /mask switches it.

★ 0BandsReskinsCommands

secret-guard

LupusMalusDeviant/claude-mods

Stops before Claude writes API keys, tokens, private keys or a non-ignored .env into files, git add or commits. Exceptions for test keys and example files: /secret-allow.

★ 0PanesGuardsCommands

sign-guard

LupusMalusDeviant/claude-mods

Spots Windows builds (cargo --release, dotnet publish, go build, pyinstaller, tauri, electron-builder, msbuild) and signs the new .exe/.msi/.msix with your own signing script.

★ 0BandsGuards