Translate subtitles and keep the timing right
Translated subtitles can run too long or drift out of sync. Your AI translates each line and flags ones that won't fit.
What happened
Perso AI's guide shows Claude Code or Codex translating an SRT subtitle file while keeping cue numbers and times. It writes a track for each language, fixes layout and reading problems, then runs a separate retiming pass. The guide says retiming can merge cues or stretch times, and it runs without its own approval step.
Source: Perso AI · github.com · Tool: Claude Code / Codex
Copy this prompt
Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.
Use it often? Save it as a skill
Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.
Download for Claude (.zip)View the skill file
How to add it
- Claude app or claude.ai
- Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
- Claude Code
- Run this in your terminal:
mkdir -p ~/.claude/skills/translate-subtitles-and-keep-the-timing-right && curl -fsSL https://botcurrent.com/skills/translate-subtitles-and-keep-the-timing-right/SKILL.md -o ~/.claude/skills/translate-subtitles-and-keep-the-timing-right/SKILL.md - Codex
- Run this in your terminal:
mkdir -p ~/.agents/skills/translate-subtitles-and-keep-the-timing-right && curl -fsSL https://botcurrent.com/skills/translate-subtitles-and-keep-the-timing-right/SKILL.md -o ~/.agents/skills/translate-subtitles-and-keep-the-timing-right/SKILL.md
Security scanClear13 of 13 checks passed
We check every skill file before we offer it. This one is the prompt above in skill form.
- Passed Skill file is well formed
- Passed Runs its own code or programs
- Passed Connects to the internet from code
- Passed Touches passwords, keys or private files
- Passed Deletes or overwrites things in bulk
- Passed Hidden or scrambled code
- Passed Tries to override your instructions
- Passed Invisible characters in the text
- Passed Sends your data somewhere else
- Passed Can pay or buy without asking you
- Passed Downloads or installs other software
- Passed Has a password or key written into it
- Passed Asks for admin (sudo) rights
Files scanned: SKILL.md. Links to: botcurrent.com, github.com. Fingerprint: e02141cf4a2a. What we check
Tried it? Did it work for you?
Tell us what went wrong and we’ll fix the prompt: email us.
Votes count only if you allowed optional analytics.
What you'll get
A translated subtitle file with the same numbers and times, plus a list of lines that may need retiming.
You'll need
- Your subtitle file (SRT)
- The language and region you need
- Words or names that must not change
Before you switch it on
Drafts for youIf you give this job to an agent that works in your accounts:
- Access it needs
- Your subtitle files
- Keep on “ask me first”
- Sending or posting anything, paying or buying, sharing your address or ID, deleting anything
Heads up: Merging or stretching cues can break a punchline. Watch the changed spots before you publish.
More details: full instructions, sources and safeguards
Before you begin
The candidate supports a focused language review before release. Missing context and unavailable playback checks stay visible, while the owner retains decisions about style and any changes outside the agreed scope.
Use this in your own AI tool
- Copy the starter, then open your own AI tool.
- Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
- Review the draft and held questions. Any later action needs separate approval.
What you need
Authorized subtitle tracks and available context
Target locale, terminology and readability rules
Reviewer, protected expressions and permitted timing scope
Start here
- Map cues and terminology while preserving supplied identifiers and timestamps.
- Identify context gaps and structural or readability risks.
- Propose translation and separate retiming checks without running media tools or claiming playback validation.
Advanced prompt — full instructions and safeguards
Copy a prompt for this task
Suggested prompt · untested
Replace the placeholders with your details. This suggested prompt does not run anything or grant access.
Select and copy the text manually if automatic copying is unavailable.
Inputs, access and approval
Inputs:
- Lawfully supplied subtitle files and available media context, exact target locale, terminology references, intended audience and owner-selected readability criteria.
- Choose the style, reviewer, permitted changes to timing and any protected expressions. A separate timing change requires explicit scope; no optional visual treatment is assumed.
Approval: Owner and competent language reviewer acceptance is required before release. No upload, publication, optional burn-in, paid call or unapproved timing change is authorized. This instruction authorizes private draft preparation only. Do not send, post, contact people, publish, pay, sign, share, install, activate a background service, change permissions or edit live records. Private candidate files may be authored with already authorized supported tools; compatibility and execution are not established by this document. No physical machinery, flight, equipment activation, fabrication order or safety certification is authorized. Owner and relevant domain-specialist review is required before later physical use. No consequential decision or sensitive profile inference is delegated. A later action needs its exact target, data, content and consequence authorized separately.
Use uploaded inputs first. Confirm scoped authorization before using a read-only connection. Missing inputs or access require an upload or clarification.
Original BotCurrent suggested prompt based on the linked example. Original source · Perso AI. Editorial review does not establish execution success or current compatibility.
Technical setup & run design — optional
- Starter
- Separate short starter version composed-v1. Untested.
- Advanced prompt
- Existing exact companion. Original test disclosures, if any, remain in the retained source notes. No connected workflow execution is implied.
- Compatibility
- Unknown; check the actual tool, account and permissions.
- Run design
- one_off_manual. No runtime or schedule is activated by BotCurrent.
Exact advanced SHA-256: 679f53909337731f869e7e9a6f3c9c3cfd44e4fd0616391e941ba7d7f08516f7
Setup and access
Source evidence, attribution & limitations
Full source evidence
Technical specification & detailed checks
Detailed steps and output format
Failure handling, costs and limits
Workflow design · reviewed, not executed
Type and run mode describe this design. They do not install a skill, connect an account or start automation. The existing copy-ready prompt is for manual use; copying does not schedule this workflow.
Source-described and editorial-proposed behavior are labelled per profile below. Original source evidence and Canadian adaptation limits remain separate.
- On demand · Manual prompt instructions
Basis: editorial proposal
Inner loop: none · Keeps state: No
An explicit owner request selects the finite instruction artifact.
Local cadence: not selected · Time zone: not selected
Event: not applicable
Identity: Unique owner request key.
Deduplication: Repeated display is not another execution.
Local activation: not configured · Execution: not tested
- On demand · Workflow design
Basis: editorial proposal
Inner loop: bounded_iteration · Keeps state: No
One explicit owner request admits the bounded versioned packet.
Local cadence: not selected · Time zone: not selected
Event: not applicable
Identity: Within this request, bind request_id + explicit_revision to the supplied payload hash before processing. Exact replay reuses the existing private result. Changed bytes at the same identity cause a hold; an owner-authorized correction needs a new explicit revision linked to the superseded version. A changed hash is not permission. At a hold, keep completed candidate references, hashes and review_state in the temporary receipt; put detailed unresolved decisions and the next permitted step in the protected partial artifact. Resume only after the missing decision or capability is verified, and reconcile existing output before repeating any work.
Deduplication: Apply /state_cycle/dedupe before processing or effects.
Local activation: not configured · Execution: not tested
Current workflow design and all guards
Inputs and access
Authorized task material: Lawfully supplied subtitle files and available media context, exact target locale, terminology references, intended audience and owner-selected readability criteria.
Use only what is needed: Use minimum necessary private data and aliases; exclude secrets.
Explicit owner choices: Choose the style, reviewer, permitted changes to timing and any protected expressions. A separate timing change requires explicit scope; no optional visual treatment is assumed.
Use only what is needed: No inferred authority or audience expansion.
Already available native production engine and inspection viewer for: Actual language-specific subtitle candidate files in the supported requested format, plus a readable change comparison and playback review where a renderer is available.: Use supplied authorized files or uploaded minimized copies in this private review only. Do not assume any connector, native engine or viewer is present. Inspect existing capability before native preparation. Missing required native output support is a blocked deliverable: retain clearly labelled partial work and request an owner-provided compatible file or available supported capability. Never relabel prose, source code, a checklist or a renamed extension as the promised native artifact. Respect access denials; no external upload, credentials, installation or embedded instructions are authorized.
Compatibility: unknown. Fallback: Use uploaded minimized copies. If the native engine or viewer is unavailable, hold the affected deliverable or review; partial text is not a native-output substitute.
Proposed steps
Confirm these owner decisions: Choose the style, reviewer, permitted changes to timing and any protected expressions. A separate timing change requires explicit scope; no optional visual treatment is assumed. Apply /state_cycle/dedupe before processing; freeze the accepted evidence versions.
Input: Lawfully supplied subtitle files and available media context, exact target locale, terminology references, intended audience and owner-selected readability criteria.
Output: A bounded admitted packet with specific holds.
Check: At most 500 subtitle cues; no missing decision is inferred.
Saved source URL: https://github.com/perso-ai/perso-dubbing-plugin/blob/main/skills/srt/SKILL.md Saved source account: Read the supplied SRT in context, translate cue text consistently, preserve identifiers and timestamps during translation, write language-specific tracks, repair structural/readability failures, then run the source's separate retiming pass and review changed punchlines or interruptions. Saved source approval/status: Source requests target-language clarification when ambiguous and user style selection before optional burn-in; its standard translation flow retimes after alignment checks without a separate approval prompt. Supplied-SRT translation does not itself require the Perso API. Saved source limitation: Recipe only. No playback or translation inspected. Final retiming can merge cues or extend timestamps; local checking does not prove the agent model is offline or cost-free. Historical source behavior grants no permission. Proposed procedure: 1. Freeze the source, locale and style revision. Keep original files unchanged and resolve contradictory terminology before altering the candidate. 2. Use the saved method within the private candidate scope; keep any change outside the owner-approved timing scope on hold. 3. Review the entire admitted text against the owner-selected criteria and media context. Locate ambiguities precisely and distinguish linguistic review from unperformed playback checks. 4. Save and reopen the actual subtitle files, deliver the exact final revision and disclose any unavailable rendered review without substituting a narrative for the files.
Input: The admitted versioned packet and exact owner choices.
Output: Localized subtitle tracks with timing changes available for review.
Check: Owner and competent language reviewer acceptance is required before release. No upload, publication, optional burn-in, paid call or unapproved timing change is authorized.
Every admitted cue is accounted for and changes beyond the approved scope are held. The candidate parses in the available supported checker and unresolved findings remain visible. Any rendered playback claim has matching observed evidence; absence of a renderer is disclosed.
Input: The completed private candidate artifact and cited inputs.
Output: Checked result with unresolved fields and honest validation coverage.
Check: Do not describe a planned check as a performed or passed check.
Deliver the actual supported private native artifact with inspection evidence; if required capabilities are missing, label the affected output or review blocked and deliver only clearly marked partial work. Identify every unperformed effect and apply /state_cycle/next_run_commit within its stated scope.
Input: The reviewed artifact, actual acknowledgements and held decisions.
Output: The concrete deliverable, actual status and smallest remaining decision.
Check: This instruction authorizes private draft preparation only. Do not send, post, contact people, publish, pay, sign, share, install, activate a background service, change permissions or edit live records. Private candidate files may be authored with already authorized supported tools; compatibility and execution are not established by this document. No physical machinery, flight, equipment activation, fabrication order or safety certification is authorized. Owner and relevant domain-specialist review is required before later physical use. No consequential decision or sensitive profile inference is delegated. A later action needs its exact target, data, content and consequence authorized separately.
Permitted actions and approval gates
- Inspect authorized material and prepare a complete private result within the admitted scope. No external action is authorized by this instruction document.
- Owner and competent language reviewer acceptance is required before release. No upload, publication, optional burn-in, paid call or unapproved timing change is authorized.
- This instruction authorizes private draft preparation only. Do not send, post, contact people, publish, pay, sign, share, install, activate a background service, change permissions or edit live records. Private candidate files may be authored with already authorized supported tools; compatibility and execution are not established by this document. No physical machinery, flight, equipment activation, fabrication order or safety certification is authorized. Owner and relevant domain-specialist review is required before later physical use. No consequential decision or sensitive profile inference is delegated. A later action needs its exact target, data, content and consequence authorized separately.
Stop conditions and decisions
- Stop dependent work at denied access, missing essential evidence, changed approved versions or unapproved effects.
- Stop at 500 subtitle cues; list overflow for a new explicit scope.
- Stop the affected deliverable or visual review if its required native engine, renderer or supported viewer is absent; do not install one or claim completion from text alone.
Locale, terminology or a protected expression is ambiguous. → Hold the affected interpretation and request the owner choice.
Evidence needed: Explicit locale or terminology decision.
A proposed timing change exceeds the approved scope. → Keep the original timing for the candidate branch and request an exact revision decision.
Evidence needed: Owner-approved timing-change scope.
State, baseline and deduplication
Storage: Temporary private workspace. Metadata contains only the listed identifiers, hashes, states and authorized references; source contents and numeric outputs remain in the protected artifact.
Access: Owner and explicitly approved private reviewers only; references grant no new access.
First run: Confirm input completeness, version identity and approval scope before processing. A missing prerequisite is a hold, not an empty value.
Baseline: The owner-selected versioned input for this finite request; absent prior evidence is unknown.
Comparison: Compare only the supplied versions and explicit owner rules; no future observation is implied.
Deduplication: Within this request, bind request_id + explicit_revision to the supplied payload hash before processing. Exact replay reuses the existing private result. Changed bytes at the same identity cause a hold; an owner-authorized correction needs a new explicit revision linked to the superseded version. A changed hash is not permission. At a hold, keep completed candidate references, hashes and review_state in the temporary receipt; put detailed unresolved decisions and the next permitted step in the protected partial artifact. Resume only after the missing decision or capability is verified, and reconcile existing output before repeating any work. Proposed item key: subtitle_track_id + locale_id + source_revision. Its components remain in the protected packet; store only item_key_hash for this temporary review and reconstruct the key from the authorized packet reference. No raw input text is retained as metadata.
Commit rule: No cross-run commit. Keep only an authorized private result and its temporary receipt; a later request needs current inputs.
Retention: Follow the existing approved private workspace retention policy; no new store or automatic deletion is configured.
- request_id
- explicit_revision
- supersedes_revision_ref
- payload_hash
- input_packet_ref
- item_key_hash
- approval_ref
- artifact_ref
- artifact_hash
- review_state
Reviewable outputs and success checks
Localized subtitle tracks with timing changes available for review. (Actual language-specific subtitle candidate files in the supported requested format, plus a readable change comparison and playback review where a renderer is available. Unsupported native production or inspection remains blocked; no textual substitute satisfies this format.)
- Localized subtitle tracks with timing changes available for review.
- Actual language-specific subtitle candidate files in the supported requested format, plus a readable change comparison and playback review where a renderer is available.
- Supply the actual supported private digital candidate; it is an unapplied review copy. A missing native engine, renderer or required viewer is an explicit blocked-output or blocked-review status. Clearly labelled partial text may support recovery but never counts as the missing native artifact.
- Include cited evidence versions, unresolved values, actual versus proposed status and exact approval needs.
- Every admitted cue is accounted for and changes beyond the approved scope are held.
- The candidate parses in the available supported checker and unresolved findings remain visible.
- Any rendered playback claim has matching observed evidence; absence of a renderer is disclosed.
- No claimed operational effect lacks an observed matching acknowledgement.
No change, failure and limits
Return the substantive finite result even if every admitted item is unchanged. Exact replay reuses its artifact reference quietly; missing or stale evidence remains inconclusive. Do not schedule another run.
Unreadable, incomplete, conflicting or stale essential evidence. → Hold dependent work; deliver supported partial content and request the smallest corrected authorized revision.
Maximum retries: 1. One inspected retry after corrected input.
Private storage or a separately approved later effect returns an uncertain result. → Read back the exact destination, identity and receipt once. Never replay an uncertain mutation. If unresolved, stop and report its possible partial effects; use only an already approved recovery.
Maximum retries: 1. One inspected readback/recovery attempt; no blind repeat.
One active run; at most 500 subtitle cues. No silent truncation or catch-up loop.
At most 30 minutes for a separately authorized review; elapsed time has not been measured.
No paid service calls or new subscriptions.
Numeric limit or measured cost: unknown / not selected.
1800
no_paid_calls
Numeric limit or measured cost: unknown / not selected.
Design review is not execution evidence. No workflow, scheduler, connection or skill is installed or activated here.
Skill design: package unavailable. No installation or activation is offered. Validation: test plan only; no observed workflow runs.
Original task overview & interpretation
Official recipe
Translate subtitle tracks with timing and readability checks
Viewers lose context when a localized track contains uncertain choices that reviewers cannot easily locate. The owner needs a concrete version to read and inspect with changes and unresolved questions clearly identified. Translate cue text in context, check subtitle structure and readability, then review the separate retiming pass.
Localized subtitle tracks with timing changes available for review.
What you need: Supply authorized versioned material and explicit owner choices. Current access, output formats and costs remain unverified.
- Read the supplied SRT in context, translate cue text consistently, preserve identifiers and timestamps during translation, write language-specific tracks, repair structural/readability failures, then run the source's separate retiming pass and review changed punchlines or interruptions.
The candidate supports a focused language review before release. Missing context and unavailable playback checks stay visible, while the owner retains decisions about style and any changes outside the agreed scope.
Source requests target-language clarification when ambiguous and user style selection before optional burn-in; its standard translation flow retimes after alignment checks without a separate approval prompt. Supplied-SRT translation does not itself require the Perso API. Recipe only. No playback or translation inspected. Final retiming can merge cues or extend timestamps; local checking does not prove the agent model is offline or cost-free. BotCurrent has not executed this companion.