localize-content
Skill16 starsChanged 5 months agoMITView on GitHub
Produce existing content in more languages — translated copy, re-generated voiceover in the same brand voice, per-language captions and publish packs. Use when the user says "make this in Spanish", "translate my ad", "localize for Thailand", "multi-language version".
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-videoSkill
- content-preflightSkill
- content-reviewSkill
- cost-guardSkill
- create-workflowSkill
- generate-brand-assetsSkill
- generate-imageSkill
- generate-musicSkill
- generate-videoSkill
- generate-voiceoverSkill
- onboard-brandSkill
- package-contentSkill
- plan-contentSkill
- preview-pickSkill
- produce-contentSkill
- qa-reviewSkill
- repurpose-contentSkill
- revise-contentSkill
- write-copySkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Ask once: which languages/markets?
- Very specific: line 32
Use generateText (or translate yourself if fluent) with instructions to:
- Very specific: line 34
Keep the brand tone from brand.md — a warm-casual brand must stay warm-casual in every language.
- Distinctive: line 40
Keep timing: a voiceover script must fit the same video duration — translations run 10-30% longer in many languages, so tighten wording, …
- Distinctive: line 62
Check the voice supports the language (Gemini TTS is multilingual, but listen to the first output before batching the rest).
≈ “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
Localize Content
One piece of content, N markets. The visuals are already paid for — localization re-generates only the cheap layers: script, voiceover (~$0.01), captions (free), and copy. A $10 video becomes 3 markets for ~$0.10.
STEP 1: Scope
Ask once: which languages/markets? Then identify what the piece contains
(check its manifest — see /revise-content STEP 1):
| Layer | Localize how | Cost |
| Script / voiceover | translate → generateVoiceover per language | ~$0.01 each |
| On-screen captions (.srt) | generateCaptions from translated script | free |
| Caption/post copy + hashtags | translate + adapt (see STEP 2) | ~$0.001 |
| Text baked INTO the image/video | can't swap text in-place — flag it | see below |
Baked-in text warning: if the visual has burned-in text (headline on a thumbnail, text overlay in a scene), tell the user up front: that layer needs regeneration per language (
/revise-contentfor that piece, translated prompt). Get approval before this — it's the only expensive part.
STEP 2: Translate like a marketer, not a dictionary
Use generateText (or translate yourself if fluent) with instructions to:
- Keep the brand tone from
brand.md— a warm-casual brand must stay warm-casual in every language. - Transcreate hooks, idioms, and CTAs — a literal pun translation is worse than a new hook with the same intent.
- Respect
restrictions(never_say lists apply in every language; add market-specific legal terms if the user names any). - Keep timing: a voiceover script must fit the same video duration — translations run 10-30% longer in many languages, so tighten wording, don't rush the voice.
- Localize hashtags (research/ask — don't literally translate tags) and numbers/currency formats.
Show the user each translation before generating audio. If they don't read the language, say what you adapted and why.
STEP 3: Regenerate the cheap layers per language
# Voiceover — SAME locked voice id from the asset registry for brand continuity
node workflows/cli.cjs generateVoiceover '{"script":"<translated script>","voiceName":"Kore","outputPath":".../es/voiceover.wav"}'
# Remix onto the existing video (local, free)
node workflows/cli.cjs mixVideoAudio '{"videoPath":".../final.mp4","voiceoverPath":".../es/voiceover.wav","musicPath":".../music.wav","outputPath":".../es/final-es.mp4"}'
# Captions from the translated script (local, free)
node workflows/cli.cjs generateCaptions '{"script":"<translated script>","totalDuration":30,"outputPath":".../es/captions.srt"}'Check the voice supports the language (Gemini TTS is multilingual, but listen to the first output before batching the rest). Non-Latin scripts (Thai, Myanmar, Arabic…): confirm caption font/rendering — see the content-preflight edge-case checklist.
STEP 4: Package per language
/package-content each localized cut into
output-contents/{piece}/publish/{lang}/{platform}/ with the translated
caption, localized hashtags, and link. Then report:
✅ LOCALIZED — summer-ad → ES, TH, MM
es/ final-es.mp4 + captions + IG/TikTok packs $0.011
th/ final-th.mp4 + captions + IG/TikTok packs $0.012
mm/ final-mm.mp4 + captions + FB pack $0.012
Flagged: thumbnail has baked-in English headline — regenerate per language? (~$0.07 each)recordCost the spend. Save translated scripts alongside outputs so future
revisions localize from the same source.
Pipeline-first + prompts.txt (mandatory)
- Author
<content-id>.pipeline.jsonin each language's folder BEFORE generating (nodes = CLI commands — voiceover → mix → captions —{{node.data.field}}refs), thennode workflows/cli.cjs runPipeline @<file>. Seeworkflows/pipelines/README.md. - Each language folder gets a
prompts.txtwith the translated script (audio tags included) and voice params; update it on every retry with a one-line RESULT note.
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.

