subtitle-editor: Creating Video Subtitle Timecode Templates via Keystrokes

Introduction

For videos such as instructional screen recordings and course segments, subtitles often cannot be handled by simple “whole-segment recognition”: scene transition points must align with text segments, and timecodes need to be marked manually while watching the video. Common practices involve dragging the timeline in video editing software or manually typing MM:SS and repeatedly proofreading—a multi-step process prone to frame-level misalignment.

Here, we introduce subtitle-editor (package name subtitle-editor-pro) from SkillHub. It consolidates this workflow into a pure front-end HTML tool: write segmented copy, drag the video into the browser, press the F key to mark points during playback, and finally export a Markdown subtitle template. It also integrates with the video-tutorial-v2 dubbing pipeline by the same author.

What is this

subtitle-editor is an Agent Skill set, centered around tools/subtitle-editor.html in its directory: double-click to open it in a browser, with no separate runtime installation required. The Skill’s self-described version is V3.5.6 (refer to SKILL.md in the package for the 2026-05-14 changelog).

The official API address provided in the task clues is:

https://api.skillhub.cn/user_a5827f21/subtitle-editor-pro

On the SkillHub community side, this Skill is categorized under design-media; the public page shows a rating of approximately 99330 and around 573 downloads (subject to the clues you retrieved). As of the check on 2026-10-21, https://www.skillhub.cn/skills/user_a5827f21/subtitle-editor-pro returned “Skill Not Found”; however, the local skillhub CLI can resolve the package of the same name to @indiv-zhangwei/subtitle-editor-pro v1.0.2 and install it successfully. If you are still using the @user_a5827f21/subtitle-editor-pro prompt, please refer to the SkillHub page or the namespace actually resolved by the CLI.

Core Features

The following capabilities are derived from the SKILL.md and tool descriptions within the installed package; backend services not mentioned in the documentation are not covered.

Key Beat-Marking and Timeline

  1. Play the video and press F at scene transition points: the current time is written as the end time of the current subtitle, and the start point of the next segment automatically follows.
  2. Ctrl+Z undoes the last mark.
  3. Arrow keys ← / →: single click for frame-by-frame stepping; long press for approximately 8x speed browsing (using playbackRate for forward, and large-step seeking for backward).
  4. The Canvas timeline displays colored segments and the playback position; marks and the “Working Directory” are persisted via localStorage.

Text and Export

  1. Supports pasting segmented text numbered 001 / 002 / 003 etc. from a notepad; Enter automatically increments the number and re-orders.
  2. Clicking a subtitle row opens an editing modal to modify text or end times.
  3. Export SMPTE timecode tables: MM:SS,FF (comma separates frame number), example:
| Start Time | End Time | Text Content |
|----------|----------|----------|
| 00:00,00 | 00:00,24 | This video will explain how to make an advanced pen holder. |
| 00:00,24 | 00:02,06 | First, make the base by selecting a cylinder. |
  1. One-click Prompt Generation (the lightning button on the interface): silently downloads the .md, assembles the prompt, and copies it to the clipboard; if a working directory is configured, it validates the absolute path and appends the full file path.

Relationship with Peripheral Skills

  • Can be used in conjunction with video-tutorial-v2: after exporting the template, pass the path to the dubbing pipeline to generate a video with subtitles and voiceover.
  • Can also be used standalone: export the .md and continue manual dubbing in tools like CapCut or Premiere.

Installation and Activation

The Skill follows the general SKILL.md layout: after installation, the Agent reads SKILL.md and guides the user to open tools/subtitle-editor.html when scenarios like “subtitle template,” “timecode,” or “beat-marking” are mentioned.

Install SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, you can execute (excerpt from SkillHub Installation Guide):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install subtitle-editor-pro

During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized. Example for Cursor:

skillhub install subtitle-editor-pro --namespace indiv-zhangwei --dir ~/.cursor/skills/

You can also let the AI operate according to the official installation documentation (common prompt format on the page):

Please install `@user_a5827f21/subtitle-editor-pro` based on https://skillhub.cn/install/skillhub.md.

If the CLI reports “community skill not found,” switch to the indiv-zhangwei namespace mentioned above or search for subtitle-editor on SkillHub first to verify the current entry.

Other client skills directories (from the same installation doc): Claude Code is ~/.claude/skills/; Codex is ~/.codex/skills/ or .agents/skills/ under the project. After installation, restart or refresh the Skill list as required by each client.

Open the Editor

No need to install Node or Python. Open it in the installed skill directory:

<skill-directory>/tools/subtitle-editor.html

Double-click to open; supports dragging in common containers like mp4 / mov / avi / webm / mkv.

Typical Usage

The steps below are consistent with the workflow in SKILL.md and can be reproduced locally.

  1. Write segmented subtitles in a notepad, e.g.:
001. This video will explain how to make an advanced pen holder.
002. First, make the base by selecting a cylinder.
003. Set the base center coordinates (0, 0, 0) by dragging.
  1. Open subtitle-editor.html in the browser; set the Working Directory in the toolbar (project absolute path, validated via a three-layer check to reject illegal paths).
  2. Drag the video into the page, click “Paste Subtitles,” and paste the text.
  3. Play the video and press F at each transition point; use arrow keys for frame-by-frame movement when fine-tuning is needed.
  4. After all marks are complete, click “Export .md” or use One-click Prompt Generation to get the file and clipboard content.
  5. If proceeding with automatic dubbing, load video-tutorial-v2, pass the exported .md path to the Agent, and select the TTS engine and voice according to that Skill.

After loading this Skill, the documentation requires the Agent to proactively explain the above paths and shortcuts to the user, to prevent the user from only “verbally describing time” in the conversation without finding the tool entry point.

Suitable Scenarios and Notes

Who it is for

  • Creation of subtitle templates for instructional videos and course screen recordings that require “marking time points while watching the screen.”
  • Teams already using or planning to use video-tutorial-v2, who want timecode formats consistent with the pipeline (MM:SS,FF table).

Limitations and Notes

  • The tool is pure front-end: handling of large files and codec capabilities depend on the browser; long marking sessions depend on local machine performance and localStorage capacity.
  • External image host screenshot links are written in SKILL.md; if they are inaccessible, it does not affect the use of the local HTML.
  • Namespace and SkillHub page status may change: verify with skillhub search subtitle-editor before installation; if the user_a5827f21 path goes offline, rely on the @indiv-zhangwei/subtitle-editor-pro installable via CLI.
  • The api.skillhub.cn/.../subtitle-editor-pro in the task clues may return 405 or empty responses in some environments; this is a limitation of interface access methods and does not affect skillhub install from fetching the package.

Conclusion

subtitle-editor consolidates “Write Copy → Mark Screen Transitions → Export Machine-Readable Template” into a single line within the browser. It is suitable for scenarios where users do not want to repeatedly drag timelines in editing software but need to align formats with subsequent dubbing Skills. The package is currently self-described as V3.5.6, with the core file being tools/subtitle-editor.html.

Official API Clue Address: https://api.skillhub.cn/user_a5827f21/subtitle-editor-pro
SkillHub Installation Doc: https://skillhub.cn/install/skillhub.md
Community Entry (may prompt offline upon access): https://www.skillhub.cn/skills/user_a5827f21/subtitle-editor-pro

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye