refine-gate
refine-gate is a UserPromptSubmit hook for Claude Code that detects unbound references and ambiguous work requests, then injects a /refine skill to build binding tables, separate symptoms from goals, and select execution strategies from 15 research-backed approaches with counter-evidence. It also runs as a portable Agent Skill on Codex and Gemini CLI, with automatic gating limited to Claude Code and token overhead capped at 400 tokens per injection.
Install
Source: https://github.com/cdeust/session-optimizer/tree/HEAD/plugins/refine-gate
What it's made of
1 skill ยท 1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 1
- 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
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 (cdeust).