Sharpen is a Claude Code and Codex desktop plugin designed to turn short prompts entered by users (such as "fix the login issue") into more precise, actionable prompts. By analyzing conversation context, the codebase, and installed skills, agents, MCP tools, and hooks, it automatically fills in missing information and shows the generated prompt to the user for review before the task is executed.
Main capabilities include:
- Prompt engineering: adds necessary context based on the request type (clear, needs filling, vague) to avoid ambiguity. For vague requests, it offers 2-3 options to choose from.
- Environment awareness: gathers information from the conversation, code searches (up to 3 times, 6 times when vague), and installed skills, agents, MCP tools, and hooks.
- Review card: shows the generated prompt before the task runs, and the user can choose "Send", "Run original prompt", or edit. Claude Code also copies the prompt to the clipboard.
- Ten companion skills: including writing prompts for other AIs, handing off to a new session, splitting large tasks, phased planning, prompt coaching, and more.
- Zero dependencies, fully local: no API calls, no telemetry, all processing done locally.
Usage:
- Installation: requires Claude Code or Codex desktop (with plugin support) and Node.js 18+. For Codex, install through the local marketplace and trust the hooks, then send "sharpen on" to enable. For Claude Code, install via command and restart, then run "/sharpen on" to enable.
- Once enabled, every prompt is processed and a review card is shown before execution. Users can turn it off at any time with "sharpen off".
- Companion skills can be invoked with commands such as "$sharpen-prompt" (Codex) or "/sharpen:sharpen" (Claude Code).
Use cases: suitable for users developing with Claude Code or Codex, especially in scenarios where they want to reduce prompt ambiguity and improve task execution accuracy.
Limitations:
- Only supports Claude Code and Codex desktop; does not support Gemini CLI, GitHub Copilot CLI, or Cursor.
- Requires Node.js 18 or higher.
- The plugin is off by default and must be enabled manually.
- The review card cannot directly replace the input box content; Claude Code achieves a similar function through the clipboard.
- The status badge is limited to the Claude Code terminal.
- No API calls; all processing is done locally, but it relies on the host agent's reasoning capability.