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.
npx skills add https://github.com/dean9703111/ai-agent-skill-for-video-workflow --skill 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.
Enhance SRT subtitle files with reference cards that:
字卡Use this skill when:
Each card follows this format:
[字卡](word:xxx / type:yyy)
Where:
Reference references/card-types.yaml for complete definitions. Summary:
| Type | Usage | Context |
|------|-------|---------|
| 金色重點 | Core conclusions, critical insights | Most important takeaway |
| 白色提醒 | Suggestions, reminders, notes | Helpful tips and advice |
| 紅色警告 | Risks, errors, pitfalls | Dangers and common mistakes |
| 藍色列點 | Lists, steps, structured info | Sequential or parallel items |
Read the input SRT file and parse into segments:
For each subtitle segment, analyze:
Determine where to insert cards:
For selected segments:
For each extracted phrase, determine type:
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:白色提醒)
Save the annotated SRT as reference-cards.srt:
Before processing, read references/card-types.yaml to understand:
Before generating output:
card-types.yamlreference-cards.srtInput 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:藍色列點)
card-types.yamlreference-cards.srtreferences/card-types.yaml - Complete card type definitions, usage contexts, and selection principlesTo annotate an SRT file with reference cards:
references/card-types.yaml to understand card typesreference-cards.srtFocus 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.
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take dean9703111/srt card annotator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.