prompt-translator

prompt-translator is a skill for Claude Code, Codex from cclank/lanshu-awesome-ai-video-kit. It costs 208 tokens per session (3,679 once invoked), scanned A, original, MIT.

A tool that rewrites an existing AI video prompt from one video model's preferred format into another model's format. It uses example prompts comparing the same kinds of scenes across different models.

In plain words
What is it for?
It is for moving prompts between models such as Sora, Kling, Wan, and Veo, and for comparing how the same scene should be described for each one.
Why use it?
Different video models respond better to different prompt structures, so a prompt that works in one may give weaker results in another. This helps adapt the wording when changing models.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for moving prompts between models such as Sora, Kling, Wan, and Veo, and for comparing how the same scene should be described for each one.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cclank/lanshu-awesome-ai-video-kit --skill prompt-translator
Clone the repo
git clone --depth 1 https://github.com/cclank/lanshu-awesome-ai-video-kit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prompt-translator

README.md
[![agentmods](https://agentmods.dev/badge/skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator/github.svg)](https://agentmods.dev/skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator)
Your own site
<a href="https://agentmods.dev/skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator"><img src="https://agentmods.dev/badge/skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-translator

Your own site · 80×15
<a href="https://agentmods.dev/skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator"><img src="https://agentmods.dev/badge/skills/cclank/lanshu-awesome-ai-video-kit/prompt-translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,679 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00208 $0.03679
Opus 5.5 $0.00083 $0.01472
Sonnet 5.5 $0.00042 $0.00736
Haiku 4.5 $0.00021 $0.00368

Measured 1mo ago against content hash 93f461a72823, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prompt-translator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prompt-translator/SKILL.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

prompt-translator

跨模型提示词转换器。关键差异:不是凭 AI 直觉重写,而是查 110 条对照基准做 in-context learning。

何时不用此 skill

  • 用户从零开始写一条新提示词(不是转换) → 用 seedance-prompter / kling-prompter / happyhorse-prompter 或 model-selector
  • 用户问"用哪个模型好" → 用 model-selector
  • 已有提示词出问题但不换模型 → 用 seedance-debugger

核心数据资产

prompts/data/cross-model-matrix.json — 这就是 translator 的"训练数据":

  • 10 个核心场景:产品广告 / 情感重逢 / 滑板动作 / 图生视频 / 多人会议 / 恐怖悬疑 / 自然延时 / 抽象艺术 / 武侠决斗 / 萌宠爆款
  • 每个场景 × 11 模型 = 110 条对照 prompt,每条严格遵循对应模型的官方公式
  • 这构成"同一场景在 11 模型上的最佳写法对照",就是 translator 的查找表

工作流程

步骤 1:接收输入

最少需要:

  • 源模型 (如 Sora 2 / Kling 3.0 / Wan 2.7)
  • 源 prompt (用户的现有提示词)
  • 目标模型 (用户想转到哪个)

可选:

  • 转换偏好(更简洁 / 更详细 / 保留中文)

步骤 2:分析源 prompt 的语义内容

提取核心场景元素(与具体写法风格无关的):

  • 主体(subject):是谁/什么
  • 场景(scene):在哪/什么环境
  • 动作(motion):发生了什么时序事件
  • 情绪(mood):整体氛围
  • 镜头(camera):怎么拍
  • 音频(audio):需要什么声音
  • 对白(dialogue):有无台词
  • 风格(style):视觉锚点

这一步是剥离风格,提取语义。把 Sora 的 Style: → Cinematography: → Actions: 分层结构里的实际内容,抽象成"核心场景描述"。

步骤 3:查 110 条基准对照表找最相似场景

读取 prompts/data/cross-model-matrix.json,在 10 个场景里找与用户输入最相似的 1-2 个场景:

用户输入像... 参考场景
产品旋转 / 静态主体特写 scene-1-perfume
双人对白 / 情感叙事 scene-2-reunion
户外动作 / 物理运动 scene-3-kickflip
图生视频(有参考图) scene-4-i2v-cafe
多人对话 / 室内会议 scene-5-meeting
恐怖悬疑 / 慢推进氛围 scene-6-horror-balloon
自然延时 / 无人景观 scene-7-mountain-sunrise
抽象艺术 / 流体特效 scene-8-liquid-metal
武侠 / 中式打斗 scene-9-wuxia-duel
萌宠 / 病毒短视频 scene-10-surfing-dog

步骤 4:基于相似场景的对照模式,做转换

在 prompt 里给 Claude 这样的 few-shot 模板:

我要把这条 [源模型] 的 prompt 转换成 [目标模型] 的最佳写法。

【参考对照】下面是一个相似场景在两个模型上的对照写法:

[源模型 in scene-N]:
{基准数据中该场景在源模型上的 prompt}

[目标模型 in scene-N]:
{基准数据中该场景在目标模型上的 prompt}

注意观察:
- 字段标签的变化 (e.g. "Cinematography:" → "Camera:" → "镜头:")
- 段落结构的变化 (e.g. 分层 → 5 层 → Entity+Scene+Motion+Sound)
- 措辞密度的变化 (e.g. 100 词 → 30 词 → 中文短句)
- 音频处理的变化 (e.g. "Background Sound:" → "Audio:" → "Sound:")

【用户的源 prompt】
{源 prompt}

【请输出】基于上面对照模式,将用户 prompt 转换为目标模型最佳写法。保留所有语义内容,仅调整结构/标签/措辞。

Read the full file on GitHub · 247 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 247 lines · 208 tokens per session scan A 93f461a72823

Subscribe to this mod's changes

prompt-translator is a skill published in the GitHub repository cclank/lanshu-awesome-ai-video-kit (434 stars, last pushed 20d ago), licensed MIT. It adds 208 tokens to every session and 3,679 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

unity-agent-workflows

Use for AI-assisted Unity work that needs live repo discovery, project-derived routing, runtime-owner proof, runtime-visible output hard stops, runtime numeric proof for repeated visible-output failures, state-step guards, multi-agent scope ownership, modular C#/asmdef safety, UI/scene/visual asset gates, data-first…

hashgraph-online/awesome-codex-plugins · 158 tokens

interpreting-mod-author-instructions

A guide for following a Bethesda mod author's installation instructions, including file choices, prerequisites, and installer options.

hashgraph-online/awesome-codex-plugins · 133 tokens

frontend-patterns

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

hashgraph-online/awesome-codex-plugins · 24 tokens

golang-patterns

Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.

hashgraph-online/awesome-codex-plugins · 27 tokens

using-bgs-archive

Use when the user wants to inspect, list, extract, unpack, or repack Bethesda BA2/BSA archives; determine archive format/version/compression; or build archive assets for an MO2 overlay. Triggers - "unpack BA2", "extract BSA", "pack archive", "inspect archive", "bgs-archive".

hashgraph-online/awesome-codex-plugins · 75 tokens

laravel-tdd

Test-driven development for Laravel with PHPUnit and Pest, factories, database testing, fakes, and coverage targets.

hashgraph-online/awesome-codex-plugins · 27 tokens