跳到正文
原文
Hacker News Show HN· marciob·· 5 小时前AI 评分42

Show HN:在 Claude Code 输入 ++ 让第二个 Claude 先重写你的提示词

Show HN: Type and+ in Claude Code and a second Claude rewrites your prompt first

AI 导读

开源工具 prompt-refiner 通过 UserPromptSubmit hook 拦截以 ++ 开头的提示词,交给一个全新的 headless Claude 结合会话记录改写成一段精确提示词并复制到剪贴板,主 agent 看不到原始提示词。用 ++! 则直接执行改写后的版本,需 Claude Code 2.1 或更高版本,每次改写耗时 5 到 20 秒,采用 MIT 许可。

来源:Hacker News Show HN · github.com