prompt-optimizer

Solid

Use when asked to improve, optimize, rewrite, tune, or port a prompt, skill, or tool description, to build prompt evals, or to audit prompt text for dated instructions. Optimize mode returns a shorter prompt validated on holdout cases; audit mode returns a confidence-ordered findings report and a proposed diff, and applies nothing.

AI & Automation 38 stars 0 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Prompt optimizer ## Contract | Field | Bound contract | |---|---| | Trigger | User asks to improve, optimize, rewrite, tune, or port a prompt, or to audit prompt text for dated instructions | | Authority | Read-only: no file, VCS, credential, paid, published, deployed, or remote mutation. A proposed diff is chat output; applying it is outside this skill. | | Side effect | Chat output returns either an optimized prompt or an audit report plus a proposed diff | | Done | Optimize mode: shorter prompt validated on holdout cases with one owner per behavior rule. Audit mode: every finding names a pattern and a target-model reason, and the diff carries only high- and medium-confidence hunks. | ## Inputs Required: - The source prompt text or document to optimize or audit - The target task or goal the prompt must serve (optimize mode) Optional: - Mode (optional): optimize (default) or audit. Audit when the request names auditing, dated instructions, cruft, or a model migration; optimize otherwise. When a request asks for both, run audit first and report each result separately. - Known failure cases or error patterns from prior runs - Model family or adapter context (e.g., Claude, GPT-4, Gemini); audit mode reads this as the target model - Evaluation criteria the user already accepts ## Procedure ### Optimize mode (default) 1. **Capture the source.** Record the exact prompt text or document. Note any quoted variable slots, numbered steps, conditional branches, or formatting c...

Details

Author
OutlineDriven
Repository
OutlineDriven/odin-claude-plugin
Created
10 months ago
Last Updated
yesterday
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

dhpk-prompt-optimize

Rewrite a raw task prompt into a model-aware, effort-calibrated version before you run it. Use when: the user asks to "optimize this prompt", "improve this prompt for Claude", "what effort should I use", "make this a good API prompt/template", or pastes a rough instruction before a big Claude Code or API task. Detects the target model (current session or a named one), classifies task complexity, recommends an effort level (low/medium/high/xhigh/max, plus the dhpk agent-frontmatter/Claude Code equivalent), asks up to 4 AskUserQuestion questions only for missing required info, then applies model-specific behavioral rewrites. Not for: generic few-shot/CoT/template technique coaching with no model or effort selection (use prompt-engineering-patterns), or auditing token/cache budget (use dhpk-harness-budget). Output: optimized prompt block + effort recommendation with rationale + bullet list of rewrites applied.

2 Updated yesterday
hmj1026
AI & Automation Listed

prompt-optimizer

Optimize LLM prompt templates against an eval harness. Works with autoresearch for overnight prompt optimization. For projects that call LLMs (try-on prompts, chatProxy, MCP tools).

5 Updated 1 weeks ago
Silex-Research
AI & Automation Listed

optimize-prompts

Use this to improve a prompt systematically instead of hand-tweaking it by feel. Trigger on "optimize my prompt", "make this prompt better", "the prompt isn't working well", "auto-tune my prompt", "few-shot example selection", or when prompt quality has plateaued. Optimize against an eval set with a method, and let the numbers pick the winner.

35 Updated 5 days ago
ContextJet-ai