Show HN: Type and+ in Claude Code and a second Claude rewrites your prompt first
Category: devtools
Tags: claude-code, prompt-engineering, hooks, ai-workflow, cli-tool
Score: 6.0/10 (Innovation: 6, Technical: 5, Documentation: 8, Utility: 5)
prompt-refiner is a Claude Code hook that intercepts prompts starting with '++' and uses a fresh headless Claude to rewrite them into precise, context-aware prompts before the main agent sees them. It demonstrates a clever composition of existing tools (hooks, headless Claude, clipboard) to improve prompt quality and escape main-agent context bias, with clear documentation and a working demo.
Target audience: Claude Code users, AI engineers, backend developers
Repository: https://github.com/marciob/prompt-refiner · Shell · MIT
View on Hacker News