01Install
Install /enhance.
Add the plugin to OpenCode in one command. Then tune the persona, rules, and model to match how you work.
02Why /enhance
Sharper prompts, without the ceremony.
- 01
Session-aware
Uses the open session’s model, variant, and context, with no parallel model configuration to keep in sync.
- 02
Yours to configure
Set a role, tone, specialties, rules, examples, and a custom template in user or project config. Leave it alone and the defaults work.
- 03
Clear when it fails
One attempt, a named model, and actionable free-quota guidance. No silent fallback to a model you did not choose.
03Install
One command, then type /enhance.
Add the plugin to OpenCode, reload, and use it from the composer. The plugin reads your existing user and project configuration, so options can live where you already work.
Requires OpenCode v2 and a configured provider. See the README for options, templates, and model overrides.
- Step 01
Run
opencode plugin add opencode-prompt-enhancer. - Step 02
Reload OpenCode, then run
/enhance write a login page with validation. - Step 03
Review the result and press Enter to insert it into the composer.
04Questions
Good to know.
It is an OpenCode TUI command that rewrites a rough draft into a clearer, more specific prompt for an AI coding agent. The result opens in a modal where you can insert it, copy it, or retry.