Logo: SRT Card Annotator

SRT Card Annotator

Communautéit
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.

Iwwersiicht

Editeurdean9703111
Repositoryai-agent-skill-for-video-workflow
Skill-NummSRT Card Annotator
Stären
219
Forks
49
Matgeliwwert Dateien
1
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    dean9703111 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill SRT Card Annotator an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/dean9703111/ai-agent-skill-for-video-workflow/tree/master/.agent/skills/srt-card-annotator
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert SRT Card Annotator an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet SRT Card Annotator automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass SRT Card Annotator net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat SRT Card Annotator op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. SRT Card Annotator besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech SRT Card Annotator an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/dean9703111/ai-agent-skill-for-video-workflow/tree/master/.agent/skills/srt-card-annotator an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen SRT Card Annotator benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat SRT Card Annotator benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir SRT Card Annotator domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill SRT Card Annotator gratis?

dean9703111 huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇