prompt-optimizer

Optimize and compose prompts for AI models across system, task-specific, creative, technical, and agentic types.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/nopkhun/KO-STOCK-SYSTEM --skill prompt-optimizer-nopkhun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-optimizer
Source: https://github.com/nopkhun/KO-STOCK-SYSTEM/tree/main/.gemini/skills/prompt-optimizer
Command: npx skills add https://github.com/nopkhun/KO-STOCK-SYSTEM --skill prompt-optimizer-nopkhun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill transforms basic or ineffective AI prompts into highly optimized, precise instructions that yield superior results, saving users time and improving AI output quality.

Core Features & Use Cases

  • Prompt Refinement: Enhances clarity, specificity, and effectiveness of any prompt type.
  • Strategic Optimization: Applies advanced frameworks tailored to system, task-specific, creative, technical, and agentic prompts.
  • Use Case: You have a prompt that generates mediocre creative stories. This Skill can analyze it, restructure it with better creative constraints and examples, and produce a new prompt that generates compelling narratives.

Quick Start

Use the prompt-optimizer skill to refine the following prompt for better code generation: "Write a python script".

Frequently Asked Questions about prompt-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize AI prompts for better generative AI outputs?

To optimize AI prompts, refine the prompt structure by enhancing clarity, specificity, and effectiveness to yield superior results from large language models. This involves restructuring instructions with better constraints and examples tailored to the specific task.

What is the best way to structure system prompts for agentic AI workflows?

The best way to structure system prompts is to apply advanced optimization frameworks tailored specifically for agentic workflows. This refines the prompt composition to ensure the AI model understands its role and executes autonomous tasks effectively.

How do I write effective technical prompts for code generation?

Writing effective technical prompts requires refining basic instructions into precise commands with clear constraints. You can optimize prompts for code generation by restructuring them to explicitly define the desired language, logic, and output format.

Can I use prompt engineering to fix a prompt that generates mediocre creative stories?

Yes, you can use prompt engineering to fix a prompt that generates mediocre creative stories. The optimization process analyzes the original prompt and restructures it with better creative constraints and examples to produce compelling narratives.

What types of LLM prompts can be refined using prompt design techniques?

Prompt design techniques can refine various types of LLM prompts including system, task-specific, creative, technical, and agentic prompts. This refinement addresses user needs for prompt improvement, analysis, and creation across various use cases.

Why does my AI prompt lack specificity and yield poor results?

An AI prompt lacks specificity and yields poor results when its structure and clarity are insufficient for the model to understand the exact requirements. Refining the prompt with targeted constraints and precise instructions resolves this issue.