SRT Card Annotator logo

SRT Card Annotator

Community
dean9703111
SRT Card Annotator

This skill should be used when the user asks to "add reference cards to srt", "annotate srt with cards", "insert cards into subtitles", "generate srt with card annotations", "add 字卡 to srt", or needs to add contextual reference cards below subtitle text blocks in SRT files.

Overview

Publisherdean9703111
Repositoryai-agent-skill-for-video-workflow
Skill nameSRT Card Annotator
Stars
219
Forks
49
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dean9703111 on GitHub. Read the source before you install it.

Installation

Install the SRT Card Annotator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dean9703111/ai-agent-skill-for-video-workflow/tree/master/.agent/skills/srt-card-annotator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dean9703111/ai-agent-skill-for-video-workflow.git /tmp/ai-agent-skill-for-video-workflow
mkdir -p .claude/skills
cp -r /tmp/ai-agent-skill-for-video-workflow/.agent/skills/srt-card-annotator .claude/skills/dean9703111-srt-card-annotator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable SRT Card Annotator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads SRT Card Annotator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so SRT Card Annotator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SRT Card Annotator

This skill provides an AI-driven workflow for analyzing SRT subtitle files and adding contextual reference cards below subtitle text blocks. Cards are intelligently selected based on content context and must not modify original timestamps or subtitle text.

Purpose

Enhance SRT subtitle files with reference cards that:

  • Highlight key points, warnings, tips, and structured information
  • Are intelligently placed based on content analysis
  • Follow strict formatting rules: [字卡](word:xxx / type:yyy)
  • Maintain original subtitle timing and text integrity
  • Use contextually appropriate card types from predefined categories

When to Use This Skill

Use this skill when:

  • Adding educational annotations to video subtitles
  • Highlighting key concepts in transcribed content
  • Creating enhanced subtitles with contextual tips and warnings
  • Processing Chinese language educational or instructional videos

Card Structure

Each card follows this format:

[字卡](word:xxx / type:yyy)

Where:

  • word: Key phrase extracted from the subtitle segment (10-16 characters max)
  • type: One of four predefined types (see Card Types section)

Card Types

Reference references/card-types.yaml for complete definitions. Summary:

TypeUsageContext
金色重點Core conclusions, critical insightsMost important takeaway
白色提醒Suggestions, reminders, notesHelpful tips and advice
紅色警告Risks, errors, pitfallsDangers and common mistakes
藍色列點Lists, steps, structured infoSequential or parallel items

Card Selection Principles

  1. Frequency: Minimum 2 cards per 10 subtitle segments
  2. Length: Extract 10-16 character key phrases from segment content
  3. Context-aware: Choose type based on semantic meaning:
    • Risk/error/pitfall → 紅色警告
    • Suggestion/reminder/note → 白色提醒
    • List/steps/sequence → 藍色列點
    • Core conclusion/key insight → 金色重點
  4. Precision: Only annotate truly important information
  5. Integrity: Never modify original timestamps or subtitle text

Core Workflow

1. Load and Parse SRT File

Read the input SRT file and parse into segments:

  • Extract subtitle number
  • Extract timestamp (start → end)
  • Extract subtitle text
  • Preserve exact formatting

2. Analyze Content Semantically

For each subtitle segment, analyze:

  • Semantic meaning and context
  • Presence of key concepts, warnings, or steps
  • Relationship to surrounding segments
  • Importance level

3. Identify Card Insertion Points

Determine where to insert cards:

  • Evaluate each segment for card-worthiness
  • Ensure minimum 2 cards per 10 segments
  • Prioritize segments with:
    • Critical information
    • Warnings or risks
    • Key conclusions
    • Important steps or lists

4. Extract Key Phrases

For selected segments:

  • Extract the most important 10-16 character phrase
  • Ensure phrase is directly from segment content
  • Maintain semantic completeness
  • Avoid truncating mid-concept

5. Classify Card Type

For each extracted phrase, determine type:

  • 紅色警告: Contains risk indicators (錯誤、風險、避免、不要、危險)
  • 白色提醒: Contains suggestions (建議、提醒、注意、可以、記得)
  • 藍色列點: Contains list markers (第一、步驟、包括、分為、有)
  • 金色重點: Contains conclusions (重點、關鍵、核心、總結、最重要)

6. Insert Cards

Add card lines below subtitle text:

1
00:00:00,000 --> 00:00:05,000
這個操作有風險,請小心處理
[字卡](word:操作有風險請小心 / type:紅色警告)

2
00:00:05,000 --> 00:00:10,000
建議先備份資料再進行
[字卡](word:建議先備份資料 / type:白色提醒)

7. Generate Output File

Save the annotated SRT as reference-cards.srt:

  • Maintain all original formatting
  • Preserve subtitle numbering
  • Keep exact timestamps
  • Add card lines only in text blocks

Implementation Guidelines

Reading Card Type Definitions

Before processing, read references/card-types.yaml to understand:

  • Available card types
  • Usage contexts for each type
  • Selection principles
  • Examples of appropriate usage

Processing Strategy

  1. First Pass: Read entire SRT to understand content flow
  2. Second Pass: Identify high-value segments for annotation
  3. Third Pass: Extract phrases and classify types
  4. Final Pass: Insert cards and validate formatting

Quality Checks

Before generating output:

  • Verify minimum card frequency (2 per 10 segments)
  • Confirm all cards use valid types from card-types.yaml
  • Ensure all extracted phrases are 10-16 characters
  • Validate no modifications to original content
  • Check output filename is reference-cards.srt

Example Output

Input SRT:

1
00:00:00,000 --> 00:00:03,500
今天要教大家如何避免常見的錯誤

2
00:00:03,500 --> 00:00:07,000
第一步是檢查系統設定

Output SRT (reference-cards.srt):

1
00:00:00,000 --> 00:00:03,500
今天要教大家如何避免常見的錯誤
[字卡](word:避免常見的錯誤 / type:紅色警告)

2
00:00:03,500 --> 00:00:07,000
第一步是檢查系統設定
[字卡](word:第一步檢查系統設定 / type:藍色列點)

Important Constraints

Must NOT:

  • Modify original subtitle text
  • Change timestamps
  • Alter subtitle numbering
  • Use Python scripts or automation (AI analysis required)
  • Create cards longer than 16 characters
  • Use card types not defined in card-types.yaml

Must DO:

  • Use AI to analyze content semantically
  • Extract phrases directly from subtitle content
  • Choose contextually appropriate card types
  • Maintain minimum card frequency
  • Output to reference-cards.srt
  • Preserve all original SRT formatting

Additional Resources

Reference Files

  • references/card-types.yaml - Complete card type definitions, usage contexts, and selection principles

Workflow Summary

To annotate an SRT file with reference cards:

  1. Read references/card-types.yaml to understand card types
  2. Load and parse the input SRT file
  3. Analyze content to identify key segments
  4. Extract 10-16 character phrases from selected segments
  5. Classify each phrase with appropriate card type
  6. Insert card lines below subtitle text (not modifying original content)
  7. Save output as reference-cards.srt
  8. Validate card frequency, formatting, and type validity

Focus on semantic understanding and contextual appropriateness when selecting card types. The goal is to enhance subtitles with meaningful, concise annotations that help viewers grasp key concepts, avoid pitfalls, and follow structured information.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the SRT Card Annotator AI skill do?

This skill should be used when the user asks to "add reference cards to srt", "annotate srt with cards", "insert cards into subtitles", "generate srt with card annotations", "add 字卡 to srt", or needs to add contextual reference cards below subtitle text blocks in SRT files.

Why use SRT Card Annotator on TypingMind?

Because you install it once and use it with any model. SRT Card Annotator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install SRT Card Annotator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dean9703111/ai-agent-skill-for-video-workflow/tree/master/.agent/skills/srt-card-annotator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use SRT Card Annotator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with SRT Card Annotator?

As many as you like. As long as a model supports skills, you can use SRT Card Annotator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the SRT Card Annotator AI skill free?

It is published on GitHub by dean9703111. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇