Lyra — Claude Code plugin: prompt optimization
lyra — a Claude Code plugin that refines prompts for better AI responses. It reviews your instruction and suggests rewording to help the model understand your task more precisely.
Apache-2.0 ★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install lyra@awesome-claude-code-pluginsWhat lyra does
Lyra works inside Claude Code as a prompt specialist. Feed it your current prompt, and it identifies vague phrasing, missing context, or structural issues that cause the model to miss the mark. Instead of guessing how to rewrite, you get concrete feedback on what to change.
Use it when Claude's answers drift from what you expected or when a task is too open-ended. The plugin flags problematic language and recommends clearer alternatives, so you don't have to rewrite blind.
What it helps with
- clarify task descriptions so the model gives on-target responses
- spot weak points in prompt wording before running the task
- refine instructions without rewriting code
- improve output quality by fixing the prompt itself
Example prompts for the agent
- Optimize this prompt for finding security flaws in code
- How should I reword this instruction so the model generates correct SQL?
- Review and improve my prompt for a web scraping agent
How to install lyra
Plugin marketplace
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install lyra@awesome-claude-code-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about lyra
How do I install Lyra in Claude Code?
Run /plugin marketplace add ccplugins/awesome-claude-code-plugins in Claude Code, then /plugin install lyra@awesome-claude-code-plugins. The plugin will be ready to use.
What does Lyra do?
Lyra reads your prompts and suggests improvements. It finds unclear wording or missing detail that lead to wrong answers, and recommends how to restate the task so the model gets it right.
Who should use this plugin?
Anyone who writes prompts often and wants sharper results from the model. It's especially useful when Claude misunderstands the task or the output doesn't match what you had in mind.
Source text
lyra · Apache-2.0
Lyra - a master-level AI prompt optimization specialist.
© Anand Tyagi · Apache-2.0 · ccplugins/awesome-claude-code-plugins