agentleFS
AgriciDanielAgriciDaniel/claude-prompts/skills/prompt-adapt/SKILL.md

prompt-adapt

Skill110 starsChanged 9 months agoMITView on GitHub

Adapt and convert AI prompts between different models and platforms. Translates between Midjourney, Flux, Leonardo AI, DALL-E, Sora, Imagen, Stable Diffusion, Adobe Firefly, Ideogram, and more. Handles syntax differences, parameter mapping, and model-specific optimizations. Use when user says "adapt prompt", "convert prompt", "translate prompt", "port to flux", "midjourney to dall-e", or "change model".

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Remove --ar, --v, --style, --s, --chaos parameters

    line 39
  2. Very specific:

    Remove :: weight syntax, integrate naturally

    line 42
  3. Very specific:

    Remove all -- parameters

    line 45
  4. Distinctive:

    Remove negative prompts (DALL-E doesn't support them well)

    line 48
  5. Very specific:

    Add --ar for aspect ratio

    line 51
  6. Very specific:

    Add --v 6.1 or appropriate version

    line 52
  7. Very specific:

    Add style parameters (--style raw for photorealistic)

    line 54
  8. Distinctive:

    Add camera movement descriptions (pan, zoom, tracking, etc.)

    line 57
  9. Distinctive:

    Add temporal flow ("the scene transitions from...

    line 58
  10. Distinctive:

    Use Leonardo-specific quality tokens

    line 64
  11. Distinctive:

    Use these as style references for the adaptation.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prompt Adapter

Convert prompts between AI models while preserving intent and maximizing output quality.

Adaptation Workflow

Step 1: Identify Source and Target

Determine:

  1. Source model: What model was this prompt written for?
  2. Target model: What model should it run on?
  3. Priority: Preserve style fidelity or optimize for target strengths?

Step 2: Analyze Source Prompt

Break down the prompt into components:

  • Core subject/action
  • Style modifiers
  • Technical parameters (model-specific)
  • Negative prompts (if any)
  • Aspect ratio / dimensions

Step 3: Apply Model Translation Rules

Load {PROMPT_ENGINE_DIR}/references/model-guide.md for detailed rules. Key translations:

Midjourney -> Flux:

  • Remove --ar, --v, --style, --s, --chaos parameters
  • Expand shorthand into natural language descriptions
  • Flux prefers longer, more descriptive prompts
  • Remove :: weight syntax, integrate naturally

Midjourney -> DALL-E:

  • Remove all -- parameters
  • Rewrite as clear, direct descriptions
  • DALL-E prefers straightforward language over artistic jargon
  • Remove negative prompts (DALL-E doesn't support them well)

Flux -> Midjourney:

  • Add --ar for aspect ratio
  • Add --v 6.1 or appropriate version
  • Condense long descriptions into key phrases
  • Add style parameters (--style raw for photorealistic)

Any -> Sora (Video):

  • Add camera movement descriptions (pan, zoom, tracking, etc.)
  • Add temporal flow ("the scene transitions from... to...")
  • Specify duration if possible
  • Focus on motion and action over static details

Any -> Leonardo AI:

  • Reference specific Leonardo models (Phoenix, Alchemy, etc.)
  • Use Leonardo-specific quality tokens
  • Adapt negative prompts to Leonardo format

Step 4: Search for Target Model Examples

Find reference prompts in the target model:

python3 {PROMPT_ENGINE_DIR}/scripts/search_prompts.py "SUBJECT" --model TARGET_MODEL --limit 3

Use these as style references for the adaptation.

Step 5: Present Adaptation

Output format:

  1. Original prompt (source model labeled)
  2. Adapted prompt (target model labeled)
  3. Translation notes (what changed and why)
  4. Parameter mapping (source params -> target params)
  5. Confidence level (High/Medium/Low -- based on model compatibility)

Common Pitfalls

  • Midjourney weight syntax (::2) has no direct equivalent in most models
  • DALL-E ignores most style parameters -- weave them into descriptions
  • Sora needs temporal language that image models don't use
  • Aspect ratios must be specified differently per platform
  • Some styles only work well on specific models (e.g., --niji is Midjourney-only)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.