← Browse
oneshot-gate
DylanMerigaud ★ 1
A Claude Code plugin that prevents wasteful token usage by refusing print-mode sessions with all tools disabled before the first API request, incurring zero tokens. It intercepts the UserPromptSubmit hook and checks the process arguments to block one-shot judge/classifier calls that would otherwise carry full harness context to the model.
Install
> /plugin marketplace add DylanMerigaud/trimwrit/tree/HEAD/plugins/oneshot-gate
> /plugin install oneshot-gate
Source: https://github.com/DylanMerigaud/trimwrit/tree/HEAD/plugins/oneshot-gate
What it's made of
1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 1 · UserPromptSubmit
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
python3- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (DylanMerigaud).