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".
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- prompt-engineSkill
- prompt-buildSkill
- prompt-enhanceSkill
- prompt-librarySkill
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
- Very specific: line 39
Remove --ar, --v, --style, --s, --chaos parameters
- Very specific: line 42
Remove :: weight syntax, integrate naturally
- Very specific: line 45
Remove all -- parameters
- Distinctive: line 48
Remove negative prompts (DALL-E doesn't support them well)
- Very specific: line 51
Add --ar for aspect ratio
- Very specific: line 52
Add --v 6.1 or appropriate version
- Very specific: line 54
Add style parameters (--style raw for photorealistic)
- Distinctive: line 57
Add camera movement descriptions (pan, zoom, tracking, etc.)
- Distinctive: line 58
Add temporal flow ("the scene transitions from...
- Distinctive: line 64
Use Leonardo-specific quality tokens
- Distinctive: line 74
Use these as style references for the adaptation.
≈ “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.
Files
Prompt Adapter
Convert prompts between AI models while preserving intent and maximizing output quality.
Adaptation Workflow
Step 1: Identify Source and Target
Determine:
- Source model: What model was this prompt written for?
- Target model: What model should it run on?
- 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,--chaosparameters - 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
--arfor aspect ratio - Add
--v 6.1or appropriate version - Condense long descriptions into key phrases
- Add style parameters (
--style rawfor 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 3Use these as style references for the adaptation.
Step 5: Present Adaptation
Output format:
- Original prompt (source model labeled)
- Adapted prompt (target model labeled)
- Translation notes (what changed and why)
- Parameter mapping (source params -> target params)
- 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.,
--nijiis Midjourney-only)
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
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.

