prompt-engineering

Optimize prompts for LLMs, image generators, and video models.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/optioni/dungeons-and-dragons --skill prompt-engineering-optioni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineering
Source: https://github.com/optioni/dungeons-and-dragons/tree/main/.claude/skills/prompt-engineering
Command: npx skills add https://github.com/optioni/dungeons-and-dragons --skill prompt-engineering-optioni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires infsh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of achieving consistent and high-quality outputs from AI models by providing tools and techniques for effective prompt engineering.

Core Features & Use Cases

  • Prompt Engineering Techniques: Offers techniques for LLMs, image generators, and video models, including chain-of-thought, few-shot, system prompts, and negative prompts.
  • Model-Specific Tips: Provides advice for using Claude, GPT-4, Gemini, FLUX, Veo, and Stable Diffusion.
  • Use Case: Enhance the performance of an AI model by optimizing prompts for better results in complex tasks.

Quick Start

Run the infsh app run openrouter/claude-sonnet-45 command with a well-structured prompt for the Claude model.

Frequently Asked Questions about prompt-engineering

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

FAQPage Schema
How do I optimize prompts for different AI models like Claude and Stable Diffusion?

To optimize AI model prompts, apply model-specific techniques such as system prompts for Claude or negative prompts for Stable Diffusion. This ensures consistent, high-quality outputs across LLMs, image generators, and video models.

What prompt engineering techniques improve LLM outputs for complex tasks?

Prompt engineering techniques like chain-of-thought, few-shot, and system prompts improve LLM outputs for complex tasks. These methods provide structured guidance, enhancing the performance of models like GPT-4 and Gemini.

Do I need a specific CLI to run prompt engineering scripts for image generation?

Yes, you need the inference.sh CLI to run prompt engineering scripts. You can execute commands like `infsh app run openrouter/claude-sonnet-45` with well-structured prompts to generate optimized outputs.

What's the best way to structure negative prompts for FLUX and video models?

The best way to structure negative prompts for FLUX and video models is using provided model-specific tips and best practices. This tailors the prompt to effectively guide the image or video generation process.