Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install lyra@awesome-claude-code-plugins
Open on GitHub

What 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-plugins

Step 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

Similar plugins

All plugins for AI and ML →

From the same set184

The whole set →

Project sponsors

Companies that keep this analytics open